Instructions to use cardiffnlp/bertweet-base-emotion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/bertweet-base-emotion with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cardiffnlp/bertweet-base-emotion")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/bertweet-base-emotion") model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/bertweet-base-emotion") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- b1f19f2ee4ae3cb0f98162baa12f554f88e0281d36e62ddd340d777040bb4adb
- Size of remote file:
- 540 MB
- SHA256:
- d67654acb5d95c22ec30f1f301ed1d18ff7a3c52264236f9b70376a788802abc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.