Text Classification
Transformers
Safetensors
Indonesian
bert
NLP
indobert
sentimen
text-embeddings-inference
Instructions to use Ha1dir/sentimen-indobert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ha1dir/sentimen-indobert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Ha1dir/sentimen-indobert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Ha1dir/sentimen-indobert") model = AutoModelForSequenceClassification.from_pretrained("Ha1dir/sentimen-indobert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload folder using huggingface_hub
Verified signature417c3c2
-
Upload folder using huggingface_hub
Verified signature87b9fdc -
Upload folder using huggingface_hub
Verified signatureea1259d
-
Upload folder using huggingface_hub
Verified signature62400b2
-
Update README.md
Verified signature7c11d15 -
Update README.md
Verified signature819c108 -
Rename READ.md to README.md
Verified signature# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Ha1dir/sentimen-indobert") # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Ha1dir/sentimen-indobert") model = AutoModelForSequenceClassification.from_pretrained("Ha1dir/sentimen-indobert")040a0e2 -
Rename README.md to READ.md
Verified signaturetestb5fa02c -
Create README.md
Verified signature# IndoBERT Sentiment Analysis Model Model ini adalah hasil fine-tuning model IndoBERT base untuk tugas klasifikasi sentimen bahasa Indonesia. ## Penggunaan from transformers import AutoTokenizer, AutoModelForSequenceClassification model_name = "Ha1dir/sentimen-indobert" tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForSequenceClassification.from_pretrained(model_name) ## Label Kelas - Positive : 0 - Negative :1 - Neutral : 2 ## Tentang Model - Base Model: indobenchmark/indobert-base-p1 - Training Epochs: 5 - Optimizer: Adam, LR = 3e-6 ## Hasil Training (Epoch 1) TRAIN LOSS: 0.2962 Acc: 0.8896 Precision: 0.8893 Recall: 0.8896 F1: 0.8876 (Epoch 2) TRAIN LOSS: 0.1450 Acc: 0.9514 Precision: 0.9513 Recall: 0.9514 F1: 0.9513 (Epoch 3) TRAIN LOSS: 0.1053 Acc: 0.9646 Precision: 0.9646 Recall: 0.9646 F1: 0.9646 (Epoch 4) TRAIN LOSS: 0.0722 Acc: 0.9781 Precision: 0.9781 Recall: 0.9781 F1: 0.9781 (Epoch 5) TRAIN LOSS: 0.0468 Acc: 0.9874 Precision: 0.9874 Reca…6841b57 -
Upload folder using huggingface_hub
Verified signaturec5c78e1 -
Upload folder using huggingface_hub
Verified signatureabefb46 -
initial commit
Verified signature7048708