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
Add report benchmark.md
Browse files- reports/benchmark.md +3 -3
reports/benchmark.md
CHANGED
|
@@ -24,10 +24,10 @@ Generated by `scripts/benchmark.py`.
|
|
| 24 |
|
| 25 |
| Metric | Value |
|
| 26 |
| --- | --- |
|
| 27 |
-
| Single text latency | 1.
|
| 28 |
-
| Single text throughput |
|
| 29 |
| Batch of 8 latency | 1.2 ms |
|
| 30 |
-
| Batched throughput |
|
| 31 |
| Peak VRAM (inference) | 84.7 MB |
|
| 32 |
|
| 33 |
## Accuracy
|
|
|
|
| 24 |
|
| 25 |
| Metric | Value |
|
| 26 |
| --- | --- |
|
| 27 |
+
| Single text latency | 1.07 ms |
|
| 28 |
+
| Single text throughput | 938.3 texts/s |
|
| 29 |
| Batch of 8 latency | 1.2 ms |
|
| 30 |
+
| Batched throughput | 6650.3 texts/s |
|
| 31 |
| Peak VRAM (inference) | 84.7 MB |
|
| 32 |
|
| 33 |
## Accuracy
|