Jason Wheeler
Jason Wheeler
This HuggingFace Colab notebook may provide some guidance: https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/question_answering.ipynb#scrollTo=eXNLu_-nIrJI
Yes, but in a roundabout way: ```python import pipelines # load text inputs = text_dataset # instantiate QGPipeline qgp = pipelines.QGPipeline(model, ans_model, tokenizer, ans_tokenizer) # extract sentence and answers sentence,...
I've encountered the same error. Tried increasing `GENERATION_MODEL_MAX_TOKENS` and decreasing `NUMBER_OF_TEST_CASES` to no avail.