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.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Barist.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Barist.1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Barist.1") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Barist.1", 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_b1l/best.pt",
|
| 3 |
+
"split": "test",
|
| 4 |
+
"at_0.5": {
|
| 5 |
+
"threshold": 0.5,
|
| 6 |
+
"accuracy": 0.8556034482758621,
|
| 7 |
+
"precision": 0.8614630159378831,
|
| 8 |
+
"recall": 0.7787218322866643,
|
| 9 |
+
"f1": 0.8180054326736516,
|
| 10 |
+
"tp": 2108,
|
| 11 |
+
"fp": 339,
|
| 12 |
+
"tn": 3450,
|
| 13 |
+
"fn": 599,
|
| 14 |
+
"total": 6496
|
| 15 |
+
},
|
| 16 |
+
"best": {
|
| 17 |
+
"threshold": 0.35,
|
| 18 |
+
"accuracy": 0.8577586206896551,
|
| 19 |
+
"precision": 0.8100869565217391,
|
| 20 |
+
"recall": 0.8603620243812339,
|
| 21 |
+
"f1": 0.8344679326406307,
|
| 22 |
+
"tp": 2329,
|
| 23 |
+
"fp": 546,
|
| 24 |
+
"tn": 3243,
|
| 25 |
+
"fn": 378,
|
| 26 |
+
"total": 6496
|
| 27 |
+
},
|
| 28 |
+
"per_source": {
|
| 29 |
+
"civil_comments": {
|
| 30 |
+
"threshold": 0.5,
|
| 31 |
+
"accuracy": 0.8400581606688476,
|
| 32 |
+
"precision": 0.8135802469135802,
|
| 33 |
+
"recall": 0.6951476793248945,
|
| 34 |
+
"f1": 0.7497155858930602,
|
| 35 |
+
"tp": 659,
|
| 36 |
+
"fp": 151,
|
| 37 |
+
"tn": 1652,
|
| 38 |
+
"fn": 289,
|
| 39 |
+
"total": 2751
|
| 40 |
+
},
|
| 41 |
+
"jigsaw": {
|
| 42 |
+
"threshold": 0.5,
|
| 43 |
+
"accuracy": 0.8979824895317853,
|
| 44 |
+
"precision": 0.8841743119266054,
|
| 45 |
+
"recall": 0.8219616204690832,
|
| 46 |
+
"f1": 0.8519337016574585,
|
| 47 |
+
"tp": 771,
|
| 48 |
+
"fp": 101,
|
| 49 |
+
"tn": 1588,
|
| 50 |
+
"fn": 167,
|
| 51 |
+
"total": 2627
|
| 52 |
+
},
|
| 53 |
+
"aegis": {
|
| 54 |
+
"threshold": 0.5,
|
| 55 |
+
"accuracy": 0.8165137614678899,
|
| 56 |
+
"precision": 0.9362186788154897,
|
| 57 |
+
"recall": 0.8509316770186336,
|
| 58 |
+
"f1": 0.8915401301518439,
|
| 59 |
+
"tp": 411,
|
| 60 |
+
"fp": 28,
|
| 61 |
+
"tn": 34,
|
| 62 |
+
"fn": 72,
|
| 63 |
+
"total": 545
|
| 64 |
+
},
|
| 65 |
+
"beavertails": {
|
| 66 |
+
"threshold": 0.5,
|
| 67 |
+
"accuracy": 0.7727272727272727,
|
| 68 |
+
"precision": 0.8821548821548821,
|
| 69 |
+
"recall": 0.8397435897435898,
|
| 70 |
+
"f1": 0.8604269293924467,
|
| 71 |
+
"tp": 262,
|
| 72 |
+
"fp": 35,
|
| 73 |
+
"tn": 27,
|
| 74 |
+
"fn": 50,
|
| 75 |
+
"total": 374
|
| 76 |
+
},
|
| 77 |
+
"dolly": {
|
| 78 |
+
"threshold": 0.5,
|
| 79 |
+
"accuracy": 0.8785714285714286,
|
| 80 |
+
"precision": 0.0,
|
| 81 |
+
"recall": 0.0,
|
| 82 |
+
"f1": 0.0,
|
| 83 |
+
"tp": 0,
|
| 84 |
+
"fp": 17,
|
| 85 |
+
"tn": 123,
|
| 86 |
+
"fn": 0,
|
| 87 |
+
"total": 140
|
| 88 |
+
},
|
| 89 |
+
"toxic_chat": {
|
| 90 |
+
"threshold": 0.5,
|
| 91 |
+
"accuracy": 0.5254237288135594,
|
| 92 |
+
"precision": 0.4166666666666667,
|
| 93 |
+
"recall": 0.19230769230769232,
|
| 94 |
+
"f1": 0.2631578947368421,
|
| 95 |
+
"tp": 5,
|
| 96 |
+
"fp": 7,
|
| 97 |
+
"tn": 26,
|
| 98 |
+
"fn": 21,
|
| 99 |
+
"total": 59
|
| 100 |
+
}
|
| 101 |
+
},
|
| 102 |
+
"model_metrics": {
|
| 103 |
+
"loss": 0.35118689903846156,
|
| 104 |
+
"accuracy": 0.8583143507972665,
|
| 105 |
+
"precision": 0.8544031311154598,
|
| 106 |
+
"recall": 0.7955539358600583,
|
| 107 |
+
"f1": 0.823929043215701,
|
| 108 |
+
"tp": 2183,
|
| 109 |
+
"fp": 372,
|
| 110 |
+
"tn": 3469,
|
| 111 |
+
"fn": 561
|
| 112 |
+
}
|
| 113 |
+
}
|