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 eval_test.json
Browse files- reports/eval_test.json +113 -0
reports/eval_test.json
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint": "checkpoints_b7b/best.pt",
|
| 3 |
+
"split": "test",
|
| 4 |
+
"at_0.5": {
|
| 5 |
+
"threshold": 0.5,
|
| 6 |
+
"accuracy": 0.8568349753694581,
|
| 7 |
+
"precision": 0.8507698381365969,
|
| 8 |
+
"recall": 0.796084226080532,
|
| 9 |
+
"f1": 0.8225190839694656,
|
| 10 |
+
"tp": 2155,
|
| 11 |
+
"fp": 378,
|
| 12 |
+
"tn": 3411,
|
| 13 |
+
"fn": 552,
|
| 14 |
+
"total": 6496
|
| 15 |
+
},
|
| 16 |
+
"best": {
|
| 17 |
+
"threshold": 0.41,
|
| 18 |
+
"accuracy": 0.853448275862069,
|
| 19 |
+
"precision": 0.8054298642533937,
|
| 20 |
+
"recall": 0.8548208348725527,
|
| 21 |
+
"f1": 0.8293906810035843,
|
| 22 |
+
"tp": 2314,
|
| 23 |
+
"fp": 559,
|
| 24 |
+
"tn": 3230,
|
| 25 |
+
"fn": 393,
|
| 26 |
+
"total": 6496
|
| 27 |
+
},
|
| 28 |
+
"per_source": {
|
| 29 |
+
"civil_comments": {
|
| 30 |
+
"threshold": 0.5,
|
| 31 |
+
"accuracy": 0.841148673209742,
|
| 32 |
+
"precision": 0.800942285041225,
|
| 33 |
+
"recall": 0.7172995780590717,
|
| 34 |
+
"f1": 0.756816917084029,
|
| 35 |
+
"tp": 680,
|
| 36 |
+
"fp": 169,
|
| 37 |
+
"tn": 1634,
|
| 38 |
+
"fn": 268,
|
| 39 |
+
"total": 2751
|
| 40 |
+
},
|
| 41 |
+
"jigsaw": {
|
| 42 |
+
"threshold": 0.5,
|
| 43 |
+
"accuracy": 0.8979824895317853,
|
| 44 |
+
"precision": 0.8738839285714286,
|
| 45 |
+
"recall": 0.8347547974413646,
|
| 46 |
+
"f1": 0.8538713195201746,
|
| 47 |
+
"tp": 783,
|
| 48 |
+
"fp": 113,
|
| 49 |
+
"tn": 1576,
|
| 50 |
+
"fn": 155,
|
| 51 |
+
"total": 2627
|
| 52 |
+
},
|
| 53 |
+
"aegis": {
|
| 54 |
+
"threshold": 0.5,
|
| 55 |
+
"accuracy": 0.8220183486238533,
|
| 56 |
+
"precision": 0.9327354260089686,
|
| 57 |
+
"recall": 0.8612836438923396,
|
| 58 |
+
"f1": 0.8955866523143164,
|
| 59 |
+
"tp": 416,
|
| 60 |
+
"fp": 30,
|
| 61 |
+
"tn": 32,
|
| 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.8642857142857143,
|
| 80 |
+
"precision": 0.0,
|
| 81 |
+
"recall": 0.0,
|
| 82 |
+
"f1": 0.0,
|
| 83 |
+
"tp": 0,
|
| 84 |
+
"fp": 19,
|
| 85 |
+
"tn": 121,
|
| 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.3378155048076923,
|
| 104 |
+
"accuracy": 0.8570994684889901,
|
| 105 |
+
"precision": 0.8413479742521772,
|
| 106 |
+
"recall": 0.8097667638483965,
|
| 107 |
+
"f1": 0.825255338904364,
|
| 108 |
+
"tp": 2222,
|
| 109 |
+
"fp": 419,
|
| 110 |
+
"tn": 3422,
|
| 111 |
+
"fn": 522
|
| 112 |
+
}
|
| 113 |
+
}
|