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.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Barist.2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Barist.2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Barist.2") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Barist.2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add report multilingual.json
Browse files- reports/multilingual.json +194 -0
reports/multilingual.json
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint": "checkpoints_b2x/best.pt",
|
| 3 |
+
"results": {
|
| 4 |
+
"textdetox_am": {
|
| 5 |
+
"n": 800,
|
| 6 |
+
"unsafe": 385,
|
| 7 |
+
"f1@0.5": 0.1776859504132231,
|
| 8 |
+
"acc@0.5": 0.5025,
|
| 9 |
+
"test_n": 400,
|
| 10 |
+
"test_f1@tuned": 0.09865470852017938,
|
| 11 |
+
"test_fpr@tuned": 0.06467661691542288,
|
| 12 |
+
"tuned_thr": 0.65,
|
| 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.0,
|
| 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.5869297163995068,
|
| 30 |
+
"acc@0.5": 0.58125,
|
| 31 |
+
"test_n": 400,
|
| 32 |
+
"test_f1@tuned": 0.6009615384615384,
|
| 33 |
+
"test_fpr@tuned": 0.47342995169082125,
|
| 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.8126410835214447,
|
| 41 |
+
"acc@0.5": 0.7925,
|
| 42 |
+
"test_n": 400,
|
| 43 |
+
"test_f1@tuned": 0.8282352941176471,
|
| 44 |
+
"test_fpr@tuned": 0.27403846153846156,
|
| 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.6331550802139038,
|
| 52 |
+
"acc@0.5": 0.57125,
|
| 53 |
+
"test_n": 400,
|
| 54 |
+
"test_f1@tuned": 0.6307053941908715,
|
| 55 |
+
"test_fpr@tuned": 0.631578947368421,
|
| 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.521341463414634,
|
| 63 |
+
"acc@0.5": 0.6075,
|
| 64 |
+
"test_n": 400,
|
| 65 |
+
"test_f1@tuned": 0.3397683397683398,
|
| 66 |
+
"test_fpr@tuned": 0.0975609756097561,
|
| 67 |
+
"tuned_thr": 0.71,
|
| 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.055865921787709494,
|
| 77 |
+
"test_fpr@tuned": 0.008771929824561403,
|
| 78 |
+
"tuned_thr": 0.3,
|
| 79 |
+
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 80 |
+
},
|
| 81 |
+
"textdetox_hi": {
|
| 82 |
+
"n": 800,
|
| 83 |
+
"unsafe": 409,
|
| 84 |
+
"f1@0.5": 0.0,
|
| 85 |
+
"acc@0.5": 0.48875,
|
| 86 |
+
"test_n": 400,
|
| 87 |
+
"test_f1@tuned": 0.0,
|
| 88 |
+
"test_fpr@tuned": 0.0,
|
| 89 |
+
"tuned_thr": 0.3,
|
| 90 |
+
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 91 |
+
},
|
| 92 |
+
"textdetox_hin": {
|
| 93 |
+
"n": 800,
|
| 94 |
+
"unsafe": 394,
|
| 95 |
+
"f1@0.5": 0.47694753577106525,
|
| 96 |
+
"acc@0.5": 0.58875,
|
| 97 |
+
"test_n": 400,
|
| 98 |
+
"test_f1@tuned": 0.17543859649122806,
|
| 99 |
+
"test_fpr@tuned": 0.06341463414634146,
|
| 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.5784313725490198,
|
| 107 |
+
"acc@0.5": 0.57,
|
| 108 |
+
"test_n": 400,
|
| 109 |
+
"test_f1@tuned": 0.583756345177665,
|
| 110 |
+
"test_fpr@tuned": 0.41545893719806765,
|
| 111 |
+
"tuned_thr": 0.5,
|
| 112 |
+
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 113 |
+
},
|
| 114 |
+
"textdetox_ja": {
|
| 115 |
+
"n": 800,
|
| 116 |
+
"unsafe": 409,
|
| 117 |
+
"f1@0.5": 0.0,
|
| 118 |
+
"acc@0.5": 0.48875,
|
| 119 |
+
"test_n": 400,
|
| 120 |
+
"test_f1@tuned": 0.0,
|
| 121 |
+
"test_fpr@tuned": 0.0,
|
| 122 |
+
"tuned_thr": 0.3,
|
| 123 |
+
"note": "thr tuned on tune half (FPR<=5% benign, floor 0.3); F1/FPR on test half"
|
| 124 |
+
},
|
| 125 |
+
"textdetox_ru": {
|
| 126 |
+
"n": 800,
|
| 127 |
+
"unsafe": 391,
|
| 128 |
+
"f1@0.5": 0.39530988274706863,
|
| 129 |
+
"acc@0.5": 0.54875,
|
| 130 |
+
"test_n": 400,
|
| 131 |
+
"test_f1@tuned": 0.19913419913419914,
|
| 132 |
+
"test_fpr@tuned": 0.06796116504854369,
|
| 133 |
+
"tuned_thr": 0.63,
|
| 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.5113788487282463,
|
| 140 |
+
"acc@0.5": 0.54375,
|
| 141 |
+
"test_n": 400,
|
| 142 |
+
"test_f1@tuned": 0.5080213903743316,
|
| 143 |
+
"test_fpr@tuned": 0.38578680203045684,
|
| 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.3771626297577855,
|
| 151 |
+
"acc@0.5": 0.55,
|
| 152 |
+
"test_n": 400,
|
| 153 |
+
"test_f1@tuned": 0.1981981981981982,
|
| 154 |
+
"test_fpr@tuned": 0.06103286384976526,
|
| 155 |
+
"tuned_thr": 0.64,
|
| 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.019138755980861243,
|
| 162 |
+
"acc@0.5": 0.4875,
|
| 163 |
+
"test_n": 400,
|
| 164 |
+
"test_f1@tuned": 0.06572769953051644,
|
| 165 |
+
"test_fpr@tuned": 0.020202020202020204,
|
| 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,
|
| 177 |
+
"unsafe": 150,
|
| 178 |
+
"f1@0.5": 1.0,
|
| 179 |
+
"acc@0.5": 1.0
|
| 180 |
+
},
|
| 181 |
+
"synth_es": {
|
| 182 |
+
"n": 300,
|
| 183 |
+
"unsafe": 150,
|
| 184 |
+
"f1@0.5": 1.0,
|
| 185 |
+
"acc@0.5": 1.0
|
| 186 |
+
},
|
| 187 |
+
"synth_fr": {
|
| 188 |
+
"n": 300,
|
| 189 |
+
"unsafe": 150,
|
| 190 |
+
"f1@0.5": 1.0,
|
| 191 |
+
"acc@0.5": 1.0
|
| 192 |
+
}
|
| 193 |
+
}
|
| 194 |
+
}
|