farach / huggingfaceR

Hugging Face state-of-the-art models in R
Other
142 stars 17 forks source link

Updated inference functions #38

Closed samterfa closed 2 years ago

samterfa commented 2 years ago

Changed hf_predict to hf_inference. hfinference still runs inference on a local pipeline or model, or using the Inference API. hf{task}_payload functions were created to prompt the necessary parameters a user would need to run inference on a given task.