hf_load_model | R Documentation |
Load a pre-trained AutoModel object from Hugging Face
hf_load_model(model_id, ...)
model_id |
model_id The id of the model given in the url by https://huggingface.co/model_name. |
... |
sent to AutoModel.from_pretrained() |
a pre-trained model object
## Not run: model <- hf_load_model("distilbert-base-uncased") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.