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/lang_thresholds.json from KucLab/Barist.1: direct link, hf CLI and curl.
- Browser
- Download file 300 Bytes
-
https://huggingface.co/KucLab/Barist.1/resolve/main/reports/lang_thresholds.json
- Command line
-
hf download hf://KucLab/Barist.1/reports/lang_thresholds.json
-
curl -L -o lang_thresholds.json https://huggingface.co/KucLab/Barist.1/resolve/main/reports/lang_thresholds.json
300 Bytes
| { | |
| "default": 0.5, | |
| "tuned_on": "tune half", | |
| "target": "FPR<=5% benign, floor 0.3", | |
| "langs": { | |
| "de": 0.5, | |
| "en": 0.5, | |
| "es": 0.5, | |
| "fr": 0.5, | |
| "it": 0.5, | |
| "cs": 0.6 | |
| }, | |
| "cs_tuned_on": "mustcatch_dev + cs_benign_eval (FPR<=5% benign, recall>=80% unsafe, clamp 0.55-0.65)" | |
| } |