CoolFace
Modelpublic

andy-value/my-sentiment-model

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes5downloads
Model Card

my-sentiment-model

此模型是基于DistilBERT架构的情感分析模型,在SST-2数据集上微调。

使用示例

python
from transformers import pipeline

classifier = pipeline('sentiment-analysis', 
                      model='andy-value/my-sentiment-model')
result = classifier("Hugging Face is amazing!")
print(result)  # [{'label': 'POSITIVE', 'score': 0.9998}]