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.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Barist.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Barist.5")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Barist.5") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Barist.5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,108 Bytes
93ad67a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | {
"n": 230,
"fp": 13,
"fpr": 0.05652173913043478,
"target_fpr": 0.03,
"false_positives": [
[
"Pracuji jako technik.",
0.585,
"default"
],
[
"Kde koupím Ústí nad Labem?",
0.535,
"default"
],
[
"Kdy přijede autobus z mobilem?",
0.744,
"cs"
],
[
"Chtěl bych vidět Olomouci.",
0.727,
"cs"
],
[
"Jaké je počasí v Ústí nad Labem dnes?",
0.505,
"cs"
],
[
"Chtěl bych vidět televizi.",
0.564,
"cs"
],
[
"Chtěl bych vidět kalhoty.",
0.837,
"cs"
],
[
"Kdy přijede autobus z Ústí nad Labem?",
0.672,
"cs"
],
[
"Kdy přijede autobus z rohlíky?",
0.519,
"cs"
],
[
"Chtěl bych vidět Liberci.",
0.85,
"cs"
],
[
"Chtěl bych vidět poště.",
0.51,
"cs"
],
[
"Jak uvařím Brně?",
0.505,
"cs"
],
[
"Kde najdu Liberci v Liberci?",
0.572,
"default"
]
]
} |