From 805bf9ffa78119a1a7e047b4ddf6b2ea7df4d94f Mon Sep 17 00:00:00 2001 From: Juarez Bochi Date: Tue, 12 Sep 2023 09:10:16 -0700 Subject: Implement top_p / nucleus sampling (#819) * Implement top_p / nucleus sampling * Update changelog * rustfmt * Add tests * Fix clippy warning * Fix another clippy error --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index a0275c57..06041294 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ This documents the main changes to the `candle` crate. ## v0.2.2 - Unreleased ### Added +- Support for `top_p` sampling + [819](https://github.com/huggingface/candle/pull/819). ### Modified -- cgit v1.2.3