Instructions to use chYassine/AMAN with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use chYassine/AMAN with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "chYassine/AMAN") - Notebooks
- Google Colab
- Kaggle
Upload training_config.json with huggingface_hub
Browse files- training_config.json +9 -0
training_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"teacher_model": "chYassine/Base-AMAN",
|
| 3 |
+
"student_model": "Qwen/Qwen2-0.5B-Instruct",
|
| 4 |
+
"lora_r": 16,
|
| 5 |
+
"lora_alpha": 32,
|
| 6 |
+
"temperature": 4.0,
|
| 7 |
+
"alpha": 0.5,
|
| 8 |
+
"max_seq_len": 512
|
| 9 |
+
}
|