Instructions to use Aditya02/Llama_MultiModal_Text with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Aditya02/Llama_MultiModal_Text with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("huggyllama/llama-7b") model = PeftModel.from_pretrained(base_model, "Aditya02/Llama_MultiModal_Text") - Notebooks
- Google Colab
- Kaggle
| { | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "huggyllama/llama-7b", | |
| "bias": "none", | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "lora_alpha": 16, | |
| "lora_dropout": 0.5, | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 8, | |
| "revision": null, | |
| "target_modules": [ | |
| "q_proj", | |
| "v_proj", | |
| "o_proj", | |
| "k_proj" | |
| ], | |
| "task_type": "CAUSAL_LM" | |
| } |