-
Notifications
You must be signed in to change notification settings - Fork 118
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
Conversation
- 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
default: | ||
tokenizerData = discardUnhandledMerges(tokenizerData: tokenizerData) | ||
} | ||
} |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are now entries in knownTokenizers:
"revision" : "564442fba36b0b694d730a62d0593e5f54043b55", | ||
"version" : "0.1.2" | ||
"branch" : "main", | ||
"revision" : "24605a8c0cc974bec5b94a6752eb687bae77db31" |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this 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!
swift-tokenizers is getting a lot of updates and fixes, let's track main for now
remove some workarounds that are no longer needed
tokenizer suggestions huggingface/swift-transformers#63