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 eval_test.json
Browse files- reports/eval_test.json +113 -0
reports/eval_test.json
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint": "checkpoints_b4b/best.pt",
|
| 3 |
+
"split": "test",
|
| 4 |
+
"at_0.5": {
|
| 5 |
+
"threshold": 0.5,
|
| 6 |
+
"accuracy": 0.8569889162561576,
|
| 7 |
+
"precision": 0.8527777777777777,
|
| 8 |
+
"recall": 0.7938677502770595,
|
| 9 |
+
"f1": 0.8222689879471973,
|
| 10 |
+
"tp": 2149,
|
| 11 |
+
"fp": 371,
|
| 12 |
+
"tn": 3418,
|
| 13 |
+
"fn": 558,
|
| 14 |
+
"total": 6496
|
| 15 |
+
},
|
| 16 |
+
"best": {
|
| 17 |
+
"threshold": 0.4,
|
| 18 |
+
"accuracy": 0.8549876847290641,
|
| 19 |
+
"precision": 0.8086743616649178,
|
| 20 |
+
"recall": 0.8540820096047285,
|
| 21 |
+
"f1": 0.8307581746316923,
|
| 22 |
+
"tp": 2312,
|
| 23 |
+
"fp": 547,
|
| 24 |
+
"tn": 3242,
|
| 25 |
+
"fn": 395,
|
| 26 |
+
"total": 6496
|
| 27 |
+
},
|
| 28 |
+
"per_source": {
|
| 29 |
+
"civil_comments": {
|
| 30 |
+
"threshold": 0.5,
|
| 31 |
+
"accuracy": 0.8400581606688476,
|
| 32 |
+
"precision": 0.8031026252983293,
|
| 33 |
+
"recall": 0.709915611814346,
|
| 34 |
+
"f1": 0.753639417693169,
|
| 35 |
+
"tp": 673,
|
| 36 |
+
"fp": 165,
|
| 37 |
+
"tn": 1638,
|
| 38 |
+
"fn": 275,
|
| 39 |
+
"total": 2751
|
| 40 |
+
},
|
| 41 |
+
"jigsaw": {
|
| 42 |
+
"threshold": 0.5,
|
| 43 |
+
"accuracy": 0.8983631518842786,
|
| 44 |
+
"precision": 0.8740245261984393,
|
| 45 |
+
"recall": 0.835820895522388,
|
| 46 |
+
"f1": 0.8544959128065396,
|
| 47 |
+
"tp": 784,
|
| 48 |
+
"fp": 113,
|
| 49 |
+
"tn": 1576,
|
| 50 |
+
"fn": 154,
|
| 51 |
+
"total": 2627
|
| 52 |
+
},
|
| 53 |
+
"aegis": {
|
| 54 |
+
"threshold": 0.5,
|
| 55 |
+
"accuracy": 0.8220183486238533,
|
| 56 |
+
"precision": 0.9346846846846847,
|
| 57 |
+
"recall": 0.8592132505175983,
|
| 58 |
+
"f1": 0.8953613807982741,
|
| 59 |
+
"tp": 415,
|
| 60 |
+
"fp": 29,
|
| 61 |
+
"tn": 33,
|
| 62 |
+
"fn": 68,
|
| 63 |
+
"total": 545
|
| 64 |
+
},
|
| 65 |
+
"beavertails": {
|
| 66 |
+
"threshold": 0.5,
|
| 67 |
+
"accuracy": 0.7887700534759359,
|
| 68 |
+
"precision": 0.8770226537216829,
|
| 69 |
+
"recall": 0.8685897435897436,
|
| 70 |
+
"f1": 0.8727858293075685,
|
| 71 |
+
"tp": 271,
|
| 72 |
+
"fp": 38,
|
| 73 |
+
"tn": 24,
|
| 74 |
+
"fn": 41,
|
| 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.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.34119591346153844,
|
| 104 |
+
"accuracy": 0.8560364464692483,
|
| 105 |
+
"precision": 0.8424866514111365,
|
| 106 |
+
"recall": 0.8050291545189504,
|
| 107 |
+
"f1": 0.8233320909429742,
|
| 108 |
+
"tp": 2209,
|
| 109 |
+
"fp": 413,
|
| 110 |
+
"tn": 3428,
|
| 111 |
+
"fn": 535
|
| 112 |
+
}
|
| 113 |
+
}
|