Essentially Text-generation task. But uses Encoder-Decoder architecture, so might change in the future for more options.
Examples
if (FALSE) { # \dontrun{
# Load the default model and use local inference
ez <- hf_ez_text2text_generation()
ez$infer("Please answer the following question. What is the boiling point of Nitrogen?")
# Use the api for inference.
ez <- hf_ez_text2text_generation(use_api = TRUE)
ez$infer("Please answer the following question. What is the boiling point of Nitrogen?")
} # }