smilegate-ai/kor_unsmile
Viewer • Updated • 18.7k • 502 • 4
How to use kakao1513/unsmile_classifier_v2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="kakao1513/unsmile_classifier_v2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("kakao1513/unsmile_classifier_v2")
model = AutoModelForSequenceClassification.from_pretrained("kakao1513/unsmile_classifier_v2", device_map="auto")This model is a fine-tuned version of beomi/KcELECTRA-base-v2022 on the smilegate-ai/kor_unsmile dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Toxic Macro F1 | Toxic Macro Precision | Toxic Macro Recall | Toxic Micro F1 | Label Macro F1 | Label Weighted F1 | Exact Match | Binary Precision | Binary Recall | Binary F1 | Binary Accuracy | Fixed05 Toxic Macro F1 | Fixed05 Binary F1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.2404 | 1.0 | 938 | 0.1281 | 0.7747 | 0.7435 | 0.8116 | 0.7754 | 0.7742 | 0.7750 | 0.6790 | 0.8722 | 0.9648 | 0.9162 | 0.8684 | 0.7347 | 0.9180 |
| 0.1035 | 2.0 | 1876 | 0.1134 | 0.8129 | 0.8090 | 0.8275 | 0.8071 | 0.8121 | 0.8054 | 0.7196 | 0.8947 | 0.9512 | 0.9221 | 0.8801 | 0.7856 | 0.9204 |
| 0.0648 | 3.0 | 2814 | 0.1233 | 0.8247 | 0.8068 | 0.8461 | 0.8137 | 0.8220 | 0.8092 | 0.7384 | 0.9023 | 0.9419 | 0.9217 | 0.8807 | 0.8113 | 0.9243 |
| 0.0388 | 4.0 | 3752 | 0.1367 | 0.8268 | 0.8126 | 0.8446 | 0.8189 | 0.8232 | 0.8120 | 0.7571 | 0.9083 | 0.9454 | 0.9265 | 0.8882 | 0.8235 | 0.9262 |
| 0.0258 | 5.0 | 4690 | 0.1503 | 0.8293 | 0.8342 | 0.8371 | 0.8225 | 0.8256 | 0.8142 | 0.7662 | 0.9218 | 0.9397 | 0.9307 | 0.8957 | 0.8276 | 0.9295 |
| 0.017 | 6.0 | 5628 | 0.1553 | 0.8219 | 0.8210 | 0.8397 | 0.8200 | 0.8187 | 0.8106 | 0.7603 | 0.9195 | 0.9347 | 0.9270 | 0.8903 | 0.8279 | 0.9288 |
Base model
beomi/KcELECTRA-base-v2022