Instructions to use trl-internal-testing/tiny-PeftModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use trl-internal-testing/tiny-PeftModel with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("trl-internal-testing/tiny-PeftModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload PeftModel
#1
by albertvillanova HF Staff - opened
- adapter_config.json +10 -5
- adapter_model.safetensors +1 -1
adapter_config.json
CHANGED
|
@@ -14,7 +14,8 @@
|
|
| 14 |
"exclude_modules": null,
|
| 15 |
"fan_in_fan_out": false,
|
| 16 |
"inference_mode": true,
|
| 17 |
-
"init_lora_weights":
|
|
|
|
| 18 |
"layer_replication": null,
|
| 19 |
"layers_pattern": null,
|
| 20 |
"layers_to_transform": null,
|
|
@@ -22,23 +23,27 @@
|
|
| 22 |
"lora_alpha": 8,
|
| 23 |
"lora_bias": false,
|
| 24 |
"lora_dropout": 0.0,
|
|
|
|
| 25 |
"megatron_config": null,
|
| 26 |
"megatron_core": "megatron.core",
|
| 27 |
"modules_to_save": null,
|
|
|
|
| 28 |
"peft_type": "LORA",
|
| 29 |
-
"peft_version": "0.
|
| 30 |
"qalora_group_size": 16,
|
| 31 |
"r": 8,
|
| 32 |
"rank_pattern": {},
|
| 33 |
"revision": null,
|
| 34 |
"target_modules": [
|
| 35 |
-
"
|
| 36 |
-
"
|
| 37 |
],
|
| 38 |
"target_parameters": null,
|
| 39 |
"task_type": null,
|
| 40 |
"trainable_token_indices": null,
|
|
|
|
| 41 |
"use_dora": false,
|
| 42 |
"use_qalora": false,
|
| 43 |
-
"use_rslora": false
|
|
|
|
| 44 |
}
|
|
|
|
| 14 |
"exclude_modules": null,
|
| 15 |
"fan_in_fan_out": false,
|
| 16 |
"inference_mode": true,
|
| 17 |
+
"init_lora_weights": false,
|
| 18 |
+
"kasa_config": null,
|
| 19 |
"layer_replication": null,
|
| 20 |
"layers_pattern": null,
|
| 21 |
"layers_to_transform": null,
|
|
|
|
| 23 |
"lora_alpha": 8,
|
| 24 |
"lora_bias": false,
|
| 25 |
"lora_dropout": 0.0,
|
| 26 |
+
"lora_ga_config": null,
|
| 27 |
"megatron_config": null,
|
| 28 |
"megatron_core": "megatron.core",
|
| 29 |
"modules_to_save": null,
|
| 30 |
+
"monteclora_config": null,
|
| 31 |
"peft_type": "LORA",
|
| 32 |
+
"peft_version": "0.20.1.dev0@UNKNOWN",
|
| 33 |
"qalora_group_size": 16,
|
| 34 |
"r": 8,
|
| 35 |
"rank_pattern": {},
|
| 36 |
"revision": null,
|
| 37 |
"target_modules": [
|
| 38 |
+
"q_proj",
|
| 39 |
+
"v_proj"
|
| 40 |
],
|
| 41 |
"target_parameters": null,
|
| 42 |
"task_type": null,
|
| 43 |
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
"use_dora": false,
|
| 46 |
"use_qalora": false,
|
| 47 |
+
"use_rslora": false,
|
| 48 |
+
"velora_config": null
|
| 49 |
}
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 51208
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce9cdf9bc13dab71de97d2fc3df0b7cc159d8ba5fb9521cf5d8128368dff0b63
|
| 3 |
size 51208
|