Downloads · 30 days
5
1% of all-time downloads
kartiksrma/roberta-political-ideology-classifier
roberta-political-ideology-classifier is a text classification model from kartiksrma. 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
5
1% of all-time downloads
All-time downloads
902
Public
Parameters
125M
1.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors499 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of roberta-base on the None dataset. It achieves the following results on the evaluation set:
Note This model might look okay but it is extremely flawed as it was supposed to be. Because the data used to train this is generated synthetically from Chatgpt using Zero Shot Prompt : "You have to create a dataset of 10,000 rows, including tweets from various people, and label them as politically aligned: Extreme Left, Left, Centre, Right, or Extreme Right"
roBERTa fine tuned on custom dataset generated synthetically from GPT-4o. It basically classify any given tweet/text into 5 of pre defined classes:
USE: Classifying tweets/ short texts into above mentioned classes.
Limitation: As the data was synthetic and had similarities in it Model provides accuracy of 100%.
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.006 | 0.2 | 100 | 0.0033 | 1.0 | 1.0 |
| 0.0024 | 0.4 | 200 | 0.0014 | 1.0 | 1.0 |
| 0.0015 | 0.6 | 300 | 0.0008 | 1.0 | 1.0 |