This repository contains a complete sentiment analysis pipeline applied to the IMDB movie reviews dataset. The project demonstrates end-to-end NLP and deep learning techniques, from data ingestion and preprocessing to model training, evaluation, and export.
sentiment_analysis_notebook.ipynb โ Jupyter notebook with the full workflowa1_IMDB_Dataset.csv โ Raw dataset of 50,000 IMDB reviews (labeled positive/negative)README.md โ This documentThe IMDB dataset consists of 50,000 movie reviews evenly split between positive and negative sentiment labels. We load it with pandas for quick exploration.
Tokenizer to convert text into sequences of word indices.A deep learning network built with TensorFlow / Keras:
Compilation Settings:
model.fit() on the tokenized and padded review sequences.model.evaluate().Typical results include accuracy scores and loss curves, easily visualized within the notebook.
Install dependencies with:
pip install -r requirements.txt
Clone the repository:
git clone https://github.com/hanzlahyasir/nlp_with_nn.git cd nlp_with_nn
Install requirements:
pip install -r requirements.txt
Launch the notebook
Follow the cells to preprocess data, train the model, and evaluate performance.
Prepared for showcasing NLP and deep learning skills to hiring teams.