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.6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Barist.6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Barist.6")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Barist.6") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Barist.6", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add report eval_test.json
Browse files- reports/eval_test.json +113 -0
reports/eval_test.json
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint": "checkpoints_b6b/best.pt",
|
| 3 |
+
"split": "test",
|
| 4 |
+
"at_0.5": {
|
| 5 |
+
"threshold": 0.5,
|
| 6 |
+
"accuracy": 0.8568349753694581,
|
| 7 |
+
"precision": 0.8527193330686781,
|
| 8 |
+
"recall": 0.7934983376431474,
|
| 9 |
+
"f1": 0.8220436280137773,
|
| 10 |
+
"tp": 2148,
|
| 11 |
+
"fp": 371,
|
| 12 |
+
"tn": 3418,
|
| 13 |
+
"fn": 559,
|
| 14 |
+
"total": 6496
|
| 15 |
+
},
|
| 16 |
+
"best": {
|
| 17 |
+
"threshold": 0.43,
|
| 18 |
+
"accuracy": 0.8568349753694581,
|
| 19 |
+
"precision": 0.8199495858840475,
|
| 20 |
+
"recall": 0.8411525674178056,
|
| 21 |
+
"f1": 0.8304157549234136,
|
| 22 |
+
"tp": 2277,
|
| 23 |
+
"fp": 500,
|
| 24 |
+
"tn": 3289,
|
| 25 |
+
"fn": 430,
|
| 26 |
+
"total": 6496
|
| 27 |
+
},
|
| 28 |
+
"per_source": {
|
| 29 |
+
"civil_comments": {
|
| 30 |
+
"threshold": 0.5,
|
| 31 |
+
"accuracy": 0.8404216648491457,
|
| 32 |
+
"precision": 0.8026159334126041,
|
| 33 |
+
"recall": 0.7120253164556962,
|
| 34 |
+
"f1": 0.7546115148127445,
|
| 35 |
+
"tp": 675,
|
| 36 |
+
"fp": 166,
|
| 37 |
+
"tn": 1637,
|
| 38 |
+
"fn": 273,
|
| 39 |
+
"total": 2751
|
| 40 |
+
},
|
| 41 |
+
"jigsaw": {
|
| 42 |
+
"threshold": 0.5,
|
| 43 |
+
"accuracy": 0.8979824895317853,
|
| 44 |
+
"precision": 0.875560538116592,
|
| 45 |
+
"recall": 0.8326226012793176,
|
| 46 |
+
"f1": 0.853551912568306,
|
| 47 |
+
"tp": 781,
|
| 48 |
+
"fp": 111,
|
| 49 |
+
"tn": 1578,
|
| 50 |
+
"fn": 157,
|
| 51 |
+
"total": 2627
|
| 52 |
+
},
|
| 53 |
+
"aegis": {
|
| 54 |
+
"threshold": 0.5,
|
| 55 |
+
"accuracy": 0.8238532110091743,
|
| 56 |
+
"precision": 0.9348314606741573,
|
| 57 |
+
"recall": 0.8612836438923396,
|
| 58 |
+
"f1": 0.896551724137931,
|
| 59 |
+
"tp": 416,
|
| 60 |
+
"fp": 29,
|
| 61 |
+
"tn": 33,
|
| 62 |
+
"fn": 67,
|
| 63 |
+
"total": 545
|
| 64 |
+
},
|
| 65 |
+
"beavertails": {
|
| 66 |
+
"threshold": 0.5,
|
| 67 |
+
"accuracy": 0.786096256684492,
|
| 68 |
+
"precision": 0.8766233766233766,
|
| 69 |
+
"recall": 0.8653846153846154,
|
| 70 |
+
"f1": 0.8709677419354839,
|
| 71 |
+
"tp": 270,
|
| 72 |
+
"fp": 38,
|
| 73 |
+
"tn": 24,
|
| 74 |
+
"fn": 42,
|
| 75 |
+
"total": 374
|
| 76 |
+
},
|
| 77 |
+
"dolly": {
|
| 78 |
+
"threshold": 0.5,
|
| 79 |
+
"accuracy": 0.8714285714285714,
|
| 80 |
+
"precision": 0.0,
|
| 81 |
+
"recall": 0.0,
|
| 82 |
+
"f1": 0.0,
|
| 83 |
+
"tp": 0,
|
| 84 |
+
"fp": 18,
|
| 85 |
+
"tn": 122,
|
| 86 |
+
"fn": 0,
|
| 87 |
+
"total": 140
|
| 88 |
+
},
|
| 89 |
+
"toxic_chat": {
|
| 90 |
+
"threshold": 0.5,
|
| 91 |
+
"accuracy": 0.5084745762711864,
|
| 92 |
+
"precision": 0.4,
|
| 93 |
+
"recall": 0.23076923076923078,
|
| 94 |
+
"f1": 0.29268292682926833,
|
| 95 |
+
"tp": 6,
|
| 96 |
+
"fp": 9,
|
| 97 |
+
"tn": 24,
|
| 98 |
+
"fn": 20,
|
| 99 |
+
"total": 59
|
| 100 |
+
}
|
| 101 |
+
},
|
| 102 |
+
"model_metrics": {
|
| 103 |
+
"loss": 0.3375901442307692,
|
| 104 |
+
"accuracy": 0.8572513287775246,
|
| 105 |
+
"precision": 0.84375,
|
| 106 |
+
"recall": 0.8068513119533528,
|
| 107 |
+
"f1": 0.8248882265275708,
|
| 108 |
+
"tp": 2214,
|
| 109 |
+
"fp": 410,
|
| 110 |
+
"tn": 3431,
|
| 111 |
+
"fn": 530
|
| 112 |
+
}
|
| 113 |
+
}
|