How vatsalmalkari/lora-finetuning-project works
This repository is a Colab-oriented research project comparing Gemma 3 1B zero-shot, few-shot, LoRA, and QLoRA performance on baseball questions. The documented workflow builds and splits a dataset, establishes baselines, fine-tunes adapters, evaluates accuracy and efficiency, then summarizes results. The tree exposes only one notebook, and no source excerpts were provided, so component boundaries and relationships below reflect README-described stages rather than verified notebook implementation details.
Main entry points: zero_shot_with_gamma.ipynb Question dataset
Components 15
Dataset preparation
- Question dataset
zero_shot_with_gamma.ipynb - Split and overlap checks
zero_shot_with_gamma.ipynb
Model experiments
- Zero/few-shot baseline
zero_shot_with_gamma.ipynb - Pipeline check
zero_shot_with_gamma.ipynb - LoRA training
zero_shot_with_gamma.ipynb - QLoRA training
zero_shot_with_gamma.ipynb - Rank/module comparisons
zero_shot_with_gamma.ipynb
Evaluation and reporting
- Held-out scoring
zero_shot_with_gamma.ipynb - Accuracy and efficiency metrics
zero_shot_with_gamma.ipynb - Results summary
zero_shot_with_gamma.ipynb
Other components
- Researcher
- Lahman statistics
- Gemma 3 1B IT
- Hugging Face
- Colab T4 GPU
Connections 26
- Researcher → Question dataset: builds
README.md - Lahman statistics → Question dataset: supplies stats
README.md - Question dataset → Split and overlap checks: checks overlap
README.md - Split and overlap checks → Zero/few-shot baseline: provides test set
README.md - Hugging Face → Gemma 3 1B IT: provides access
README.md - Gemma 3 1B IT → Zero/few-shot baseline: runs inference
README.md - Researcher → Zero/few-shot baseline: runs
README.md - Colab T4 GPU → Pipeline check: hosts run
README.md - Researcher → Pipeline check: runs
README.md - Question dataset → Pipeline check: provides examples
README.md - Gemma 3 1B IT → LoRA training: is adapted
README.md - Gemma 3 1B IT → QLoRA training: is adapted
README.md - Question dataset → LoRA training: provides training set
README.md - Question dataset → QLoRA training: provides training set
README.md - Colab T4 GPU → LoRA training: hosts training
README.md - Colab T4 GPU → QLoRA training: hosts training
README.md - Researcher → LoRA training: runs
README.md - Researcher → QLoRA training: runs
README.md - LoRA training → Rank/module comparisons: informs
README.md - QLoRA training → Rank/module comparisons: informs
README.md - Zero/few-shot baseline → Held-out scoring: saves outputs
README.md - LoRA training → Held-out scoring: evaluates on
README.md - QLoRA training → Held-out scoring: evaluates on
README.md - Held-out scoring → Accuracy and efficiency metrics: computes
README.md - Accuracy and efficiency metrics → Results summary: summarizes
README.md - Researcher → Results summary: writes report
README.md