Text Classification
Transformers
ONNX
Safetensors
llama
safety
content-moderation
multi-label
multilingual
tiny-language-model
from-scratch
distilled
text-embeddings-inference
Run this model with HF Jobs
Run KucLab/Barist.1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/KucLab/Barist.1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/KucLab/Barist.1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Add report eval_test.json
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113{"checkpoint": "checkpoints_b1l/best.pt","split": "test","at_0.5": {"threshold": 0.5,"accuracy": 0.8556034482758621,"precision": 0.8614630159378831,"recall": 0.7787218322866643,"f1": 0.8180054326736516,"tp": 2108,"fp": 339,"tn": 3450,"fn": 599,"total": 6496},"best": {"threshold": 0.35,"accuracy": 0.8577586206896551,"precision": 0.8100869565217391,"recall": 0.8603620243812339,"f1": 0.8344679326406307,"tp": 2329,"fp": 546,"tn": 3243,"fn": 378,"total": 6496},"per_source": {"civil_comments": {"threshold": 0.5,"accuracy": 0.8400581606688476,"precision": 0.8135802469135802,"recall": 0.6951476793248945,"f1": 0.7497155858930602,"tp": 659,"fp": 151,"tn": 1652,"fn": 289,"total": 2751},"jigsaw": {"threshold": 0.5,"accuracy": 0.8979824895317853,"precision": 0.8841743119266054,"recall": 0.8219616204690832,"f1": 0.8519337016574585,"tp": 771,"fp": 101,"tn": 1588,"fn": 167,"total": 2627},"aegis": {"threshold": 0.5,"accuracy": 0.8165137614678899,"precision": 0.9362186788154897,"recall": 0.8509316770186336,"f1": 0.8915401301518439,"tp": 411,"fp": 28,"tn": 34,"fn": 72,"total": 545},"beavertails": {"threshold": 0.5,"accuracy": 0.7727272727272727,"precision": 0.8821548821548821,"recall": 0.8397435897435898,"f1": 0.8604269293924467,"tp": 262,"fp": 35,"tn": 27,"fn": 50,"total": 374},"dolly": {"threshold": 0.5,"accuracy": 0.8785714285714286,"precision": 0.0,"recall": 0.0,"f1": 0.0,"tp": 0,"fp": 17,"tn": 123,"fn": 0,"total": 140},"toxic_chat": {"threshold": 0.5,"accuracy": 0.5254237288135594,"precision": 0.4166666666666667,"recall": 0.19230769230769232,"f1": 0.2631578947368421,"tp": 5,"fp": 7,"tn": 26,"fn": 21,"total": 59}},"model_metrics": {"loss": 0.35118689903846156,"accuracy": 0.8583143507972665,"precision": 0.8544031311154598,"recall": 0.7955539358600583,"f1": 0.823929043215701,"tp": 2183,"fp": 372,"tn": 3469,"fn": 561}}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113{"checkpoint": "checkpoints_b1q/best.pt","split": "test","at_0.5": {"threshold": 0.5,"accuracy": 0.8589901477832512,"precision": 0.8594941790445604,"recall": 0.7909124492057629,"f1": 0.8237783762985764,"tp": 2141,"fp": 350,"tn": 3439,"fn": 566,"total": 6496},"best": {"threshold": 0.4,"accuracy": 0.8599137931034483,"precision": 0.822158479741843,"recall": 0.847063169560399,"f1": 0.8344250363901019,"tp": 2293,"fp": 496,"tn": 3293,"fn": 414,"total": 6496},"per_source": {"civil_comments": {"threshold": 0.5,"accuracy": 0.8404216648491457,"precision": 0.8099878197320342,"recall": 0.7014767932489452,"f1": 0.7518371961560203,"tp": 665,"fp": 156,"tn": 1647,"fn": 283,"total": 2751},"jigsaw": {"threshold": 0.5,"accuracy": 0.9006471259992387,"precision": 0.8807649043869517,"recall": 0.8347547974413646,"f1": 0.8571428571428571,"tp": 783,"fp": 106,"tn": 1583,"fn": 155,"total": 2627},"aegis": {"threshold": 0.5,"accuracy": 0.8293577981651377,"precision": 0.9391891891891891,"recall": 0.8633540372670807,"f1": 0.8996763754045307,"tp": 417,"fp": 27,"tn": 35,"fn": 66,"total": 545},"beavertails": {"threshold": 0.5,"accuracy": 0.7914438502673797,"precision": 0.8823529411764706,"recall": 0.8653846153846154,"f1": 0.8737864077669903,"tp": 270,"fp": 36,"tn": 26,"fn": 42,"total": 374},"dolly": {"threshold": 0.5,"accuracy": 0.8857142857142857,"precision": 0.0,"recall": 0.0,"f1": 0.0,"tp": 0,"fp": 16,"tn": 124,"fn": 0,"total": 140},"toxic_chat": {"threshold": 0.5,"accuracy": 0.5084745762711864,"precision": 0.4,"recall": 0.23076923076923078,"f1": 0.29268292682926833,"tp": 6,"fp": 9,"tn": 24,"fn": 20,"total": 59}},"model_metrics": {"loss": 0.34375,"accuracy": 0.8592255125284738,"precision": 0.850907686365392,"recall": 0.8028425655976676,"f1": 0.8261766360397524,"tp": 2203,"fp": 386,"tn": 3455,"fn": 541}}
reports/eval_test.json+70-70