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

ModuleNotFoundError: No module named 'llama' #5

Open
yufan412 opened this issue Jun 24, 2024 · 1 comment
Open

ModuleNotFoundError: No module named 'llama' #5

yufan412 opened this issue Jun 24, 2024 · 1 comment

Comments

@yufan412
Copy link

yufan412 commented Jun 24, 2024

Hello, I don't know what functions are implemented in your llama file. Could you please send me a copy
image

@chawins
Copy link
Owner

chawins commented Jun 24, 2024

Oh my apologies. I probably did not update the README. You can pip install this from https://github.com/meta-llama/llama3/tree/main?tab=readme-ov-file#quick-start.

As a matter of fact, this Llama-3 tokenizer is not necessary anymore. I originally thought that there was a bug with HuggingFace Llama-3 tokenizer, but I was told that there is an easy fix for it (ref: huggingface/transformers#31187). I will try to remove this custom Llama-3 tokenizer in the future and stick to the HuggingFace tokenizer for simplicity.

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

2 participants