Instructions to use OIOAZ/capitale with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use OIOAZ/capitale with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("decapoda-research/llama-7b-hf") model = PeftModel.from_pretrained(base_model, "OIOAZ/capitale") - Notebooks
- Google Colab
- Kaggle
Update adapter_config.json
Browse files- adapter_config.json +3 -5
adapter_config.json
CHANGED
|
@@ -1,20 +1,18 @@
|
|
| 1 |
{
|
| 2 |
"base_model_name_or_path": "decapoda-research/llama-7b-hf",
|
| 3 |
"bias": "none",
|
|
|
|
| 4 |
"fan_in_fan_out": false,
|
| 5 |
"inference_mode": true,
|
| 6 |
-
"init_lora_weights": true,
|
| 7 |
-
"layers_pattern": null,
|
| 8 |
-
"layers_to_transform": null,
|
| 9 |
"lora_alpha": 16,
|
| 10 |
"lora_dropout": 0.05,
|
|
|
|
| 11 |
"modules_to_save": null,
|
| 12 |
"peft_type": "LORA",
|
| 13 |
"r": 8,
|
| 14 |
-
"revision": null,
|
| 15 |
"target_modules": [
|
| 16 |
"q_proj",
|
| 17 |
"v_proj"
|
| 18 |
],
|
| 19 |
"task_type": "CAUSAL_LM"
|
| 20 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
"base_model_name_or_path": "decapoda-research/llama-7b-hf",
|
| 3 |
"bias": "none",
|
| 4 |
+
"enable_lora": null,
|
| 5 |
"fan_in_fan_out": false,
|
| 6 |
"inference_mode": true,
|
|
|
|
|
|
|
|
|
|
| 7 |
"lora_alpha": 16,
|
| 8 |
"lora_dropout": 0.05,
|
| 9 |
+
"merge_weights": false,
|
| 10 |
"modules_to_save": null,
|
| 11 |
"peft_type": "LORA",
|
| 12 |
"r": 8,
|
|
|
|
| 13 |
"target_modules": [
|
| 14 |
"q_proj",
|
| 15 |
"v_proj"
|
| 16 |
],
|
| 17 |
"task_type": "CAUSAL_LM"
|
| 18 |
+
}
|