Add SPM infill support (#8016)
* add --spm-infill option * support --spm-infill * support --spm-infill
This commit is contained in:
parent
b851b3fba0
commit
38373cfbab
6 changed files with 34 additions and 16 deletions
|
@ -250,6 +250,8 @@ struct gpt_params {
|
|||
std::string cvector_outfile = "control_vector.gguf";
|
||||
std::string cvector_positive_file = "examples/cvector-generator/positive.txt";
|
||||
std::string cvector_negative_file = "examples/cvector-generator/negative.txt";
|
||||
|
||||
bool spm_infill = false; // suffix/prefix/middle pattern for infill
|
||||
};
|
||||
|
||||
void gpt_params_handle_model_default(gpt_params & params);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue