Instructions to use q-future/q-align-cgi-lora-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use q-future/q-align-cgi-lora-1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("q-future/one-align") model = PeftModel.from_pretrained(base_model, "q-future/q-align-cgi-lora-1") - Notebooks
- Google Colab
- Kaggle
| { | |
| "crop_size": 448, | |
| "do_center_crop": true, | |
| "do_normalize": true, | |
| "do_resize": true, | |
| "feature_extractor_type": "CLIPFeatureExtractor", | |
| "image_mean": [ | |
| 0.48145466, | |
| 0.4578275, | |
| 0.40821073 | |
| ], | |
| "image_std": [ | |
| 0.26862954, | |
| 0.26130258, | |
| 0.27577711 | |
| ], | |
| "resample": 3, | |
| "size": 448 | |
| } | |