Text Classification
Transformers
Safetensors
Gujarati
English
Hindi
bert
sentiment-analysis
code-mixed
gujlish
hinglish
text-embeddings-inference
Run this model with HF Jobs
Run marshal-yash/gujlish-sentiment-analysis on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/marshal-yash/gujlish-sentiment-analysis. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/marshal-yash/gujlish-sentiment-analysis on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use marshal-yash/gujlish-sentiment-analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use marshal-yash/gujlish-sentiment-analysis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="marshal-yash/gujlish-sentiment-analysis")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("marshal-yash/gujlish-sentiment-analysis") model = AutoModelForSequenceClassification.from_pretrained("marshal-yash/gujlish-sentiment-analysis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Gujlish & Hinglish Sentiment Analysis Model (MuRIL Fine-Tuned)
This model is a fine-tuned version of google/muril-base-cased trained on a custom synthetic dataset of 150,000 code-mixed samples. It is designed to detect sentiment (Positive, Negative, Neutral) in Indian languages, specifically handling Code-Switching (mixing Gujarati/Hindi with English).
Project Overview
- Problem: Standard AI models struggle with "Gujlish" (Gujarati written in English script) or "Hinglish".
- Solution: This model uses MuRIL (Multilingual Representations for Indian Languages) and was fine-tuned on a massive synthetic dataset covering diverse topics like Tech, Movies, Food, and Daily Life.
- Performance: Achieved 100% Accuracy on the validation set.
Intended Use
This model is ideal for:
- Analyzing social media comments (YouTube, Instagram) in India.
- Processing audio transcriptions from mixed-language conversations.
- Customer feedback analysis for Indian apps.
How to Use
from transformers import pipeline
# Load the model
classifier = pipeline("text-classification", model="marshal-yash/gujlish-sentiment-analysis")
# Test on Code-Mixed Text
text = "Aa movie bahu saras che, maja aavi!"
result = classifier(text)
print(result)
# Output: [{'label': 'Positive', 'score': 0.99}]
- Downloads last month
- 6
Model tree for marshal-yash/gujlish-sentiment-analysis
Base model
google/muril-base-cased