moos124 commited on
Commit
fb159f8
·
verified ·
1 Parent(s): 04626b3

Upload train.py

Browse files
Files changed (1) hide show
  1. train.py +0 -1
train.py CHANGED
@@ -13,7 +13,6 @@ HUB_MODEL_ID = "moos124/qwen-coder-multilingual-sft"
13
 
14
  def preprocess_function(example):
15
  # Convert Alpaca format to ChatML format
16
- # dataset columns: instruction, input, output
17
  user_content = example["instruction"]
18
  if example.get("input"):
19
  user_content += f"\n\nInput: {example['input']}"
 
13
 
14
  def preprocess_function(example):
15
  # Convert Alpaca format to ChatML format
 
16
  user_content = example["instruction"]
17
  if example.get("input"):
18
  user_content += f"\n\nInput: {example['input']}"