hf_ez_question_answering_local_inference: Question Answering Local Inference

View source: R/ez.R

hf_ez_question_answering_local_inferenceR Documentation

Question Answering Local Inference

Description

Question Answering Local Inference

Usage

hf_ez_question_answering_local_inference(question, context, tidy = TRUE, ...)

Arguments

question

a question to be answered based on the provided context

context

the context to consult for answering the question

tidy

Whether to tidy the results into a tibble. Default: TRUE (tidy the results)

Value

The results of the inference

See Also

https://huggingface.co/docs/transformers/main/en/pipeline_tutorial


farach/huggingfaceR documentation built on Feb. 4, 2023, 10:31 p.m.