Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mismatch in full pipeline outputs #75

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ generation: |
[End of Question]

[Start of Answer]
{answer}
{response}
[End of Answer]

Begin your evaluation by providing a short explanation. Be as objective as possible. After providing your explanation, you must rate the answer on a scale of 1 to 3 as mentioned above.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ generation: |
[End of Question]

[Start of Answer]
{answer}
{response}
[End of Answer]

* Return the evaluation between [Start of Evaluation] and [End of Evaluation] tags.
* Return the score between [Start of Score] and [End of Score] tags.


start_tags: ["[Start of Evaluation]", "[Start of Score]"]
end_tags: ["[End of Evaluation]", "[End of Score]"]
end_tags: ["[End of Evaluation]", "[End of Score]"]
4 changes: 2 additions & 2 deletions src/instructlab/sdg/default_flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def get_flow(self) -> list:
"client": self.client,
"model_id": self.model_id,
"model_prompt": _get_model_prompt(self.model_family),
"output_cols": ["answer"],
"output_cols": ["response"],
"batch_kwargs": {
"num_procs": 8,
"batched": self.batched,
Expand Down Expand Up @@ -449,7 +449,7 @@ def get_flow(self) -> list:
"client": self.client,
"model_id": self.model_id,
"model_prompt": _get_model_prompt(self.model_family),
"output_cols": ["answer"],
"output_cols": ["response"],
"batch_kwargs": {
"num_procs": 8,
"batched": self.batched,
Expand Down