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.4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Barist.4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Barist.4")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Barist.4") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Barist.4", 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_b4b/best.pt",
|
| 3 |
+
"results": {
|
| 4 |
+
"textdetox_am": {
|
| 5 |
+
"n": 800,
|
| 6 |
+
"unsafe": 385,
|
| 7 |
+
"f1@0.5": 0.3576982892690513,
|
| 8 |
+
"acc@0.5": 0.48375,
|
| 9 |
+
"test_n": 400,
|
| 10 |
+
"test_f1@tuned": 0.12903225806451613,
|
| 11 |
+
"test_fpr@tuned": 0.07075471698113207,
|
| 12 |
+
"tuned_thr": 0.73,
|
| 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.005154639175257732,
|
| 19 |
+
"acc@0.5": 0.5175,
|
| 20 |
+
"test_n": 400,
|
| 21 |
+
"test_f1@tuned": 0.00970873786407767,
|
| 22 |
+
"test_fpr@tuned": 0.00510204081632653,
|
| 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.5575447570332481,
|
| 30 |
+
"acc@0.5": 0.5675,
|
| 31 |
+
"test_n": 400,
|
| 32 |
+
"test_f1@tuned": 0.558139534883721,
|
| 33 |
+
"test_fpr@tuned": 0.4238095238095238,
|
| 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.8130630630630631,
|
| 41 |
+
"acc@0.5": 0.7925,
|
| 42 |
+
"test_n": 400,
|
| 43 |
+
"test_f1@tuned": 0.8143176733780761,
|
| 44 |
+
"test_fpr@tuned": 0.3382352941176471,
|
| 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.6155580608793686,
|
| 52 |
+
"acc@0.5": 0.57375,
|
| 53 |
+
"test_n": 400,
|
| 54 |
+
"test_f1@tuned": 0.6469248291571753,
|
| 55 |
+
"test_fpr@tuned": 0.47715736040609136,
|
| 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.48562300319488816,
|
| 63 |
+
"acc@0.5": 0.5975,
|
| 64 |
+
"test_n": 400,
|
| 65 |
+
"test_f1@tuned": 0.2845849802371541,
|
| 66 |
+
"test_fpr@tuned": 0.031746031746031744,
|
| 67 |
+
"tuned_thr": 0.74,
|
| 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.06857142857142856,
|
| 77 |
+
"test_fpr@tuned": 0.01702127659574468,
|
| 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.4366666666666667,
|
| 96 |
+
"acc@0.5": 0.5775,
|
| 97 |
+
"test_n": 400,
|
| 98 |
+
"test_f1@tuned": 0.16806722689075632,
|
| 99 |
+
"test_fpr@tuned": 0.08080808080808081,
|
| 100 |
+
"tuned_thr": 0.7,
|
| 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.565989847715736,
|
| 107 |
+
"acc@0.5": 0.5725,
|
| 108 |
+
"test_n": 400,
|
| 109 |
+
"test_f1@tuned": 0.5378590078328981,
|
| 110 |
+
"test_fpr@tuned": 0.4088669950738916,
|
| 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.6155507559395248,
|
| 129 |
+
"acc@0.5": 0.555,
|
| 130 |
+
"test_n": 400,
|
| 131 |
+
"test_f1@tuned": 0.14746543778801843,
|
| 132 |
+
"test_fpr@tuned": 0.05687203791469194,
|
| 133 |
+
"tuned_thr": 0.69,
|
| 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.6080347448425624,
|
| 140 |
+
"acc@0.5": 0.54875,
|
| 141 |
+
"test_n": 400,
|
| 142 |
+
"test_f1@tuned": 0.11607142857142858,
|
| 143 |
+
"test_fpr@tuned": 0.05970149253731343,
|
| 144 |
+
"tuned_thr": 0.75,
|
| 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.5525672371638141,
|
| 151 |
+
"acc@0.5": 0.5425,
|
| 152 |
+
"test_n": 400,
|
| 153 |
+
"test_f1@tuned": 0.20535714285714285,
|
| 154 |
+
"test_fpr@tuned": 0.03864734299516908,
|
| 155 |
+
"tuned_thr": 0.7,
|
| 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.0332541567695962,
|
| 162 |
+
"acc@0.5": 0.49125,
|
| 163 |
+
"test_n": 400,
|
| 164 |
+
"test_f1@tuned": 0.08411214953271028,
|
| 165 |
+
"test_fpr@tuned": 0.025,
|
| 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": 0.98989898989899,
|
| 173 |
+
"acc@0.5": 0.99
|
| 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 |
+
}
|