delete_transformer: Delete a Transformer Model

View source: R/delete_transformer.R

delete_transformerR Documentation

Delete a Transformer Model

Description

Large language models can be quite large and, when stored locally, can take up a lot of space on your computer. The direct paths to where the models are on your computer is not necessarily intuitive.

This function quickly identifies the models on your computer and informs you which ones can be deleted from it to open up storage space

Usage

delete_transformer(model_name, delete = FALSE)

Arguments

model_name

Character vector. If no model is provided, then a list of models that are locally stored on the computer are printed

delete

Boolean (length = 1). Should model skip delete question? Defaults to FALSE. Set to TRUE for less interactive deletion

Value

Returns list of models or confirmed deletion

Author(s)

Alexander P. Christensen <alexpaulchristensen@gmail.com>

Examples

if(interactive()){
  delete_transformer()
}


transforEmotion documentation built on Sept. 11, 2024, 9:26 p.m.