Medical QA Fine-Tuning

A fine-tuned GPT-2 model trained on medical question-answer datasets to generate domain-specific responses. The project includes full training pipelines, evaluation metrics, and deep analysis of model behavior using embedding similarity and layer-wise comparisons.

Key Features

Tech Stack

PythonPyTorchHuggingFace TransformersDatasetsPandasWeights & Biases (wandb)NLTKScikit-learnMatplotlib

Screenshots

Screenshot 0
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5
Screenshot 6
Screenshot 7
Screenshot 8
Screenshot 9