Spaces:
Running
Running
removes padding argument in data.py
Browse files
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"):
|