View source: R/tabpfn-weights.R
| tab_pfn_clear_cache | R Documentation |
Deletes checkpoints that brulee downloaded for brulee_tab_pfn(), for one
model version or all of them, along with any partial downloads, and
unloads models loaded in the current session. Use it to free disk space
(each checkpoint takes 200 MB to 900 MB), to force a fresh download, or to
delete the weights when you stop using them, as the Prior Labs license
requires when it ends.
tab_pfn_clear_cache(
version = NULL,
cache_dir = tabpfn_cache_dir(),
ask = rlang::is_interactive()
)
version |
A model version from |
cache_dir |
The root of the local weight cache. |
ask |
A logical: ask for confirmation before deleting? Defaults to
|
Weights downloaded by the Python tabpfn package are never removed: delete
those files yourself if you no longer need them.
The paths of the deleted files, invisibly.
tab_pfn_clear_cache("v3")
tab_pfn_clear_cache()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.