Downloads · 30 days
2.2K
33% of all-time downloads
malaysia-ai/malay-sentiment-deberta-xsmall
malay-sentiment-deberta-xsmall is a text classification model from malaysia-ai. Use it when you need a label for a piece of text. It is set up for transformers.
This model is a fine-tuned checkpoint of Deberta-V3-xsmall. It enables binary sentiment analysis for Malay-language text. For each instance, it predicts either positive (1) or negative (0) sentiment. Model is trained…
Downloads · 30 days
2.2K
33% of all-time downloads
All-time downloads
6.7K
Public
Parameters
70.8M
286 MB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors283 MB · 96%
From the Hugging Face model README
This model is a fine-tuned checkpoint of Deberta-V3-xsmall. It enables binary sentiment analysis for Malay-language text. For each instance, it predicts either positive (1) or negative (0) sentiment. Model is trained on all data from https://github.com/mesolitica/malaysian-dataset/tree/master/sentiment.
The easiest way to use the model for single predictions is Hugging Face's sentiment analysis pipeline, which only needs a couple lines of code as shown in the following example:
from transformers import pipeline
sentiment_analysis = pipeline("sentiment-analysis",model="malaysia-ai/deberta-v3-xsmall-malay-sentiment")
print(sentiment_analysis("saya comel"))