Upload train_qwen_codeforces.py with huggingface_hub
Browse files- train_qwen_codeforces.py +2 -2
train_qwen_codeforces.py
CHANGED
|
@@ -31,8 +31,8 @@ def formatting_func(example):
|
|
| 31 |
tokenize=False,
|
| 32 |
add_generation_prompt=False
|
| 33 |
)
|
| 34 |
-
return
|
| 35 |
-
return
|
| 36 |
|
| 37 |
# LoRA configuration for efficient training
|
| 38 |
peft_config = LoraConfig(
|
|
|
|
| 31 |
tokenize=False,
|
| 32 |
add_generation_prompt=False
|
| 33 |
)
|
| 34 |
+
return text
|
| 35 |
+
return ""
|
| 36 |
|
| 37 |
# LoRA configuration for efficient training
|
| 38 |
peft_config = LoraConfig(
|