hf_clear_model_cache | R Documentation |
Clears cached model files
hf_clear_model_cache( model_id, cache_dir = "~/.cache/huggingface/transformers/", warn = TRUE )
model_id |
Model whose files you'd like to remove. Note: partial matches will work. |
cache_dir |
Directory where model files are cached. Defaults to '~/.cache/huggingface/transformers/'. |
warn |
Whether to prompt user with a warning message or simply remove the cached files. Defaults to TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.