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