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

Precompiled: Error("invalid type: null, expected a borrowed string", line : 1, column: 28) #1645

Closed
vicantwin opened this issue Oct 5, 2024 · 2 comments

Comments

@vicantwin
Copy link

use tokenizers::Tokenizer;

fn main() {
    let _tokenizer = Tokenizer::from_file("tokenizer.json");
}
thread 'main' panicked at /home/vi/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokenizers-0.20.0/src/normalizers/mod.rs:143:26:
Precompiled: Error("invalid type: null, expected a borrowed string", line: 1, column: 28)

tokenizer.json is from Xenova/speecht5_tts

Not sure what's causing this. This model works flawlessly on Transformers.js so it isn't a problem with the tokenizer.json

@vicantwin
Copy link
Author

Seems like its a duplicate of #1627.

Closing...

@vicantwin vicantwin closed this as not planned Won't fix, can't repro, duplicate, stale Oct 5, 2024
@ArthurZucker
Copy link
Collaborator

Thanks for reporting will have a look!

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

No branches or pull requests

2 participants