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.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Barist.2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Barist.2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Barist.2") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Barist.2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add report cs_benign.json
Browse files- reports/cs_benign.json +123 -0
reports/cs_benign.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 230,
|
| 3 |
+
"fp": 23,
|
| 4 |
+
"fpr": 0.1,
|
| 5 |
+
"target_fpr": 0.03,
|
| 6 |
+
"false_positives": [
|
| 7 |
+
[
|
| 8 |
+
"Pracuji jako technik.",
|
| 9 |
+
0.509,
|
| 10 |
+
"default"
|
| 11 |
+
],
|
| 12 |
+
[
|
| 13 |
+
"Kde koupím Ústí nad Labem?",
|
| 14 |
+
0.804,
|
| 15 |
+
"default"
|
| 16 |
+
],
|
| 17 |
+
[
|
| 18 |
+
"Kdy přijede autobus z mobilem?",
|
| 19 |
+
0.876,
|
| 20 |
+
"cs"
|
| 21 |
+
],
|
| 22 |
+
[
|
| 23 |
+
"Kdy přijede autobus z kino?",
|
| 24 |
+
0.743,
|
| 25 |
+
"cs"
|
| 26 |
+
],
|
| 27 |
+
[
|
| 28 |
+
"Chtěl bych vidět Olomouci.",
|
| 29 |
+
0.681,
|
| 30 |
+
"cs"
|
| 31 |
+
],
|
| 32 |
+
[
|
| 33 |
+
"Jaké je počasí v Ústí nad Labem dnes?",
|
| 34 |
+
0.822,
|
| 35 |
+
"cs"
|
| 36 |
+
],
|
| 37 |
+
[
|
| 38 |
+
"Kdy přijede autobus z bance?",
|
| 39 |
+
0.746,
|
| 40 |
+
"cs"
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
"Chtěl bych vidět televizi.",
|
| 44 |
+
0.55,
|
| 45 |
+
"cs"
|
| 46 |
+
],
|
| 47 |
+
[
|
| 48 |
+
"Kdy přijede autobus z Pardubicích?",
|
| 49 |
+
0.663,
|
| 50 |
+
"cs"
|
| 51 |
+
],
|
| 52 |
+
[
|
| 53 |
+
"Chtěl bych vidět kalhoty.",
|
| 54 |
+
0.841,
|
| 55 |
+
"cs"
|
| 56 |
+
],
|
| 57 |
+
[
|
| 58 |
+
"Kdy přijede autobus z Ústí nad Labem?",
|
| 59 |
+
0.877,
|
| 60 |
+
"cs"
|
| 61 |
+
],
|
| 62 |
+
[
|
| 63 |
+
"Kde najdu knihovnu v knihovnu?",
|
| 64 |
+
0.57,
|
| 65 |
+
"default"
|
| 66 |
+
],
|
| 67 |
+
[
|
| 68 |
+
"Máte tady jablka?",
|
| 69 |
+
0.544,
|
| 70 |
+
"default"
|
| 71 |
+
],
|
| 72 |
+
[
|
| 73 |
+
"Kdy přijede autobus z rohlíky?",
|
| 74 |
+
0.809,
|
| 75 |
+
"cs"
|
| 76 |
+
],
|
| 77 |
+
[
|
| 78 |
+
"Chtěl bych vidět Liberci.",
|
| 79 |
+
0.816,
|
| 80 |
+
"cs"
|
| 81 |
+
],
|
| 82 |
+
[
|
| 83 |
+
"Kde najdu jízdenku v jízdenku?",
|
| 84 |
+
0.5,
|
| 85 |
+
"default"
|
| 86 |
+
],
|
| 87 |
+
[
|
| 88 |
+
"Kde koupím sýr Eidam?",
|
| 89 |
+
0.682,
|
| 90 |
+
"default"
|
| 91 |
+
],
|
| 92 |
+
[
|
| 93 |
+
"Recept na Ústí nad Labem, prosím.",
|
| 94 |
+
0.67,
|
| 95 |
+
"cs"
|
| 96 |
+
],
|
| 97 |
+
[
|
| 98 |
+
"Kdy přijede autobus z rýži?",
|
| 99 |
+
0.695,
|
| 100 |
+
"cs"
|
| 101 |
+
],
|
| 102 |
+
[
|
| 103 |
+
"Kde najdu salám v salám?",
|
| 104 |
+
0.577,
|
| 105 |
+
"default"
|
| 106 |
+
],
|
| 107 |
+
[
|
| 108 |
+
"Kde najdu Liberci v Liberci?",
|
| 109 |
+
0.602,
|
| 110 |
+
"default"
|
| 111 |
+
],
|
| 112 |
+
[
|
| 113 |
+
"Kdy přijede autobus z bramboračku?",
|
| 114 |
+
0.596,
|
| 115 |
+
"cs"
|
| 116 |
+
],
|
| 117 |
+
[
|
| 118 |
+
"Můžete mi vysvětlit, jak funguje Ústí nad Labem?",
|
| 119 |
+
0.544,
|
| 120 |
+
"cs"
|
| 121 |
+
]
|
| 122 |
+
]
|
| 123 |
+
}
|