philschmid HF staff commited on
Commit
7c9f7d5
1 Parent(s): 0c1fecf

Update trl-lora.py

Browse files
Files changed (1) hide show
  1. trl-lora.py +1 -1
trl-lora.py CHANGED
@@ -64,7 +64,7 @@ trainer = SFTTrainer(
64
  tokenizer=tokenizer,
65
  packing=True,
66
  dataset_kwargs={
67
- "add_special_tokens": True, # make sure we add <bos> and <eos> tokens
68
  "append_concat_token": False, # make sure to not add additional tokens when packing
69
  }
70
  )
 
64
  tokenizer=tokenizer,
65
  packing=True,
66
  dataset_kwargs={
67
+ "add_special_tokens": False, # <bos> and <eos> should be part of the dataset.
68
  "append_concat_token": False, # make sure to not add additional tokens when packing
69
  }
70
  )