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.6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Barist.6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Barist.6")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Barist.6") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Barist.6", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add report onnx_parity.json
Browse files- reports/onnx_parity.json +17 -0
reports/onnx_parity.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 291,
|
| 3 |
+
"fp32_vs_fp16": {
|
| 4 |
+
"max_abs_diff": 0.0007,
|
| 5 |
+
"verdict_agreement": 1.0
|
| 6 |
+
},
|
| 7 |
+
"fp32_vs_int8": {
|
| 8 |
+
"max_abs_diff": 0.0263,
|
| 9 |
+
"verdict_agreement": 0.9966
|
| 10 |
+
},
|
| 11 |
+
"fp32_vs_onnx": {
|
| 12 |
+
"max_abs_diff": 0.0,
|
| 13 |
+
"verdict_agreement": 1.0
|
| 14 |
+
},
|
| 15 |
+
"gate": "fp32_vs_onnx max_abs_diff <= 1e-3 (target 1e-4); fp16/int8 reported informationally",
|
| 16 |
+
"pass": true
|
| 17 |
+
}
|