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

The demo code about tokenizer.py in tools dir exists some mistakes #47

Closed
kkscilife opened this issue Jul 10, 2023 · 1 comment
Closed
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@kkscilife
Copy link
Collaborator

Describe the bug

In demo code: python tools/tokenizer.py --raw_data_name your_raw_data_file_name(without suffix) --input_file_type 'text' or 'json' or 'jsonl' --bin your_output_bin_path
'text' should be 'txt'
same to the demo code: python tools/tokenizer.py --raw_data_name raw_data --input_file_type 'text' --bin cn/output.bin
Both in chinese and engish,and other language if existed

Environment

any browser

Other information

No response

@kkscilife kkscilife added the documentation Improvements or additions to documentation label Jul 10, 2023
@gaoyang07
Copy link
Collaborator

gaoyang07 commented Jul 13, 2023

Hello there, thanks for reporting the typo. We've updated the tools/tokenizer.py and also the usages in README.

Check pr51 for more details.

li126com pushed a commit to li126com/InternLM that referenced this issue Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants