You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
I have searched the EvaDB issues and found no similar bug report.
Bug
evadb=#SELECT TextSummarizer(article) FROM cnn_news_test;
@status: ResponseStatus.FAIL
@batch:
None
@error: 'int' object has no attribute 'isnumeric'
When I run the queries in the text_summarization benchmark, I get the above error.
The queries used are as follows:
DROPTABLE IF EXISTS cnn_news_test;
CREATETABLEIF NOT EXISTS cnn_news_test(
id TEXT(128),
article TEXT(4096),
highlights TEXT(1024)
);
DROPFUNCTION IF EXISTS TextSummarizer;
CREATEFUNCTIONIF NOT EXISTS TextSummarizer
TYPE HuggingFace
TASK 'summarization'
MODEL 'benchmark/models/distilbart-cnn-12-6'
MIN_LENGTH 5
MAX_LENGTH 100;
DROPTABLE IF EXISTS cnn_news_summary;
LOAD CSV 'benchmark/datasets/text/cnn_dailymail/test.csv'
INTO cnn_news_test;
CREATETABLEIF NOT EXISTS cnn_news_summary ASSELECT TextSummarizer(article) FROM cnn_news_test;
The error may be due to the following section in hf_abstract_function.py: