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/Censer.8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Censer.8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Censer.8")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Censer.8") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Censer.8", 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": "checkpoints8f/epoch2.pt",
|
| 3 |
+
"split": "test",
|
| 4 |
+
"at_0.5": {
|
| 5 |
+
"threshold": 0.5,
|
| 6 |
+
"accuracy": 0.8568349753694581,
|
| 7 |
+
"precision": 0.8622095393395842,
|
| 8 |
+
"recall": 0.7813077207240487,
|
| 9 |
+
"f1": 0.8197674418604651,
|
| 10 |
+
"tp": 2115,
|
| 11 |
+
"fp": 338,
|
| 12 |
+
"tn": 3451,
|
| 13 |
+
"fn": 592,
|
| 14 |
+
"total": 6496
|
| 15 |
+
},
|
| 16 |
+
"best": {
|
| 17 |
+
"threshold": 0.36,
|
| 18 |
+
"accuracy": 0.8592980295566502,
|
| 19 |
+
"precision": 0.8124782154060648,
|
| 20 |
+
"recall": 0.861100849649058,
|
| 21 |
+
"f1": 0.8360832137733142,
|
| 22 |
+
"tp": 2331,
|
| 23 |
+
"fp": 538,
|
| 24 |
+
"tn": 3251,
|
| 25 |
+
"fn": 376,
|
| 26 |
+
"total": 6496
|
| 27 |
+
},
|
| 28 |
+
"per_source": {
|
| 29 |
+
"civil_comments": {
|
| 30 |
+
"threshold": 0.5,
|
| 31 |
+
"accuracy": 0.8407851690294439,
|
| 32 |
+
"precision": 0.8171641791044776,
|
| 33 |
+
"recall": 0.6930379746835443,
|
| 34 |
+
"f1": 0.75,
|
| 35 |
+
"tp": 657,
|
| 36 |
+
"fp": 147,
|
| 37 |
+
"tn": 1656,
|
| 38 |
+
"fn": 291,
|
| 39 |
+
"total": 2751
|
| 40 |
+
},
|
| 41 |
+
"jigsaw": {
|
| 42 |
+
"threshold": 0.5,
|
| 43 |
+
"accuracy": 0.8968405024743052,
|
| 44 |
+
"precision": 0.8785471055618616,
|
| 45 |
+
"recall": 0.8251599147121536,
|
| 46 |
+
"f1": 0.8510170423309511,
|
| 47 |
+
"tp": 774,
|
| 48 |
+
"fp": 107,
|
| 49 |
+
"tn": 1582,
|
| 50 |
+
"fn": 164,
|
| 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.7887700534759359,
|
| 68 |
+
"precision": 0.8870431893687708,
|
| 69 |
+
"recall": 0.8557692307692307,
|
| 70 |
+
"f1": 0.8711256117455138,
|
| 71 |
+
"tp": 267,
|
| 72 |
+
"fp": 34,
|
| 73 |
+
"tn": 28,
|
| 74 |
+
"fn": 45,
|
| 75 |
+
"total": 374
|
| 76 |
+
},
|
| 77 |
+
"dolly": {
|
| 78 |
+
"threshold": 0.5,
|
| 79 |
+
"accuracy": 0.9071428571428571,
|
| 80 |
+
"precision": 0.0,
|
| 81 |
+
"recall": 0.0,
|
| 82 |
+
"f1": 0.0,
|
| 83 |
+
"tp": 0,
|
| 84 |
+
"fp": 13,
|
| 85 |
+
"tn": 127,
|
| 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.34900841346153844,
|
| 104 |
+
"accuracy": 0.8602885345482156,
|
| 105 |
+
"precision": 0.8590551181102363,
|
| 106 |
+
"recall": 0.7951895043731778,
|
| 107 |
+
"f1": 0.825889477668433,
|
| 108 |
+
"tp": 2182,
|
| 109 |
+
"fp": 358,
|
| 110 |
+
"tn": 3483,
|
| 111 |
+
"fn": 562
|
| 112 |
+
}
|
| 113 |
+
}
|