Skip to content

Repository files navigation

Hindi_Sentiment_FineTuning_bert_ML

πŸ“Œ Project Overview The goal is to classify sentiment in Hindi user reviews. The workflow includes:

Loading and preprocessing the dataset.

Tokenizing Hindi text for transformer compatibility.

Fine-tuning a pre-trained model (e.g., bert-base-multilingual-cased or Indic-specific models).

Evaluating performance with metrics such as accuracy and F1-score.

🧠 Model & Dataset Model: You can use any transformer-based model like mBERT, IndicBERT, or mT5 depending on your use case.

Dataset: The IndicSentiment dataset's Hindi split is used.

πŸš€ Getting Started Installation Install required libraries (as shown in the notebook):

bash Copy code pip install datasets transformers Running the Notebook Open the enhanced notebook and follow the step-by-step instructions:

bash Copy code jupyter notebook Hindi_Sentiment_Analysis_Enhanced.ipynb πŸ“ˆ Results and Insights The notebook includes cells for tracking model training, metrics logging, and evaluation insights. Update those cells after running your experiments.

πŸ“‚ Repository Structure bash Copy code πŸ“ Hindi-Sentiment-Analysis/ β”‚ β”œβ”€β”€ Hindi_Sentiment_Analysis_Enhanced.ipynb # Annotated notebook with explanations └── README.md # Project overview and setup instructions 🀝 Contributing Feel free to fork this repo and contribute! PRs and suggestions are welcome.

πŸ“„ License This project is open-sourced under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages