Instructions to use m2af/klue-roberta-large-main_emotion-classifier-basic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use m2af/klue-roberta-large-main_emotion-classifier-basic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="m2af/klue-roberta-large-main_emotion-classifier-basic")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("m2af/klue-roberta-large-main_emotion-classifier-basic") model = AutoModelForSequenceClassification.from_pretrained("m2af/klue-roberta-large-main_emotion-classifier-basic", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
e49791a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c5e4689c7fd4e0f0ea420bad1dec0ef5c6378fd4feb8c0c6334b4b734a9b054b
size 1346801458
|