Instructions to use BillyLin/text-emotion-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BillyLin/text-emotion-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="BillyLin/text-emotion-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BillyLin/text-emotion-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 95 Bytes
97a5393 | 1 2 3 4 5 6 7 8 | - 0: 伤心
- 1: 生气
- 2: 关心
- 3: 惊讶
- 4: 开心
- 5: 平静
- 6: 厌恶
- 7: 恐惧 |