Tonic commited on
Commit
9a7a5af
·
verified ·
1 Parent(s): c740b39

removes padding argument in data.py

Browse files
Files changed (1) hide show
  1. data.py +0 -1
data.py CHANGED
@@ -263,7 +263,6 @@ class SmolLM3Dataset:
263
  mlm=False, # We're doing causal LM, not masked LM
264
  pad_to_multiple_of=8, # Pad to multiple of 8 for efficiency
265
  return_tensors="pt", # Ensure we return PyTorch tensors
266
- padding=True, # Enable padding
267
  )
268
 
269
  def create_sample_dataset(output_path: str = "my_dataset"):
 
263
  mlm=False, # We're doing causal LM, not masked LM
264
  pad_to_multiple_of=8, # Pad to multiple of 8 for efficiency
265
  return_tensors="pt", # Ensure we return PyTorch tensors
 
266
  )
267
 
268
  def create_sample_dataset(output_path: str = "my_dataset"):