Views
No views yet
tinybert student fine-tuned on SarcOji with sarcasm-aware emoji embeddings injected
directly into the token-embedding matrix, distilled from Vandita/Bert-finetuned-Sarc.| split | accuracy | precision | recall | F1 | MCC | ROC-AUC |
|---|---|---|---|---|---|---|
| validation | 0.8587 | 0.8172 | 0.8207 | 0.8189 | 0.7031 | 0.9387 |
| SarcOjiTest1 | 0.6568 | 0.7298 | 0.5514 | 0.6282 | 0.3316 | 0.7372 |
| SarcOjiTest2 | 0.7253 | 0.4473 | 0.4236 | 0.4351 | 0.2540 | 0.7150 |
L = α·T²·KL(teacher‖student) + (1−α)·CE, with T = 3,
α = 0.5. The T² factor is applied, so soft-target gradients do not shrink as T
rises.concat-mean. Remaining dimensions hold the mean of the
original vocabulary embeddings rather than zeros, so new tokens are not anchored to the
origin.1from transformers import AutoModelForSequenceClassification, AutoTokenizer
2tok = AutoTokenizer.from_pretrained("Vandita/TinyBERT-SarcOji-KD-v2")
3model = AutoModelForSequenceClassification.from_pretrained("Vandita/TinyBERT-SarcOji-KD-v2")