my-sentiment-model

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

使用示例

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}]
Downloads last month
4
Safetensors
Model size
67M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support