Name the emotion in a sentence
ALBERT Base v2 Emotion · Emotion classification · Text → Class label + Scores
- Parameters
- 12M
- Operations
- 1,131
- Nodes drawn
- 198
- Runs on
- ONNX Runtime Web
- Built as
- Transformer encoder
What you can edit
- Tensor
classifier.bias[0:6]- Range
- Each bias can move up to ±8 from the shipped value, counted across all applied edits.
- How
- Describe the change to WS on the model page; it proposes deltas on these biases only. The Weight map sweeps two of them at once. Each bias adds to one emotion logit before the softmax over six classes, for every sentence. The trained biases are close to zero, so a delta of 2 to 4 moves borderline sentences.
6 editable values
- Sadness
- Joy
- Love
- Anger
- Fear
- Surprise
Parts in this model
- Reshape and transpose58
- Residual connection27
- Layer normalization25
- Gating multiply15
- Tanh13
- Multi-head attention12
- Softmax12
- Dense layer3
- Embedding2
Counted over the nodes kept in the structure file; summarized modules count as their parts.
Source
Exported from the ONNX file the app runs.
albert-emotion/model-744c610d.onnxsha256 744c610d7a30…opset 18
Derived from
Size
11,688,198 parameters, 300 nodes in the structure file.