Skip to content

Fix build for tokenizer tool script #36

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

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

jackzhxng
Copy link
Contributor

@jackzhxng jackzhxng commented Mar 25, 2025

Fix the cmake target for tokenizer_tool.

mkdir cmake-out
cd cmake-out
cmake -DTOKENIZERS_BUILD_TOOLS=ON ..
cmake --build .
./examples/tokenize_tool/tokenize_tool hf_tokenizer ~/hf/models--Qwen--Qwen2.5-1.5B/snapshots/8faed761d45a263340a0528343f099c05c9a4323/tokenizer.json

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 25, 2025
@larryliu0820 larryliu0820 merged commit c8bff72 into pytorch-labs:main Mar 25, 2025
5 checks passed
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