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

Support transformers original behavior to load processors #808

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

Conversation

hans00
Copy link
Contributor

@hans00 hans00 commented Jun 11, 2024

As title.

I'm trying implement custom processor which has multiple tokenizer.
The original behavior will help to load it.

@xenova
Copy link
Collaborator

xenova commented Jun 12, 2024

Thanks for this! This is exactly what I was planning to do for v3. Can you give the model id of the processor/tokenizer you are loading so I can add a unit test?

@hans00
Copy link
Contributor Author

hans00 commented Jun 12, 2024

Thanks for this! This is exactly what I was planning to do for v3. Can you give the model id of the processor/tokenizer you are loading so I can add a unit test?

The processor still in WIP.
https://github.com/mybigday/Bert-VITS2/tree/convert-hf/hf

this model uses multiple tokenizer.

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