Hugging Face Forums
Error using SFTTrainer: Make sure that your dataset has enough samples to at least yield one packed sequence
Beginners
sc4r3cr0w
May 9, 2024, 12:57pm
7
Just remove the packing=True argument from the SFTTrainer
Model responses are random ignoring my dataset
show post in topic
Related topics
Topic
Replies
Views
Activity
Unable to create tensor, you should probably activate truncation and/or padding with 'padding=True' 'truncation=True'
🤗Transformers
2
982
July 24, 2024
SFTTrainer work but without result
Beginners
1
239
October 13, 2025
Fine tuning LLM for text classification -- error with SFTTrainer
Intermediate
2
1492
June 3, 2025
Can only automatically infer lengths for datasets whose items are dictionaries with an 'input_ids' key
🤗Transformers
0
676
May 30, 2024
Packing issue, SFTTrainer
🤗Transformers
0
388
November 10, 2023