Skip to content

Revert "[hf] Add new features to HF tokenizer" #90

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

Closed
wants to merge 1 commit into from

Conversation

jackzhxng
Copy link
Contributor

This is causing

(tr4) [jackzhxng@devvm12068.nha0 ~/tr4/executorch (main)]$ cmake-out/examples/models/llama/llama_main --model_path qwen3_0_6b_new.pte --tokenizer_path ~/hf/models--Qwen--Qwen3-0.6B/snapshots/a9c98e602b9d36d2a2f7ba1eb0f5f31e4e8e5143/tokenizer.json --prompt="Who is th
e president of the US?"                                                                                                                                                                                                                                                   
I tokenizers:regex.cpp:27] Registering override fallback regex                                                                                                                                                                                                            
I tokenizers:regex.cpp:27] Registering override fallback regex                                                                                                                                                                                                            
Setting up pretokenizer...                                                                                                                                                                                                                                                terminate called after throwing an instance of 'std::runtime_error'                                                                                                                                                                                                       
  what():  Unsupported behavior 'Isolated' for Split PreTokenizer. Only 'MergedWithPrevious' is supported.    

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 2, 2025
@jackzhxng
Copy link
Contributor Author

@larryliu0820 will try to fwd fix

@larryliu0820
Copy link
Contributor

#93 merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants