This project uses different pre-trained models to predict the sentiments of people based on reviews in Hindi.
The dataset is a collection of Hindi reviews (2006 training examples) with 4 sentiments:
- Happy
- Sad
- Angry
- Neutral
- LSTM
- BERT
- mBERT
- DistillBERT
- IndicBERT
- In the Transliterate Directory 1st git clone below repository:
git clone https://github.com/yourusername/torch-transformer-hinglish2hindi-translator.git
cd torch-transformer-hinglish2hindi-translator
(go to the repository to check how to use it)
- Change the model_path in transliterate.ipynb to any of the models and run that file.
- Run Hindi_Sentiment_analysis.ipynb which uses IndicBert model.