How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="patrickxchong/bert-tiny-bahasa-cased-sentiment")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("patrickxchong/bert-tiny-bahasa-cased-sentiment")
model = AutoModelForSequenceClassification.from_pretrained("patrickxchong/bert-tiny-bahasa-cased-sentiment", device_map="auto")
Quick Links

bert-tiny-bahasa-cased-sentiment

Proof of concept of creating a sentiment analysis model with using https://huggingface.co/malay-huggingface/bert-base-bahasa-cased as the base model.

Tokenizer is copied directly from https://huggingface.co/malay-huggingface/bert-base-bahasa-cased.

Sentiment analysis fine tuning was done with data compiled by huseinzol05 at https://github.com/huseinzol05/malay-dataset/tree/master/sentiment.

Downloads last month
6
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for patrickxchong/bert-tiny-bahasa-cased-sentiment

Finetunes
5 models