A collection of three deep-learning projects exploring sequence-to-sequence translation, denoising autoencoders, and variational autoencoders.
| # | Topic | Dataset | Key Technique |
|---|---|---|---|
| Q1 | Neural Machine Translation | English–Urdu parallel corpus | Vanilla RNN Seq2Seq |
| Q2 | Denoising Autoencoder | (see notebook) | Convolutional Autoencoder |
| Q3 | Variational Autoencoder | Fashion-MNIST | VAE with latent-dim study |
Assignment#01/
├── README.md ← you are here
├── .gitignore
│
├── Q1-Neural-Machine-Translation/
│ ├── README.md
│ ├── notebook.ipynb ← full experiment notebook
│ ├── report.tex ← LNCS LaTeX report source
│ ├── references.bib
│ ├── Q1_Report.pdf ← compiled report
│ ├── figures/ ← plots used in the report
│ └── models/ ← saved model checkpoints
│
├── Q2-Denoising-Autoencoder/
│ ├── README.md
│ ├── notebook.ipynb ← full experiment notebook
│ ├── Q2_Report.pdf ← compiled report
│ └── prompts.txt
│
└── Q3-Variational-Autoencoder/
├── README.md
├── notebook.ipynb ← full experiment notebook (run on Kaggle GPU)
├── report.tex ← LNCS LaTeX report source
├── references.bib
└── figures/ ← save notebook plots here after execution
This directory contains the Kaggle face-sketches translation implementation using PyTorch logic.
The complete implementation, along with the required Flask simple user interface is in notebook.ipynb.
- Download this notebook or open it in Google Colab.
- Upload your
kaggle.jsonkey or provide it when the cell asks, so it can automatically download thealmightyj/person-face-sketchesdataset. - Run all cells to train the CycleGAN.
- During testing and UI step, it will generate a Flask
app.pyand run it viangrokso you can use the Flask UI from your Colab notebook live!
This directory contains the standard "Attention is All You Need" implementation translated to English-to-Urdu translation pairs.
The complete implementation is in notebook.ipynb, relying on the parallel Kaggle corpus.
- Download this notebook or open it in Google Colab.
- Upload your
kaggle.jsonkey or provide it when the cell asks, so it can automatically download thezainuddin123/parallel-corpus-for-english-urdu-languagecorpus. - Run all cells to process BPE tokenizers and train the model.
- It outputs your BLEU metrics using the
sacrebleulibrary.
This directory contains three distinct model comparisons on CIFAR-10:
- Custom CNN
- Scratch Vision Transformer
- Pretrained Vision Transformer (ViT) via HuggingFace
timm.
- Download this notebook or open it in Google Colab.
- Run the cells as normal. CIFAR-10 automatically downloads through
torchvision.datasets. - Training loops emit visualizations, Loss/Acc curves, which should be saved into
figures/recursively.
- Clone the repository.
- Open the desired
notebook.ipynbin Kaggle (GPU recommended) or Jupyter. - Run All cells — each notebook is self-contained and downloads its own data.
- Figures are saved / displayed inline; copy them to the
figures/folder if you want to compile the LaTeX report.
- Python ≥ 3.9
- PyTorch ≥ 1.12
- torchvision, matplotlib, seaborn, pandas, scikit-learn, numpy
All dependencies are pre-installed on Kaggle.
Muhammad Tahir
Generative AI Course — Spring 2026
This repository is for educational purposes only.