Spaces:
Build error
Build error
Create configs/model_config.yaml
Browse files- configs/model_config.yaml +21 -0
configs/model_config.yaml
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
name: "meta-llama/Llama-2-8b-chat-hf"
|
| 3 |
+
max_length: 2048
|
| 4 |
+
|
| 5 |
+
training:
|
| 6 |
+
batch_size: 4
|
| 7 |
+
learning_rate: 2e-5
|
| 8 |
+
num_epochs: 3
|
| 9 |
+
save_every: 1000
|
| 10 |
+
seed: 42
|
| 11 |
+
|
| 12 |
+
data:
|
| 13 |
+
train_path: "data/processed/train"
|
| 14 |
+
val_path: "data/processed/val"
|
| 15 |
+
test_path: "data/processed/test"
|
| 16 |
+
|
| 17 |
+
generation:
|
| 18 |
+
max_length: 512
|
| 19 |
+
temperature: 0.7
|
| 20 |
+
top_k: 50
|
| 21 |
+
top_p: 0.95
|