papebaba commited on
Commit
8ef6f5a
·
verified ·
1 Parent(s): 74e3f10

Upload train_qwen_codeforces.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. 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 {"text": text}
35
- return {"text": ""}
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(