Skip to content

Fix/patch tokenizer#1171

Merged
danielhanchen merged 3 commits into
unslothai:mainfrom
Erland366:fix/patch-tokenizer
Oct 23, 2024
Merged

Fix/patch tokenizer#1171
danielhanchen merged 3 commits into
unslothai:mainfrom
Erland366:fix/patch-tokenizer

Conversation

@Erland366

Copy link
Copy Markdown
Collaborator

negation placed incorrectly, therefore it introduce NoneType object is not callable since if None, it goes to the else part

image

@danielhanchen danielhanchen merged commit f6a661f into unslothai:main Oct 23, 2024
@Erland366 Erland366 deleted the fix/patch-tokenizer branch October 24, 2024 19:15
abiswas-realadvice pushed a commit to abiswas-realadvice/unsloth that referenced this pull request May 14, 2026
* fix: correct tokenizer handling in patch_sft_trainer_tokenizer

* Revert "fix: correct tokenizer handling in patch_sft_trainer_tokenizer"

This reverts commit 7a98e46.

* fix: correct condition for test_text assignment in patch_sft_trainer_tokenizer
ayoubzulfiqar pushed a commit to ayoubzulfiqar/unsloth that referenced this pull request Jun 11, 2026
* fix: correct tokenizer handling in patch_sft_trainer_tokenizer

* Revert "fix: correct tokenizer handling in patch_sft_trainer_tokenizer"

This reverts commit 7a98e46.

* fix: correct condition for test_text assignment in patch_sft_trainer_tokenizer
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