|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to the code in this repository are documented here. |
| 4 | + |
| 5 | +The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses calendar-versioned releases tied to Manning MEAP drops (`MEAP-vN`) and a final `1.0.0` at print publication. |
| 6 | + |
| 7 | +## [Unreleased] |
| 8 | + |
| 9 | +<!-- Changes landing on `main` between releases go here. --> |
| 10 | + |
| 11 | +## [MEAP-v0.1] — TBD |
| 12 | + |
| 13 | +First public release of the code repository alongside Manning's MEAP launch. |
| 14 | + |
| 15 | +### Added |
| 16 | + |
| 17 | +- Initial release of code for Chapters 1 through 5. |
| 18 | +- **Chapter 1** — reproducibility script for the §1.6 sidebar (`run_sidebar_example.py`). Runs the chapter's prompt through base Qwen3-4B, the Chapter 5 LoRA adapter, and the Chapter 6 SFT model side by side; degrades gracefully when later-chapter artifacts are not yet built. |
| 19 | +- **Chapter 2** — Unsloth-based fine-tuning quickstart reproducing the Dragon LLM open-finance recipe on Qwen3-0.6B end to end (data preparation across four HF datasets, LoRA via TRL's `SFTTrainer`, five evaluation tests, model export). |
| 20 | +- **Chapter 3** — data-quality experiment, six-step synthetic-data-generation pipeline using a frontier teacher, and a standalone `DatasetManifest` module for content hashing and lineage tracking. |
| 21 | +- **Chapter 4** — few-shot ticket classifier, many-shot prompt assembly, prompt validator with run-to-run variability measurement, minimal RAG pipeline (50 lines), Precision@k / Recall@k / Hit@1 retrieval evaluator. |
| 22 | +- **Chapter 5** — LoRA and QLoRA training, evaluation, and inference on a 400-example Dolly subset of Qwen3-4B-Instruct-2507; published adapter on Hugging Face Hub at `bahree/qwen3-4b-dolly-lora-ch5`. |
| 23 | +- Shared utilities in `common/` (JSONL I/O, env loading, deterministic seeding, manifest tracking, OpenRouter helper). |
| 24 | +- CI workflow (`pytest` on Ubuntu and Windows with Python 3.11). |
| 25 | +- Issue templates for bug reports and errata; redirect for book-content questions to Manning's liveBook forum. |
| 26 | +- Contributing guidelines. |
| 27 | + |
| 28 | +### Notes |
| 29 | + |
| 30 | +- Chapters 6 through 9 (Full SFT, Distillation, DPO, Operations) are written and will be released to this repo as they reach MEAP in subsequent drops. |
| 31 | +- All hands-on chapters use Qwen3-4B-Instruct-2507 as the base model and Databricks Dolly-15K (filtered subsets) as the dataset, so the chapters compose into a single coherent example pipeline. |
| 32 | + |
| 33 | +--- |
| 34 | + |
| 35 | +## Release tagging convention |
| 36 | + |
| 37 | +Each MEAP release is tagged in Git so readers can check out the exact tree that matches the manuscript they're reading. |
| 38 | + |
| 39 | +```bash |
| 40 | +git tag # list all releases |
| 41 | +git checkout MEAP-v0.1 # check out a specific release |
| 42 | +``` |
0 commit comments