Skip to content

add local tokenizer option for automated testing without hf token #192

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 2 commits into from
Oct 15, 2024

Conversation

sixiang-google
Copy link
Collaborator

No description provided.

@qihqi
Copy link
Collaborator

qihqi commented Oct 14, 2024

btw, For automated testing, one just need to create subdirectory structures in the checkpoint dir that mimics hf then it will read from there without redownloadi from HF.

Example

checkpoints/
checkpoints/meta-llama
checkpoints/meta-llama/Llama-2-7b-hf
checkpoints/meta-llama/Llama-2-7b-hf/hf_original
checkpoints/meta-llama/Llama-2-7b-hf/hf_original/config.json
checkpoints/meta-llama/Llama-2-7b-hf/hf_original/model-00001-of-00002.safetensors
checkpoints/meta-llama/Llama-2-7b-hf/hf_original/generation_config.json
checkpoints/meta-llama/Llama-2-7b-hf/hf_original/model-00002-of-00002.safetensors
checkpoints/meta-llama/Llama-2-7b-hf/hf_original/tokenizer.model
checkpoints/meta-llama/Llama-2-7b-hf/hf_original/model.safetensors.index.json
checkpoints/meta-llama/Llama-2-7b-hf/hf_original/pytorch_model.bin.index.json

@sixiang-google sixiang-google merged commit e8f5f00 into main Oct 15, 2024
1 of 4 checks passed
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