The GitHub Actions job "Benchmarks" on texera.git/fix/7549-hf-empty-text has 
failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
0f1959b3ef66edc3294cd4417351223761e96f5d / kary zheng <[email protected]>
fix(workflow-operator): keep the row when a Hugging Face text cell is empty

Sentiment Analysis, Spam SMS Detection and Text Summarization each passed their
text column straight to a tokenizer or pipeline. An empty cell arrives as None,
which transformers rejects with `ValueError: You need to specify either text or
text_target` for the first two and `ValueError: text input must be of type str
...` for the third, ending the run.

An empty value is ordinary input here. A blank CSV cell arrives as null:
univocity returns null for an empty field, and AttributeTypeUtils.parseField
passes it through by design.

All three now yield the row with their result attributes left empty. That
follows what the Hugging Face inference operator does with a row it cannot
process: HuggingFaceCodegenBase appends the error to that row's results and
continues rather than dropping it. The visualization operators drop such rows
instead, with `dropna(subset=[...])`, but their output is a chart, where a
missing row costs nothing; these three add columns to each input row, so
dropping would take the user's row out of the output along with the value the
model had nothing to say about.

Whitespace-only text takes the same path, since the models have nothing to say
about it either.

Each spec gains the case; all three fail on the previous behavior.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/31534512467

With regards,
GitHub Actions via GitBox

Reply via email to