hf_load_tokenizer | R Documentation |
Load Tokenizer for Hugging Face Model
hf_load_tokenizer(model_id, ...)
model_id |
The id of the model given in the url by https://huggingface.co/model_name. |
... |
sent to the 'AutoTokenizer.from_pretained()', accepts named arguments e.g. use_fast https://huggingface.co/docs/transformers/main_classes/tokenizer |
A Hugging Face model's tokenizer.
https://huggingface.co/docs/transformers/main/en/pipeline_tutorial
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.