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
I wrote the code based on the text classification example for zero-shot classification. However I'm facing two issues:
The accuracy of the model will drop significantly. For example, this is the result I get with normal transformer for my input: {'food quality': 0.7271687984466553, 'service': 0.6853761672973633, 'price': 0.6715865135192871, 'ambiance': 0.3189621865749359, 'cleanliness': 0.24270476400852203, 'menu variety': 0.17212778329849243, 'portion size': 0.06296943873167038, 'wait time': 0.026042930781841278}
and after using quanto the results for both float and quantized model are as follow:
Hello,
I wrote the code based on the text classification example for zero-shot classification. However I'm facing two issues:
{'food quality': 0.7271687984466553, 'service': 0.6853761672973633, 'price': 0.6715865135192871, 'ambiance': 0.3189621865749359, 'cleanliness': 0.24270476400852203, 'menu variety': 0.17212778329849243, 'portion size': 0.06296943873167038, 'wait time': 0.026042930781841278}
and after using quanto the results for both float and quantized model are as follow:
why is this happening?
Here is my code
Thanks!
The text was updated successfully, but these errors were encountered: