Update cvector-generator.cpp
This commit is contained in:
parent
6896afb23a
commit
e07ef1c440
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ static int prepare_entries(gpt_params & params, train_context & ctx_train) {
|
|||
// create templated prompts
|
||||
std::vector<std::string> completions = ctrlvec_load_prompt_file(params.cvector_completions_file, false);
|
||||
auto format_template = [](std::string persona, std::string suffix) {
|
||||
// entry in positive/negative.txt must already be formatted i.e. "[INST] Act as if you're extremely happy. [/INST]"
|
||||
// entry in positive/negative.txt must already be formatted i.e. "[INST] Act as if you're extremely happy. [/INST] "
|
||||
return persona + suffix;
|
||||
};
|
||||
for (size_t i = 0; i < positive_prompts.size(); ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue