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

Add sentencepiece to requirements #25

Merged
merged 1 commit into from
May 29, 2024
Merged

Add sentencepiece to requirements #25

merged 1 commit into from
May 29, 2024

Conversation

jeffra
Copy link
Collaborator

@jeffra jeffra commented May 28, 2024

It seems LlamaTokenizer requires sentencepiece as a dependency. This resolves an issue where fetching the Arctic tokenizer triggers the following issue:

AutoTokenizer.from_pretrained("Snowflake/snowflake-arctic-instruct" , trust_remote_code=True)

->

ImportError: cannot import name 'LlamaTokenizer' from 'transformers.models.llama' 

@sfc-gh-jrasley sfc-gh-jrasley merged commit 6528a7f into main May 29, 2024
1 check passed
@sfc-gh-jrasley sfc-gh-jrasley deleted the jeffra-patch-1 branch May 29, 2024 17:45
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.

3 participants