Instructions to use RajuEEE/GeneratorModel_SFT_GPT2Large_SmallerQuestion2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RajuEEE/GeneratorModel_SFT_GPT2Large_SmallerQuestion2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2-large") model = PeftModel.from_pretrained(base_model, "RajuEEE/GeneratorModel_SFT_GPT2Large_SmallerQuestion2") - Notebooks
- Google Colab
- Kaggle
Upload config
Browse files- adapter_config.json +1 -1
adapter_config.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"base_model_name_or_path": "gpt2-large",
|
| 5 |
"bias": "none",
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
-
"inference_mode":
|
| 8 |
"init_lora_weights": true,
|
| 9 |
"layers_pattern": null,
|
| 10 |
"layers_to_transform": null,
|
|
|
|
| 4 |
"base_model_name_or_path": "gpt2-large",
|
| 5 |
"bias": "none",
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": false,
|
| 8 |
"init_lora_weights": true,
|
| 9 |
"layers_pattern": null,
|
| 10 |
"layers_to_transform": null,
|