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 compatible with llama 3 models #7

Open
WoutDeRijck opened this issue Dec 6, 2024 · 1 comment
Open

Not compatible with llama 3 models #7

WoutDeRijck opened this issue Dec 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@WoutDeRijck
Copy link

Errors get thrown, but these are version incompatibilities, so these need to be updated.
It started with the error:
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'}

To reproduce

Steps to reproduce the behavior:

  1. Download repo fill in the empty fields in the yaml file
  2. Use model meta-llama/Llama-3.2-3B-Instruct
  3. Run it

Expected behavior

It runs.

@WoutDeRijck WoutDeRijck added the bug Something isn't working label Dec 6, 2024
@WoutDeRijck
Copy link
Author

Simply increasing the transformers version doesnt immediately work. So I was wondering which combination of versions might work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant