Skip to content
Snippets Groups Projects
Commit d4765b43 authored by Max Kimmich's avatar Max Kimmich
Browse files

Fix prompt generation

parent 54b6d4c0
No related branches found
No related tags found
1 merge request!7Refactor tasks and models and fix format for various models
......@@ -37,7 +37,7 @@ class BasePromptsFromGeneration:
self.validation_dataset: Dataset
samples = self.validation_dataset._select_contiguous(0, 5)
prompt = "I gave a friend an instruction and five inputs. The friend read the instruction and wrote an output for every one of the inputs. Here are the input-output pairs:\n"
prompt += self.build_demonstration_prompt(samples, prompt=prompt)
prompt = self.build_demonstration_prompt(samples, prompt=prompt)
prompt += "\nThe instruction was "
generated_prompts = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment