Downloads · 30 days
16
1% of all-time downloads
tyqiangz/indobert-lite-large-p2-smsa
indobert-lite-large-p2-smsa is a text classification model from tyqiangz. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
Finetuned the IndoBERT-Lite Large Model (phase2 - uncased) model on the IndoNLU SmSA dataset following the procedues stated in the paper IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Unde…
Downloads · 30 days
16
1% of all-time downloads
All-time downloads
3K
Public
Parameters
17.7M
142 MB on disk
Likes
1
Public
Click a slice to open those files.
.bin70.8 MB · 50%
How the weights are stored.
F3217.7M · 100%
From the Hugging Face model README
Finetuned the IndoBERT-Lite Large Model (phase2 - uncased) model on the IndoNLU SmSA dataset following the procedues stated in the paper IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understanding.
from transformers import pipeline
classifier = pipeline("text-classification",
model='tyqiangz/indobert-lite-large-p2-smsa',
return_all_scores=True)
text = "Penyakit koronavirus 2019"
prediction = classifier(text)
prediction
"""
Output:
[[{'label': 'positive', 'score': 0.0006000096909701824},
{'label': 'neutral', 'score': 0.01223431620746851},
{'label': 'negative', 'score': 0.987165629863739}]]
"""
Finetuning hyperparameters:
Classes:
Performance metrics on SmSA validation dataset