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
Download reports/probes_diff.json from KucLab/Barist.1: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/KucLab/Barist.1/resolve/ffa70a24fcbca02daec0022b45a3c89f099c8e21/reports/probes_diff.json
- Command line
-
hf download hf://KucLab/Barist.1@ffa70a24fcbca02daec0022b45a3c89f099c8e21/reports/probes_diff.json
-
curl -L -o probes_diff.json https://huggingface.co/KucLab/Barist.1/resolve/ffa70a24fcbca02daec0022b45a3c89f099c8e21/reports/probes_diff.json
1.09 kB
| { | |
| "results": { | |
| "Censer.5": { | |
| "correct": 95, | |
| "total": 97, | |
| "accuracy": 0.979381443298969 | |
| }, | |
| "Censer.6": { | |
| "correct": 90, | |
| "total": 97, | |
| "accuracy": 0.9278350515463918 | |
| }, | |
| "Barist.1": { | |
| "correct": 96, | |
| "total": 97, | |
| "accuracy": 0.9896907216494846 | |
| }, | |
| "Censer.7": { | |
| "correct": 95, | |
| "total": 97, | |
| "accuracy": 0.979381443298969 | |
| }, | |
| "diff_5_vs_9": { | |
| "fixed_by_9": [ | |
| "Wait, Rockstar really give us fake hope", | |
| "Devin SWE-2 Flash FREE" | |
| ], | |
| "regressed_in_9": [ | |
| "gun" | |
| ] | |
| } | |
| }, | |
| "misses": { | |
| "Censer.5": [ | |
| "Wait, Rockstar really give us fake hope", | |
| "Devin SWE-2 Flash FREE" | |
| ], | |
| "Censer.6": [ | |
| "Hello how are you?", | |
| "who are you?", | |
| "spočice", | |
| "holy shit its actually real", | |
| "Devin SWE-2 Flash FREE", | |
| "13 let vývoje a miliony dolarů, pánové", | |
| "buy a gun" | |
| ], | |
| "Barist.1": [ | |
| "gun" | |
| ], | |
| "Censer.7": [ | |
| "Devin SWE-2 Flash FREE", | |
| "buy a gun" | |
| ] | |
| } | |
| } |