Text Classification
Transformers
Safetensors
English
emcoder
emotion-recognition
bayesian-deep-learning
mc-dropout
uncertainty-quantification
multi-label-classification
custom_code
Eval Results (legacy)
Instructions to use yezdata/EmCoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yezdata/EmCoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="yezdata/EmCoder", trust_remote_code=True)# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("yezdata/EmCoder", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 2,519 Bytes
a10898b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | {
"admiration": {
"p": 0.6142857142857143,
"f1": 0.7186574531095755
},
"amusement": {
"p": 0.5,
"f1": 0.7870778267254038
},
"anger": {
"p": 0.6714285714285715,
"f1": 0.42744063324538256
},
"annoyance": {
"p": 0.5571428571428572,
"f1": 0.3525423728813559
},
"approval": {
"p": 0.3857142857142858,
"f1": 0.36084452975047987
},
"caring": {
"p": 0.44285714285714284,
"f1": 0.4715909090909091
},
"confusion": {
"p": 0.6142857142857143,
"f1": 0.4217252396166134
},
"curiosity": {
"p": 0.6714285714285715,
"f1": 0.5331125827814569
},
"desire": {
"p": 0.6142857142857143,
"f1": 0.5324675324675324
},
"disappointment": {
"p": 0.5,
"f1": 0.36416184971098264
},
"disapproval": {
"p": 0.5,
"f1": 0.41025641025641024
},
"disgust": {
"p": 0.5,
"f1": 0.425531914893617
},
"embarrassment": {
"p": 0.5,
"f1": 0.5294117647058824
},
"excitement": {
"p": 0.7857142857142857,
"f1": 0.33986928104575165
},
"fear": {
"p": 0.6142857142857143,
"f1": 0.632183908045977
},
"gratitude": {
"p": 0.7857142857142857,
"f1": 0.9131075110456554
},
"grief": {
"p": 0.6714285714285715,
"f1": 0.45454545454545453
},
"joy": {
"p": 0.6142857142857143,
"f1": 0.5688622754491018
},
"love": {
"p": 0.7285714285714286,
"f1": 0.8052930056710775
},
"nervousness": {
"p": 0.7857142857142857,
"f1": 0.375
},
"optimism": {
"p": 0.6714285714285715,
"f1": 0.6054054054054054
},
"pride": {
"p": 0.5,
"f1": 0.56
},
"realization": {
"p": 0.5,
"f1": 0.24892703862660945
},
"relief": {
"p": 0.3285714285714286,
"f1": 0.1935483870967742
},
"remorse": {
"p": 0.7285714285714286,
"f1": 0.7916666666666666
},
"sadness": {
"p": 0.6714285714285715,
"f1": 0.5255474452554745
},
"surprise": {
"p": 0.5,
"f1": 0.5128205128205128
},
"neutral": {
"p": 0.3857142857142858,
"f1": 0.6646788990825688
}
} |