Skip to content

fix: LlamaTokenizerFast to AutoTokenizer at flash_mistral.py #1637

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

Merged
merged 1 commit into from
Mar 22, 2024
Merged

fix: LlamaTokenizerFast to AutoTokenizer at flash_mistral.py #1637

merged 1 commit into from
Mar 22, 2024

Conversation

SeongBeomLEE
Copy link
Contributor

@SeongBeomLEE SeongBeomLEE commented Mar 11, 2024

What does this PR do?

A few cases where you're using a mistral structure or mixtral structure but not a llama tokenizer, why not make it to call the AutoTokenizer in exception handling.

Similar PR #619

@Narsil

Copy link
Contributor

@OlivierDehaene OlivierDehaene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@OlivierDehaene
Copy link
Contributor

These are usually here because TGI code is merged before any Transformers PR land.

@OlivierDehaene OlivierDehaene merged commit 66914f7 into huggingface:main Mar 22, 2024
kdamaszk pushed a commit to kdamaszk/tgi-gaudi that referenced this pull request Apr 29, 2024
…face#1637)

# What does this PR do?

A few cases where you're using a mistral structure or mixtral structure
but not a llama tokenizer, why not make it to call the AutoTokenizer in
exception handling.

Similar PR huggingface#619

@Narsil
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.

2 participants