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

not able to quantize after fine tuning #22

Open
geniusalert opened this issue Jan 4, 2024 · 2 comments
Open

not able to quantize after fine tuning #22

geniusalert opened this issue Jan 4, 2024 · 2 comments

Comments

@geniusalert
Copy link

geniusalert commented Jan 4, 2024

i am not able to quantize and getting this error
FileNotFoundError: Could not find tokenizer.model in llama-2-7b-meditext or its parent; if it's in another directory, pass the directory as --vocab-dir
ggml_init_cublas: found 1 CUDA devices:
Device 0: Tesla T4, compute capability 7.5
what do i do?

@geniusalert geniusalert changed the title not able to quantize after fine tuning on colab not able to quantize after fine tuning Jan 4, 2024
@mlabonne
Copy link
Owner

mlabonne commented Jan 4, 2024

The repo you're trying to use doesn't have a tokenizer. It probably uses Llama 2's tokenizer. You can grab these three tokenizer* files from this repo: https://huggingface.co/meta-llama/Llama-2-7b-hf/tree/main and add them to yours.

@imran0x
Copy link

imran0x commented Jan 5, 2024

i am not able to quantize and getting this error FileNotFoundError: Could not find tokenizer.model in llama-2-7b-meditext or its parent; if it's in another directory, pass the directory as --vocab-dir ggml_init_cublas: found 1 CUDA devices: Device 0: Tesla T4, compute capability 7.5 what do i do?

Great

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

No branches or pull requests

3 participants