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

switch swift-tokenizers to main, remove some workarounds #26

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

davidkoski
Copy link
Collaborator

- swift-tokenizers is getting a lot of updates and fixes, let's track main for now
- remove some workarounds that are no longer needed

- huggingface/swift-transformers#63
@davidkoski davidkoski requested a review from awni March 14, 2024 16:00
default:
tokenizerData = discardUnhandledMerges(tokenizerData: tokenizerData)
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// overrides for TokenizerModel/knownTokenizers
let replacementTokenizers = [
"CodeLlamaTokenizer": "LlamaTokenizer",
"GemmaTokenizer": "PreTrainedTokenizer",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"revision" : "564442fba36b0b694d730a62d0593e5f54043b55",
"version" : "0.1.2"
"branch" : "main",
"revision" : "24605a8c0cc974bec5b94a6752eb687bae77db31"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switch to main of swift-transformers, track a particular commit hash (the current head) -- we can move this forward as changes come in.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just pushed tag 0.1.3 in case it helps.

Copy link
Member

@awni awni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ all that red, thanks!

PS thanks @pcuenca for the quick turn-around fixes on Swift Transformers!

@davidkoski davidkoski merged commit 0af2efe into main Mar 14, 2024
3 checks passed
@davidkoski davidkoski deleted the swift-transformers branch March 14, 2024 20:19
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.

3 participants