Downloads · 30 days
8
10% of all-time downloads
kleebewry/sarcasm-detection
sarcasm-detection is a text classification model from kleebewry. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
8
10% of all-time downloads
All-time downloads
81
Public
Parameters
278M
49 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.1 GB · 98%
From the Hugging Face model README
This model is a fine-tuned version of xlm-roberta-base on an unknown dataset. It achieves the following results on the evaluation set:
This model is a test run for finetuning XLM-RoBERTa on a non-english sarcasm dataset
This is for school project purposes only (project presentation)
The dataset used is a dataset intended for sarcasm detection in the Indonesian language. The dataset is split into three sets: test, validate, training.
https://colab.research.google.com/github/huggingface/workshops/blob/main/luzern-university/02-text-classification.ipynb#scrollTo=7a2420dd-b6ca-4c41-811d-e4922e400339 This was followed as a guide, as well as the NLP course provided by the Hugging face.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Recall | Precision | F1 |
|---|---|---|---|---|---|---|---|
| 0.5519 | 1.0 | 309 | 0.5271 | 0.7498 | 0.0 | 0.0 | 0.0 |
| 0.4669 | 2.0 | 618 | 0.4558 | 0.7775 | 0.1671 | 0.7468 | 0.2731 |
| 0.4109 | 3.0 | 927 | 0.4554 | 0.7966 | 0.3796 | 0.6634 | 0.4829 |
| 0.3766 | 4.0 | 1236 | 0.4316 | 0.8101 | 0.5836 | 0.6300 | 0.6059 |
| 0.35 | 5.0 | 1545 | 0.4867 | 0.8143 | 0.4816 | 0.6827 | 0.5648 |
| 0.2759 | 6.0 | 1854 | 0.4890 | 0.8150 | 0.5836 | 0.6438 | 0.6122 |
| 0.3119 | 7.0 | 2163 | 0.5027 | 0.8164 | 0.6601 | 0.6263 | 0.6428 |
| 0.2528 | 8.0 | 2472 | 0.5726 | 0.8157 | 0.6374 | 0.6303 | 0.6338 |
| 0.2146 | 9.0 | 2781 | 0.5825 | 0.8157 | 0.6431 | 0.6288 | 0.6359 |
| 0.1564 | 10.0 | 3090 | 0.6986 | 0.8172 | 0.5269 | 0.6715 | 0.5905 |