Skip to content

fix: small bug fixes/improvements for pkg #676

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

d-kleine
Copy link
Contributor

@d-kleine d-kleine commented Jun 18, 2025

Fixes for several issues in the package

  • fixes Llama 3 tokenizer - special tokens instance #675; code for the encode function has been taken from ch05\07_gpt_to_llama\converting-llama2-to-llama3.ipynb (please double-check if everything is okay)
  • fixes tqdm import
  • adds weights_only=True to only load the weights with torch.load (set to False by default in torch versions < 2.6; avoiding mismatches and warnings)

@d-kleine d-kleine marked this pull request as ready for review June 18, 2025 16:58
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.

Llama 3 tokenizer - special tokens instance
2 participants