Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tokenizing labels #214

Merged
merged 4 commits into from
Jun 15, 2023
Merged

Fix tokenizing labels #214

merged 4 commits into from
Jun 15, 2023

Conversation

winglian
Copy link
Collaborator

when tokening the full prompt and then changing the labels by tokenizing the system and instruction only, leads to potential off by one errors on the labels depending on whitespace. This simply tokenizes them separately like we do for chat

@winglian winglian merged commit 1925eaf into main Jun 15, 2023
@winglian winglian deleted the fix-tokenizing-labels branch June 15, 2023 12:13
mkeoliya pushed a commit to mkeoliya/axolotl that referenced this pull request Dec 15, 2023
…/fix-tokenizing-labels

Fix tokenizing labels
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