Instructions to use hrrbb/emotion-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hrrbb/emotion-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hrrbb/emotion-bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hrrbb/emotion-bert") model = AutoModelForSequenceClassification.from_pretrained("hrrbb/emotion-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
4993db5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:69eaff002f3688a4630da643d3fb7af4a3d2e5d3f1ce413212e3a67cb0a7226f
size 5368
|