Text Classification
Transformers
Safetensors
Indonesian
bert
sentiment-analysis
indonesian
text-embeddings-inference
Instructions to use Bangkah/atha-text-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Bangkah/atha-text-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Bangkah/atha-text-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Bangkah/atha-text-classifier") model = AutoModelForSequenceClassification.from_pretrained("Bangkah/atha-text-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload metrics_summary.txt with huggingface_hub
Browse files- metrics_summary.txt +20 -0
metrics_summary.txt
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
accuracy=0.8111
|
| 2 |
+
macro_f1=0.8071
|
| 3 |
+
loss=0.7515
|
| 4 |
+
|
| 5 |
+
confusion_matrix:
|
| 6 |
+
[[19 8 3]
|
| 7 |
+
[ 4 26 0]
|
| 8 |
+
[ 2 0 28]]
|
| 9 |
+
|
| 10 |
+
classification_report:
|
| 11 |
+
precision recall f1-score support
|
| 12 |
+
|
| 13 |
+
negative 0.7600 0.6333 0.6909 30
|
| 14 |
+
neutral 0.7647 0.8667 0.8125 30
|
| 15 |
+
positive 0.9032 0.9333 0.9180 30
|
| 16 |
+
|
| 17 |
+
accuracy 0.8111 90
|
| 18 |
+
macro avg 0.8093 0.8111 0.8071 90
|
| 19 |
+
weighted avg 0.8093 0.8111 0.8071 90
|
| 20 |
+
|