diff options
author | MaggotHATE <clay1326@gmail.com> | 2023-12-05 15:05:51 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 12:05:51 +0200 |
commit | 52c8bc3cf312e1caf02d37bfb9d9d865cbe33594 (patch) | |
tree | a07536ee0a9be355f7b624f96119f443b5934817 /common/common.h | |
parent | e4b76bbe316ee50fb17d9ac29e654c0edf830eba (diff) |
sampling : custom samplers order (#4285)
* Samplers sequence order w parameter
* Cleaned commented code
* Fixed formatting
* Rewrote with unordered_map
* Revert and rewrite, too many problems and safeguards would be needed
* Fixed code style
* Code style fixes according to review
* More readable samplers input string, fixed help
* Style fix in sampler_queue
* Formatting fixes
* Fixing whitespaces
Diffstat (limited to 'common/common.h')
-rw-r--r-- | common/common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/common.h b/common/common.h index 2f6fe48a..534f7b13 100644 --- a/common/common.h +++ b/common/common.h @@ -142,6 +142,12 @@ std::string gpt_random_prompt(std::mt19937 & rng); void process_escapes(std::string& input); // +// String parsing +// + +std::string parse_samplers_input(std::string input); + +// // Model utils // |