TransformersDocumentQandA
Document Q&A task
Last updated
Document Q&A task
Last updated
predictor ([Any, Any], optional): Predictor that will be used in task. If equals to None, will be used. Defaults to None.
preprocess (Optional[], optional): Component executed before predictor. Defaults to None.
postprocess (Optional[], optional): Component executed after predictor. Defaults to None.
input_class (Type[], optional): Class for input validation. Defaults to .
output_class (Type[], optional): Class for output validation. Defaults to .