Open onefanwu opened 12 months ago
Thanks @onefanwu for reporting this issue. I will fix this issue.
I think a workaround now is
CREATE FUNCTION IF NOT EXISTS TextSummarizer
TYPE HuggingFace
TASK 'summarization'
MODEL 'benchmark/models/distilbart-cnn-12-6'
MIN_LENGTH '5'
MAX_LENGTH '100';
Search before asking
Bug
When I run the queries in the text_summarization benchmark, I get the above error.
The queries used are as follows:
The error may be due to the following section in hf_abstract_function.py:
Environment
Are you willing to submit a PR?