View source: R/blurr_hugging_face.R
get_hf_objects | R Documentation |
Returns the architecture (str), config (obj), tokenizer (obj), and model (obj) given at minimum a
get_hf_objects(...)
... |
parameters to pass |
'pre-trained model name or path'. Specify a 'task' to ensure the right "AutoModelFor<task>" is used to create the model. Optionally, you can pass a config (obj), tokenizer (class), and/or model (class) (along with any related kwargs for each) to get as specific as you want w/r/t what huggingface objects are returned.
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.