From 8d96f920ed976bb663d03ac9a082dc5b20829d64 Mon Sep 17 00:00:00 2001 From: Andrei Fajardo <92402603+nerdai@users.noreply.github.com> Date: Thu, 23 Jan 2025 01:17:54 -0500 Subject: [PATCH] vbump to 0.1.3 (#288) --- CHANGELOG.md | 30 +++++++++++++++++++++++++++++- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 6 ++++++ 4 files changed, 37 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa046b5..98af071 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/). ## Unreleased +- ... + +## [0.1.3] - 2025-01-23 + ### Added -- ... +- docs Appendix E (#287) +- EG E.07 (#286) +- EG E.06 (#285) +- Listing E.7 re-export of train_classifier_simple (#284) +- EG E.05 (#283) +- EG E.04 (#282) +- EG E.03 (LoRA model loading) (#281) +- GPTModelWithLoRA (#279) +- TransformerBlockWithLoRA (#278) +- FeedForwardWithLoRA (#277) +- MultiHeadAttentionWithLoRA (#270) +- Listing E.6 LinearWithLoRA (#269) +- Listing E.5 (LoRALayer) (#268) +- EG E.02 and set listing E.4 as re-export (#267) +- Listing E.4 (#266) +- Example E.01 (#265) +- Listing E.3 (#264) +- Listing E.2 (#263) +- Listing E.1 (#262) + +### Changed + +- parametrize batch size (#285) +- GPT trait to "consolidate" GPTModel and GPTModelWithLoRA (#279) +- Rip out Sequential and SequentialT in favor of explicit sequential-like structs (#276) ## [0.1.2] - 2025-01-13 diff --git a/Cargo.lock b/Cargo.lock index 0a5b618..64ac625 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2287,7 +2287,7 @@ checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704" [[package]] name = "llms-from-scratch-rs" -version = "0.1.2" +version = "0.1.3" dependencies = [ "anyhow", "bytes", diff --git a/Cargo.toml b/Cargo.toml index a2b4a1e..a438eae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "llms-from-scratch-rs" description = "Rust (candle) code for Build a LLM From Scratch by Sebastian Raschka" -version = "0.1.2" +version = "0.1.3" edition = "2021" repository = "https://github.com/nerdai/llms-from-scratch-rs" authors = ["Val Andrei Fajardo "] diff --git a/README.md b/README.md index 124f928..28048da 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,12 @@ wget 'https://raw.githubusercontent.com/rabst/LLMs-from-scratch/main/ch02/01_mai Users have the option of reading the code via their chosen IDE and the cloned repo, or by using the project's [docs](https://docs.rs/llms-from-scratch-rs/latest/llms_from_scratch_rs/). +NOTE: The import style used in all of the `examples` and `exercises` modules are +not by convention. Specifically, relevant imports are made under the `main()` method +of every `Example` and `Exercise` implementation. This is done for educational +purposes to assist the reader of the book in knowing precisely what imports are +needed for the example/exercise at hand. + ### Running `Examples` and `Exercises` After cloning the repo, you can cd to the project's root directory and execute