How mehta-amit-codes/finetuning-deployment-pipeline works
This project fine-tunes an open model with LoRA/QLoRA, serves base and fine-tuned variants through FastAPI, and provides a Streamlit interface for comparison and evaluation. Its workflow runs from instruction data preparation through training and adapter loading to inference and paired evaluation, with an optional xAI judge and a configurable rollback gate. The README documents these relationships; no source excerpts were available to verify additional implementation details.
Components 13
Data & Training
- Instruction Data
- Dataset Split
- LoRA Training
- Trained Adapter
Model Serving
- Model Registry
- FastAPI Service
- Streamlit UI
Evaluation
- Paired Evaluation
- Evaluation Report
Configuration
- Pipeline Config
Other components
- User
- Base Checkpoint
- xAI Judge
Connections 16
- User → Instruction Data: provides examples
README.md - Instruction Data → Dataset Split: splits data
README.md - Dataset Split → LoRA Training: trains on
README.md - Pipeline Config → LoRA Training: configures
README.md - LoRA Training → Trained Adapter: saves adapter
README.md - Pipeline Config → Model Registry: configures
README.md - Model Registry → Base Checkpoint: loads base
README.md - Model Registry → Trained Adapter: loads adapter
README.md - FastAPI Service → Model Registry: serves models
README.md - User → FastAPI Service: requests inference
README.md - User → Streamlit UI: uses interface
README.md - Streamlit UI → Paired Evaluation: triggers run
README.md - Paired Evaluation → Evaluation Report: writes report
README.md - Paired Evaluation → xAI Judge: uses optionally
README.md - User → FastAPI Service: submits eval score
README.md - Pipeline Config → FastAPI Service: sets rollback gate
README.md