Pre-trained sentiment analysis model for Nepali language.

Use a pipeline as a high-level helper

from transformers import pipeline

pipe = pipeline("text-classification", model="dakkulanthu/nepali-sentiment-analysis-short")

Example text data

text_data = """ बोलेरै कांग्रेसको मागको दोकान बन्द गर्छु भन्नेले विशेष पत्रकार सम्मेलन गरेर बोल्नुस जनताले बुझ्छन्। कांग्रेसले संसद बन्द गरिराखोस्। तपाईले बोल्न बाकी के के रैछ हेरौ। """

Use the pipeline for sentiment analysis

sentiment_result = pipe(text_data)

sentiment_result

Downloads last month
6
Safetensors
Model size
119M params
Tensor type
F32
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.