Upload train.py with huggingface_hub
Browse files
train.py
CHANGED
|
@@ -66,7 +66,7 @@ output_dir = "./output/sft-model"
|
|
| 66 |
num_train_epochs = 1
|
| 67 |
per_device_train_batch_size = 1
|
| 68 |
gradient_accumulation_steps = 1
|
| 69 |
-
learning_rate = 2e-4
|
| 70 |
|
| 71 |
"""## Load model and tokenizer"""
|
| 72 |
|
|
|
|
| 66 |
num_train_epochs = 1
|
| 67 |
per_device_train_batch_size = 1
|
| 68 |
gradient_accumulation_steps = 1
|
| 69 |
+
learning_rate = 2e-4
|
| 70 |
|
| 71 |
"""## Load model and tokenizer"""
|
| 72 |
|