Skip to content

Update unsloth-cli.py - #2985

Merged
danielhanchen merged 1 commit into
unslothai:mainfrom
qgallouedec:patch-2
Jul 17, 2025
Merged

danielhanchen merged 1 commit into
unslothai:mainfrom
qgallouedec:patch-2

Conversation

@qgallouedec

Copy link
Copy Markdown
Contributor
  • We now use SFTConfig (subclass of TrainingArguments)
  • max_seq_length was renamed max_length
  • tokenizer was renamed processing_class
  • dataset_text_field is "text" by default
  • max_length, dataset_text_field, dataset_num_proc and packing are all now arguments of SFTConfig, not SFTTrainer

@danielhanchen

Copy link
Copy Markdown
Member

Thank you!

@danielhanchen
danielhanchen merged commit 47c38c9 into unslothai:main Jul 17, 2025
abiswas-realadvice pushed a commit to abiswas-realadvice/unsloth that referenced this pull request May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants