Closed derekelewis closed 1 month ago
cc @ArthurZucker
same question!
This is related to #28109. But ys a bit weird that we go to numpy(). Do you want to open a PR for this?
Any update on this? Getting the same result when using the pipeline class for question answering
A fix was merged and will be included in the release
@ArthurZucker which PR fixes this issue?
same problem
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
System Info
transformers
version: 4.40.1Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Does not occur in 4.39.3 - happens in >=4.40.0 and main. Appears to be related to PR #30518.
Test code is below (please ignore the lack of using a pre-trained sequence classification model):
Traceback:
Expected behavior
predictions = classification_pipeline("test") should return predictions.