Instructions to use oof-baroomf/MuseGPT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use oof-baroomf/MuseGPT with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-40b") model = PeftModel.from_pretrained(base_model, "oof-baroomf/MuseGPT") - Notebooks
- Google Colab
- Kaggle
Commit ·
cc87d58
1
Parent(s): 1ae9cd9
Update adapter_config.json
Browse files- adapter_config.json +0 -6
adapter_config.json
CHANGED
|
@@ -12,11 +12,5 @@
|
|
| 12 |
"peft_type": "LORA",
|
| 13 |
"r": 64,
|
| 14 |
"revision": null,
|
| 15 |
-
"target_modules": [
|
| 16 |
-
"query_key_value",
|
| 17 |
-
"dense",
|
| 18 |
-
"dense_h_to_4h",
|
| 19 |
-
"dense_4h_to_h"
|
| 20 |
-
],
|
| 21 |
"task_type": "CAUSAL_LM"
|
| 22 |
}
|
|
|
|
| 12 |
"peft_type": "LORA",
|
| 13 |
"r": 64,
|
| 14 |
"revision": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
"task_type": "CAUSAL_LM"
|
| 16 |
}
|