Instructions to use k1h0/codellama-7b-ia3-java with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use k1h0/codellama-7b-ia3-java with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf") model = PeftModel.from_pretrained(base_model, "k1h0/codellama-7b-ia3-java") - Notebooks
- Google Colab
- Kaggle
File size: 408 Bytes
5890030 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | {
"auto_mapping": null,
"base_model_name_or_path": "codellama/CodeLlama-7b-hf",
"exclude_modules": null,
"fan_in_fan_out": false,
"feedforward_modules": [
"down_proj"
],
"inference_mode": true,
"init_ia3_weights": true,
"modules_to_save": null,
"peft_type": "IA3",
"revision": null,
"target_modules": [
"k_proj",
"down_proj",
"v_proj"
],
"task_type": "CAUSAL_LM"
} |