Instructions to use crumb/Instruct-GPT-J with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use crumb/Instruct-GPT-J with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("crumb/Instruct-GPT-J", device_map="auto") - PEFT
How to use crumb/Instruct-GPT-J with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- adapter_config.json +4 -2
- adapter_model.bin +2 -2
adapter_config.json
CHANGED
|
@@ -9,10 +9,12 @@
|
|
| 9 |
"merge_weights": false,
|
| 10 |
"modules_to_save": null,
|
| 11 |
"peft_type": "LORA",
|
| 12 |
-
"r":
|
| 13 |
"target_modules": [
|
| 14 |
"q_proj",
|
| 15 |
-
"v_proj"
|
|
|
|
|
|
|
| 16 |
],
|
| 17 |
"task_type": "CAUSAL_LM"
|
| 18 |
}
|
|
|
|
| 9 |
"merge_weights": false,
|
| 10 |
"modules_to_save": null,
|
| 11 |
"peft_type": "LORA",
|
| 12 |
+
"r": 4,
|
| 13 |
"target_modules": [
|
| 14 |
"q_proj",
|
| 15 |
+
"v_proj",
|
| 16 |
+
"k_proj",
|
| 17 |
+
"out_proj"
|
| 18 |
],
|
| 19 |
"task_type": "CAUSAL_LM"
|
| 20 |
}
|
adapter_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3ac764ea0176f58e75fbb48e13dadc6e3023c11ed5e494a7f977fdb2dfe3241
|
| 3 |
+
size 14759693
|