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.7 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Barist.7 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Barist.7")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Barist.7") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Barist.7", 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_b7b/best.pt",
|
| 3 |
+
"results": {
|
| 4 |
+
"textdetox_am": {
|
| 5 |
+
"n": 800,
|
| 6 |
+
"unsafe": 385,
|
| 7 |
+
"f1@0.5": 0.46797385620915033,
|
| 8 |
+
"acc@0.5": 0.49125,
|
| 9 |
+
"test_n": 400,
|
| 10 |
+
"test_f1@tuned": 0.49489795918367346,
|
| 11 |
+
"test_fpr@tuned": 0.475,
|
| 12 |
+
"tuned_thr": 0.5,
|
| 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.0,
|
| 22 |
+
"test_fpr@tuned": 0.0,
|
| 23 |
+
"tuned_thr": 0.39,
|
| 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.5696361355081555,
|
| 30 |
+
"acc@0.5": 0.57125,
|
| 31 |
+
"test_n": 400,
|
| 32 |
+
"test_f1@tuned": 0.5532994923857868,
|
| 33 |
+
"test_fpr@tuned": 0.4362745098039216,
|
| 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.8097886540600666,
|
| 41 |
+
"acc@0.5": 0.78625,
|
| 42 |
+
"test_n": 400,
|
| 43 |
+
"test_f1@tuned": 0.8286334056399132,
|
| 44 |
+
"test_fpr@tuned": 0.336734693877551,
|
| 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.6160815402038504,
|
| 52 |
+
"acc@0.5": 0.57625,
|
| 53 |
+
"test_n": 400,
|
| 54 |
+
"test_f1@tuned": 0.631336405529954,
|
| 55 |
+
"test_fpr@tuned": 0.48756218905472637,
|
| 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.4984423676012461,
|
| 63 |
+
"acc@0.5": 0.5975,
|
| 64 |
+
"test_n": 400,
|
| 65 |
+
"test_f1@tuned": 0.2796610169491525,
|
| 66 |
+
"test_fpr@tuned": 0.05741626794258373,
|
| 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.03488372093023256,
|
| 74 |
+
"acc@0.5": 0.585,
|
| 75 |
+
"test_n": 400,
|
| 76 |
+
"test_f1@tuned": 0.1368421052631579,
|
| 77 |
+
"test_fpr@tuned": 0.01762114537444934,
|
| 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.4411764705882353,
|
| 96 |
+
"acc@0.5": 0.5725,
|
| 97 |
+
"test_n": 400,
|
| 98 |
+
"test_f1@tuned": 0.11555555555555556,
|
| 99 |
+
"test_fpr@tuned": 0.04568527918781726,
|
| 100 |
+
"tuned_thr": 0.74,
|
| 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.5588972431077694,
|
| 107 |
+
"acc@0.5": 0.56,
|
| 108 |
+
"test_n": 400,
|
| 109 |
+
"test_f1@tuned": 0.20408163265306123,
|
| 110 |
+
"test_fpr@tuned": 0.08163265306122448,
|
| 111 |
+
"tuned_thr": 0.74,
|
| 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.5731414868105515,
|
| 129 |
+
"acc@0.5": 0.555,
|
| 130 |
+
"test_n": 400,
|
| 131 |
+
"test_f1@tuned": 0.24505928853754938,
|
| 132 |
+
"test_fpr@tuned": 0.11,
|
| 133 |
+
"tuned_thr": 0.62,
|
| 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.5711009174311926,
|
| 140 |
+
"acc@0.5": 0.5325,
|
| 141 |
+
"test_n": 400,
|
| 142 |
+
"test_f1@tuned": 0.12556053811659193,
|
| 143 |
+
"test_fpr@tuned": 0.010362694300518135,
|
| 144 |
+
"tuned_thr": 0.74,
|
| 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.4888268156424581,
|
| 151 |
+
"acc@0.5": 0.5425,
|
| 152 |
+
"test_n": 400,
|
| 153 |
+
"test_f1@tuned": 0.12280701754385966,
|
| 154 |
+
"test_fpr@tuned": 0.041237113402061855,
|
| 155 |
+
"tuned_thr": 0.66,
|
| 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.028639618138424822,
|
| 162 |
+
"acc@0.5": 0.49125,
|
| 163 |
+
"test_n": 400,
|
| 164 |
+
"test_f1@tuned": 0.06542056074766356,
|
| 165 |
+
"test_fpr@tuned": 0.03015075376884422,
|
| 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.9932885906040269,
|
| 173 |
+
"acc@0.5": 0.9933333333333333
|
| 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 |
+
}
|