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

Llama 3.1 support #1770

Closed
bw-Deejee opened this issue Jul 25, 2024 · 2 comments
Closed

Llama 3.1 support #1770

bw-Deejee opened this issue Jul 25, 2024 · 2 comments

Comments

@bw-Deejee
Copy link

Are llama3.1 models currently supported?

I pulled recent repo however, didn't go through the full installation requirements and the following doesn't work:

python generate.py --base_model=meta-llama/Meta-Llama-3.1-8B-Instruct --use_auth_token=...

Error message:
ValueError: 'rope_scaling' must be a dictionary with two fields, 'type' and 'factor', got {'factor': 8.0, 'low_freq_factor': 1.0, 'high_freq_factor': 4.0, 'original_max_position_embeddings': 8192, 'rope_type': 'llama3'}

@bw-Deejee
Copy link
Author

Nevermind. I looked deeper in to repo changes and it looks like i just had to rerun:
pip install -r requirements.txt -c reqs_optional/reqs_constraints.txt
in the newest repo version and now it works.

@pseudotensor
Copy link
Collaborator

Ya new transformers was required. Thanks.

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