You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, the function to load the tokenizer from a pretrained model is not available in 'Tokenizer':
error[E0599]: no function or associated item named `from_pretrained` found for struct `Tokenizer` in the current scope
--> src/main.rs:30:32
|
30 | let tokenizer = Tokenizer::from_pretrained("bert-base-cased", None);
| ^^^^^^^^^^^^^^^ function or associated item not found in `Tokenizer`
The text was updated successfully, but these errors were encountered:
The README.md (and the corresponding landing page of the documentation) contains non-functional code. Specifically the following:
Loading a pretrained tokenizer from the Hub
Here, the function to load the tokenizer from a pretrained model is not available in 'Tokenizer':
The text was updated successfully, but these errors were encountered: