Upload train_qwen3_codeforces.py with huggingface_hub
Browse files
train_qwen3_codeforces.py
CHANGED
|
@@ -74,8 +74,8 @@ training_args = SFTConfig(
|
|
| 74 |
bf16=True,
|
| 75 |
max_grad_norm=1.0,
|
| 76 |
|
| 77 |
-
# Dataset formatting
|
| 78 |
-
dataset_text_field="", #
|
| 79 |
packing=False,
|
| 80 |
)
|
| 81 |
|
|
|
|
| 74 |
bf16=True,
|
| 75 |
max_grad_norm=1.0,
|
| 76 |
|
| 77 |
+
# Dataset formatting - use messages format
|
| 78 |
+
dataset_text_field="messages", # Use messages format for chat
|
| 79 |
packing=False,
|
| 80 |
)
|
| 81 |
|