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.4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Barist.4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Barist.4")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Barist.4") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Barist.4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add report lang_thresholds.json
Browse files- reports/lang_thresholds.json +17 -0
reports/lang_thresholds.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"default": 0.5,
|
| 3 |
+
"tuned_on": "tune half",
|
| 4 |
+
"target": "FPR<=5% benign, floor 0.3",
|
| 5 |
+
"langs": {
|
| 6 |
+
"de": 0.5,
|
| 7 |
+
"en": 0.5,
|
| 8 |
+
"es": 0.5,
|
| 9 |
+
"fr": 0.74,
|
| 10 |
+
"it": 0.5,
|
| 11 |
+
"ru": 0.69,
|
| 12 |
+
"uk": 0.7,
|
| 13 |
+
"cs": 0.5
|
| 14 |
+
},
|
| 15 |
+
"cs_tuned_on": "mustcatch_dev + cs_benign_eval; tuned value recorded but cs FIXED at 0.5 per Barist.2 review",
|
| 16 |
+
"cs_tuned_value": 0.6
|
| 17 |
+
}
|