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.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Barist.2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Barist.2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Barist.2") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Barist.2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 430 Bytes
88f56cf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | {
"checkpoint": "checkpoints_b2x/best.pt",
"ctx": 4096,
"n_docs": 300,
"avg_chars": 6533.31,
"avg_tokens": 2178.21,
"results": {
"truncate_192_tokens": {
"acc": 0.42,
"f1": 0.5915492957746479
},
"native_4096_tokens": {
"acc": 0.04666666666666667,
"f1": 0.089171974522293
},
"chunked_256_192_max": {
"acc": 0.9933333333333333,
"f1": 0.9966555183946488
}
}
} |