Text Classification
Transformers
ONNX
Safetensors
llama
safety
content-moderation
multi-label
multilingual
tiny-language-model
from-scratch
distilled
text-embeddings-inference
Instructions to use KucLab/Barist.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Barist.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Barist.1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Barist.1") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Barist.1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add report multilingual.json
Browse files- reports/multilingual.json +59 -59
reports/multilingual.json
CHANGED
|
@@ -1,80 +1,80 @@
|
|
| 1 |
{
|
| 2 |
-
"checkpoint": "
|
| 3 |
"results": {
|
| 4 |
"textdetox_am": {
|
| 5 |
"n": 800,
|
| 6 |
"unsafe": 385,
|
| 7 |
-
"f1@0.5": 0.
|
| 8 |
-
"acc@0.5": 0.
|
| 9 |
"test_n": 400,
|
| 10 |
-
"test_f1@tuned": 0.
|
| 11 |
-
"test_fpr@tuned": 0.
|
| 12 |
-
"tuned_thr": 0.
|
| 13 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 14 |
},
|
| 15 |
"textdetox_ar": {
|
| 16 |
"n": 800,
|
| 17 |
"unsafe": 387,
|
| 18 |
-
"f1@0.5": 0.
|
| 19 |
-
"acc@0.5": 0.
|
| 20 |
"test_n": 400,
|
| 21 |
-
"test_f1@tuned": 0.
|
| 22 |
-
"test_fpr@tuned": 0.
|
| 23 |
"tuned_thr": 0.3,
|
| 24 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 25 |
},
|
| 26 |
"textdetox_de": {
|
| 27 |
"n": 800,
|
| 28 |
"unsafe": 397,
|
| 29 |
-
"f1@0.5": 0.
|
| 30 |
-
"acc@0.5": 0.
|
| 31 |
"test_n": 400,
|
| 32 |
-
"test_f1@tuned": 0.
|
| 33 |
-
"test_fpr@tuned": 0.
|
| 34 |
"tuned_thr": 0.5,
|
| 35 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 36 |
},
|
| 37 |
"textdetox_en": {
|
| 38 |
"n": 800,
|
| 39 |
"unsafe": 391,
|
| 40 |
-
"f1@0.5": 0.
|
| 41 |
-
"acc@0.5": 0.
|
| 42 |
"test_n": 400,
|
| 43 |
-
"test_f1@tuned": 0.
|
| 44 |
-
"test_fpr@tuned": 0.
|
| 45 |
"tuned_thr": 0.5,
|
| 46 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 47 |
},
|
| 48 |
"textdetox_es": {
|
| 49 |
"n": 800,
|
| 50 |
"unsafe": 408,
|
| 51 |
-
"f1@0.5": 0.
|
| 52 |
-
"acc@0.5": 0.
|
| 53 |
"test_n": 400,
|
| 54 |
-
"test_f1@tuned": 0.
|
| 55 |
-
"test_fpr@tuned": 0.
|
| 56 |
"tuned_thr": 0.5,
|
| 57 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 58 |
},
|
| 59 |
"textdetox_fr": {
|
| 60 |
"n": 800,
|
| 61 |
"unsafe": 391,
|
| 62 |
-
"f1@0.5": 0.
|
| 63 |
-
"acc@0.5": 0.
|
| 64 |
"test_n": 400,
|
| 65 |
-
"test_f1@tuned": 0.
|
| 66 |
-
"test_fpr@tuned": 0.
|
| 67 |
"tuned_thr": 0.5,
|
| 68 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 69 |
},
|
| 70 |
"textdetox_he": {
|
| 71 |
"n": 800,
|
| 72 |
"unsafe": 332,
|
| 73 |
-
"f1@0.5": 0.
|
| 74 |
"acc@0.5": 0.58625,
|
| 75 |
"test_n": 400,
|
| 76 |
-
"test_f1@tuned": 0.
|
| 77 |
-
"test_fpr@tuned": 0.
|
| 78 |
"tuned_thr": 0.3,
|
| 79 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 80 |
},
|
|
@@ -92,22 +92,22 @@
|
|
| 92 |
"textdetox_hin": {
|
| 93 |
"n": 800,
|
| 94 |
"unsafe": 394,
|
| 95 |
-
"f1@0.5": 0.
|
| 96 |
-
"acc@0.5": 0.
|
| 97 |
"test_n": 400,
|
| 98 |
-
"test_f1@tuned": 0.
|
| 99 |
-
"test_fpr@tuned": 0.
|
| 100 |
-
"tuned_thr": 0.
|
| 101 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 102 |
},
|
| 103 |
"textdetox_it": {
|
| 104 |
"n": 800,
|
| 105 |
"unsafe": 409,
|
| 106 |
-
"f1@0.5": 0.
|
| 107 |
-
"acc@0.5": 0.
|
| 108 |
"test_n": 400,
|
| 109 |
-
"test_f1@tuned": 0.
|
| 110 |
-
"test_fpr@tuned": 0.
|
| 111 |
"tuned_thr": 0.5,
|
| 112 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 113 |
},
|
|
@@ -125,52 +125,52 @@
|
|
| 125 |
"textdetox_ru": {
|
| 126 |
"n": 800,
|
| 127 |
"unsafe": 391,
|
| 128 |
-
"f1@0.5": 0.
|
| 129 |
-
"acc@0.5": 0.
|
| 130 |
"test_n": 400,
|
| 131 |
-
"test_f1@tuned": 0.
|
| 132 |
-
"test_fpr@tuned": 0.
|
| 133 |
-
"tuned_thr": 0.
|
| 134 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 135 |
},
|
| 136 |
"textdetox_tt": {
|
| 137 |
"n": 800,
|
| 138 |
"unsafe": 403,
|
| 139 |
-
"f1@0.5": 0.
|
| 140 |
-
"acc@0.5": 0.
|
| 141 |
"test_n": 400,
|
| 142 |
-
"test_f1@tuned": 0.
|
| 143 |
-
"test_fpr@tuned": 0.
|
| 144 |
-
"tuned_thr": 0.
|
| 145 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 146 |
},
|
| 147 |
"textdetox_uk": {
|
| 148 |
"n": 800,
|
| 149 |
"unsafe": 391,
|
| 150 |
-
"f1@0.5": 0.
|
| 151 |
-
"acc@0.5": 0.
|
| 152 |
"test_n": 400,
|
| 153 |
-
"test_f1@tuned": 0.
|
| 154 |
-
"test_fpr@tuned": 0.
|
| 155 |
-
"tuned_thr": 0.
|
| 156 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 157 |
},
|
| 158 |
"textdetox_zh": {
|
| 159 |
"n": 800,
|
| 160 |
"unsafe": 409,
|
| 161 |
-
"f1@0.5": 0.
|
| 162 |
"acc@0.5": 0.48625,
|
| 163 |
"test_n": 400,
|
| 164 |
-
"test_f1@tuned": 0.
|
| 165 |
-
"test_fpr@tuned": 0.
|
| 166 |
-
"tuned_thr": 0.
|
| 167 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 168 |
},
|
| 169 |
"synth_cs": {
|
| 170 |
"n": 300,
|
| 171 |
"unsafe": 150,
|
| 172 |
-
"f1@0.5":
|
| 173 |
-
"acc@0.5":
|
| 174 |
},
|
| 175 |
"synth_de": {
|
| 176 |
"n": 300,
|
|
|
|
| 1 |
{
|
| 2 |
+
"checkpoint": "checkpoints_b1q/best.pt",
|
| 3 |
"results": {
|
| 4 |
"textdetox_am": {
|
| 5 |
"n": 800,
|
| 6 |
"unsafe": 385,
|
| 7 |
+
"f1@0.5": 0.19880715705765403,
|
| 8 |
+
"acc@0.5": 0.49625,
|
| 9 |
"test_n": 400,
|
| 10 |
+
"test_f1@tuned": 0.07407407407407408,
|
| 11 |
+
"test_fpr@tuned": 0.04477611940298507,
|
| 12 |
+
"tuned_thr": 0.71,
|
| 13 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 14 |
},
|
| 15 |
"textdetox_ar": {
|
| 16 |
"n": 800,
|
| 17 |
"unsafe": 387,
|
| 18 |
+
"f1@0.5": 0.0051413881748071984,
|
| 19 |
+
"acc@0.5": 0.51625,
|
| 20 |
"test_n": 400,
|
| 21 |
+
"test_f1@tuned": 0.0099009900990099,
|
| 22 |
+
"test_fpr@tuned": 0.0,
|
| 23 |
"tuned_thr": 0.3,
|
| 24 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 25 |
},
|
| 26 |
"textdetox_de": {
|
| 27 |
"n": 800,
|
| 28 |
"unsafe": 397,
|
| 29 |
+
"f1@0.5": 0.5753424657534247,
|
| 30 |
+
"acc@0.5": 0.57375,
|
| 31 |
"test_n": 400,
|
| 32 |
+
"test_f1@tuned": 0.559610705596107,
|
| 33 |
+
"test_fpr@tuned": 0.46938775510204084,
|
| 34 |
"tuned_thr": 0.5,
|
| 35 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 36 |
},
|
| 37 |
"textdetox_en": {
|
| 38 |
"n": 800,
|
| 39 |
"unsafe": 391,
|
| 40 |
+
"f1@0.5": 0.8103837471783296,
|
| 41 |
+
"acc@0.5": 0.79,
|
| 42 |
"test_n": 400,
|
| 43 |
+
"test_f1@tuned": 0.7710280373831777,
|
| 44 |
+
"test_fpr@tuned": 0.37155963302752293,
|
| 45 |
"tuned_thr": 0.5,
|
| 46 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 47 |
},
|
| 48 |
"textdetox_es": {
|
| 49 |
"n": 800,
|
| 50 |
"unsafe": 408,
|
| 51 |
+
"f1@0.5": 0.6353944562899787,
|
| 52 |
+
"acc@0.5": 0.5725,
|
| 53 |
"test_n": 400,
|
| 54 |
+
"test_f1@tuned": 0.6252676659528907,
|
| 55 |
+
"test_fpr@tuned": 0.6108374384236454,
|
| 56 |
"tuned_thr": 0.5,
|
| 57 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 58 |
},
|
| 59 |
"textdetox_fr": {
|
| 60 |
"n": 800,
|
| 61 |
"unsafe": 391,
|
| 62 |
+
"f1@0.5": 0.5159332321699545,
|
| 63 |
+
"acc@0.5": 0.60125,
|
| 64 |
"test_n": 400,
|
| 65 |
+
"test_f1@tuned": 0.5590778097982708,
|
| 66 |
+
"test_fpr@tuned": 0.23469387755102042,
|
| 67 |
"tuned_thr": 0.5,
|
| 68 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 69 |
},
|
| 70 |
"textdetox_he": {
|
| 71 |
"n": 800,
|
| 72 |
"unsafe": 332,
|
| 73 |
+
"f1@0.5": 0.02932551319648094,
|
| 74 |
"acc@0.5": 0.58625,
|
| 75 |
"test_n": 400,
|
| 76 |
+
"test_f1@tuned": 0.01212121212121212,
|
| 77 |
+
"test_fpr@tuned": 0.012552301255230125,
|
| 78 |
"tuned_thr": 0.3,
|
| 79 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 80 |
},
|
|
|
|
| 92 |
"textdetox_hin": {
|
| 93 |
"n": 800,
|
| 94 |
"unsafe": 394,
|
| 95 |
+
"f1@0.5": 0.47226624405705236,
|
| 96 |
+
"acc@0.5": 0.58375,
|
| 97 |
"test_n": 400,
|
| 98 |
+
"test_f1@tuned": 0.1990950226244344,
|
| 99 |
+
"test_fpr@tuned": 0.07373271889400922,
|
| 100 |
+
"tuned_thr": 0.73,
|
| 101 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 102 |
},
|
| 103 |
"textdetox_it": {
|
| 104 |
"n": 800,
|
| 105 |
"unsafe": 409,
|
| 106 |
+
"f1@0.5": 0.5794621026894865,
|
| 107 |
+
"acc@0.5": 0.57,
|
| 108 |
"test_n": 400,
|
| 109 |
+
"test_f1@tuned": 0.555,
|
| 110 |
+
"test_fpr@tuned": 0.44221105527638194,
|
| 111 |
"tuned_thr": 0.5,
|
| 112 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 113 |
},
|
|
|
|
| 125 |
"textdetox_ru": {
|
| 126 |
"n": 800,
|
| 127 |
"unsafe": 391,
|
| 128 |
+
"f1@0.5": 0.4084967320261438,
|
| 129 |
+
"acc@0.5": 0.5475,
|
| 130 |
"test_n": 400,
|
| 131 |
+
"test_f1@tuned": 0.20689655172413793,
|
| 132 |
+
"test_fpr@tuned": 0.04477611940298507,
|
| 133 |
+
"tuned_thr": 0.68,
|
| 134 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 135 |
},
|
| 136 |
"textdetox_tt": {
|
| 137 |
"n": 800,
|
| 138 |
"unsafe": 403,
|
| 139 |
+
"f1@0.5": 0.5473145780051151,
|
| 140 |
+
"acc@0.5": 0.5575,
|
| 141 |
"test_n": 400,
|
| 142 |
+
"test_f1@tuned": 0.48450704225352115,
|
| 143 |
+
"test_fpr@tuned": 0.3761904761904762,
|
| 144 |
+
"tuned_thr": 0.5,
|
| 145 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 146 |
},
|
| 147 |
"textdetox_uk": {
|
| 148 |
"n": 800,
|
| 149 |
"unsafe": 391,
|
| 150 |
+
"f1@0.5": 0.39403973509933776,
|
| 151 |
+
"acc@0.5": 0.5425,
|
| 152 |
"test_n": 400,
|
| 153 |
+
"test_f1@tuned": 0.1385281385281385,
|
| 154 |
+
"test_fpr@tuned": 0.04145077720207254,
|
| 155 |
+
"tuned_thr": 0.74,
|
| 156 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 157 |
},
|
| 158 |
"textdetox_zh": {
|
| 159 |
"n": 800,
|
| 160 |
"unsafe": 409,
|
| 161 |
+
"f1@0.5": 0.01909307875894988,
|
| 162 |
"acc@0.5": 0.48625,
|
| 163 |
"test_n": 400,
|
| 164 |
+
"test_f1@tuned": 0.04694835680751174,
|
| 165 |
+
"test_fpr@tuned": 0.025380710659898477,
|
| 166 |
+
"tuned_thr": 0.3,
|
| 167 |
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 168 |
},
|
| 169 |
"synth_cs": {
|
| 170 |
"n": 300,
|
| 171 |
"unsafe": 150,
|
| 172 |
+
"f1@0.5": 1.0,
|
| 173 |
+
"acc@0.5": 1.0
|
| 174 |
},
|
| 175 |
"synth_de": {
|
| 176 |
"n": 300,
|