This commit is contained in:
Henri Vasserman 2023-05-16 03:09:34 +03:00
parent 63d20469b8
commit 021e6d9944
No known key found for this signature in database
GPG key ID: 2995FC0F58B1A986
5 changed files with 100 additions and 0 deletions

View file

@ -72,6 +72,11 @@ struct gpt_params {
bool use_mlock = false; // use mlock to keep model in memory
bool mem_test = false; // compute maximum memory usage
bool verbose_prompt = false; // print prompt tokens before generation
std::string steering_add = "";
std::string steering_sub = "";
float steering_mul = 1.0f;
int steering_lyr = 20;
};
bool gpt_params_parse(int argc, char ** argv, gpt_params & params);