Text-Classification Pipeline does not show the text in the widget
canberk17 opened this issue · comments
Hey guys, I've encountered an issue when I tried to use the widget in model cards for text classification. Here are the details:
I'm experiencing an issue with the Text-Classification pipeline in my model card, particularly with my project ckandemir/bitcoin_tweet_sentiment_classification.
When I provide the text I want to show on the widget to my README.md and select text-classification as pipeline( or AutoDetect), the widget does not show the text. However, when I change the pipeline to Token-Classification it does show the text as default.
Here are the examples:
This is when the pipeline is set to: text-classification
This is when the pipeline is set to: token-classification
Describe the solution you'd like
The ideal solution would be for the widget to display the provided text in the README.md
file by default when the pipeline is set to Text-Classification
maybe ping @mishig25
Thanks for reporting this, @canberk17!