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/multilingual.md from KucLab/Barist.1: direct link, hf CLI and curl.
- Browser
- Download file 1.51 kB
-
https://huggingface.co/KucLab/Barist.1/resolve/ffa70a24fcbca02daec0022b45a3c89f099c8e21/reports/multilingual.md
- Command line
-
hf download hf://KucLab/Barist.1@ffa70a24fcbca02daec0022b45a3c89f099c8e21/reports/multilingual.md
-
curl -L -o multilingual.md https://huggingface.co/KucLab/Barist.1/resolve/ffa70a24fcbca02daec0022b45a3c89f099c8e21/reports/multilingual.md
1.51 kB
| # Multilingual eval (textdetox: thr tuned on tune half, F1/FPR on untouched test half) | |
| | set | n | F1@0.5 | tuned thr | test F1@thr | test FPR@thr | | |
| | --- | --- | --- | --- | --- | --- | | |
| | textdetox_am | 800 | 0.1086 | 0.66 | 0.06965174129353234 | 0.046296296296296294 | | |
| | textdetox_ar | 800 | 0.0052 | 0.3 | 0.00975609756097561 | 0.005076142131979695 | | |
| | textdetox_de | 800 | 0.5217 | 0.5 | 0.5 | 0.39195979899497485 | | |
| | textdetox_en | 800 | 0.8136 | 0.5 | 0.7911111111111112 | 0.3786407766990291 | | |
| | textdetox_es | 800 | 0.6120 | 0.5 | 0.6606334841628959 | 0.43478260869565216 | | |
| | textdetox_fr | 800 | 0.4631 | 0.5 | 0.5222929936305731 | 0.16417910447761194 | | |
| | textdetox_he | 800 | 0.0236 | 0.3 | 0.03614457831325301 | 0.008368200836820083 | | |
| | textdetox_hi | 800 | 0.0000 | 0.3 | 0.0 | 0.0 | | |
| | textdetox_hin | 800 | 0.4456 | 0.5 | 0.47284345047923326 | 0.17857142857142858 | | |
| | textdetox_it | 800 | 0.5548 | 0.5 | 0.5415549597855227 | 0.350253807106599 | | |
| | textdetox_ja | 800 | 0.0000 | 0.3 | 0.0 | 0.0 | | |
| | textdetox_ru | 800 | 0.0397 | 0.3 | 0.08928571428571427 | 0.015873015873015872 | | |
| | textdetox_tt | 800 | 0.1161 | 0.62 | 0.1272727272727273 | 0.03 | | |
| | textdetox_uk | 800 | 0.0447 | 0.3 | 0.10945273631840796 | 0.018691588785046728 | | |
| | textdetox_zh | 800 | 0.0000 | 0.32 | 0.019417475728155338 | 0.01507537688442211 | | |
| | synth_cs | 300 | 0.9967 | β | β | β | | |
| | synth_de | 300 | 1.0000 | β | β | β | | |
| | synth_es | 300 | 1.0000 | β | β | β | | |
| | synth_fr | 300 | 1.0000 | β | β | β | | |