The full loop, one repo at a time
Putting the eight tracks together: a single end-to-end pipeline that exists entirely on the Hub.
- Hub: pick a base model. Pin a SHA. Read the card.
- Datasets: pull a curated dataset, preprocess with
map, push the processed version to a private dataset repo. - Training: SFTTrainer + LoRA on the processed dataset. Push the adapter to a private model repo.
- Merge + quantize: merge adapter into base, AWQ-quantize for serving, push the merged AWQ variant to a public model repo with a real model card.
- Serve: TGI or vLLM pointed at the merged AWQ model.
- Demo: Gradio or Docker Space wrapping the served model with a chat UI.
- Iterate: collect user feedback, append to a preference dataset, run DPO, rinse repeat.
What you get from doing it this way
Reproducibility (every artifact has a SHA). Auditability (every change is a Git commit). Portability (anyone with read access can replicate the stack). Versioning (roll back at any layer with one command). Cost transparency (each step's token / GPU-hour cost shows on the Hub or your provider).