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
#3
by albertvillanova HF Staff - opened
- adapter_config.json +3 -3
- adapter_model.safetensors +1 -1
adapter_config.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
| 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,
|
|
@@ -32,8 +32,8 @@
|
|
| 32 |
"rank_pattern": {},
|
| 33 |
"revision": null,
|
| 34 |
"target_modules": [
|
| 35 |
-
"
|
| 36 |
-
"
|
| 37 |
],
|
| 38 |
"target_parameters": null,
|
| 39 |
"task_type": null,
|
|
|
|
| 14 |
"exclude_modules": null,
|
| 15 |
"fan_in_fan_out": false,
|
| 16 |
"inference_mode": true,
|
| 17 |
+
"init_lora_weights": false,
|
| 18 |
"layer_replication": null,
|
| 19 |
"layers_pattern": null,
|
| 20 |
"layers_to_transform": null,
|
|
|
|
| 32 |
"rank_pattern": {},
|
| 33 |
"revision": null,
|
| 34 |
"target_modules": [
|
| 35 |
+
"q_proj",
|
| 36 |
+
"v_proj"
|
| 37 |
],
|
| 38 |
"target_parameters": null,
|
| 39 |
"task_type": null,
|
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
|