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="Xenserv/NepaliSentimentAnalysis")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("Xenserv/NepaliSentimentAnalysis")
model = AutoModelForSequenceClassification.from_pretrained("Xenserv/NepaliSentimentAnalysis")
Quick Links

Nepali Sentiment Analysis

This is a finetuned version of Sushant/NepaliBERT for sentiment classification. It classifies sentiment into 3 categories: Positive, Neutral and Negative.

Usage

from transformers import AutoTokenizer, AutoModelForSequenceClassification 

tokenizer = AutoTokenizer.from_pretrained("Xenserv/NepaliSentimentAnalysis")
model = AutoModelForSequenceClassification.from_pretrained('Xenserv/NepaliSentimentAnalysis', num_labels=3)
Downloads last month
-
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Xenserv/NepaliSentimentAnalysis

Finetuned
(2)
this model