-
Notifications
You must be signed in to change notification settings - Fork 163
LCB generic prompting #1215
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
Merged
Merged
LCB generic prompting #1215
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
27e58bf
lcb generalized prompting support
wasiahmad e6d077a
lcb generalized prompting support
wasiahmad 92b064c
Merge branch 'main' into lcb_prompt_generalization
wasiahmad 7e4c567
Merge branch 'main' into lcb_prompt_generalization
wasiahmad d8c7bb7
Merge branch 'main' into lcb_prompt_generalization
wasiahmad 8a07420
Merge branch 'main' into lcb_prompt_generalization
wasiahmad 5ccb141
removing extra \n from starter_code
wasiahmad 781e3f3
removing extra \n\n from starter_code
wasiahmad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
nemo_skills/prompt/config/eval/livecodebench/cpp_codegen.yaml
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
nemo_skills/prompt/config/eval/livecodebench/cpp_codegen_reasoning.yaml
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
nemo_skills/prompt/config/gpt-oss/code.yaml → ...pt/config/eval/livecodebench/default.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| user: |- | ||
| ### Question | ||
| {question} | ||
| ### Question: | ||
| {question_content} | ||
|
|
||
| {formatting_message} | ||
| ### Format: {formatting_message} | ||
| {starter_code} | ||
|
|
||
| ### Answer: (use the provided format with backticks) |
10 changes: 10 additions & 0 deletions
10
nemo_skills/prompt/config/eval/livecodebench/default_reasoning.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| user: |- | ||
| You are a helpful and harmless assistant. You should think step-by-step before responding to the instruction below. | ||
|
|
||
| ### Question: | ||
| {question_content} | ||
|
|
||
| ### Format: {formatting_message} | ||
| {starter_code} | ||
|
|
||
| ### Answer: (use the provided format with backticks) |
6 changes: 0 additions & 6 deletions
6
nemo_skills/prompt/config/eval/livecodebench/python_codegen.yaml
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
nemo_skills/prompt/config/eval/livecodebench/python_codegen_reasoning.yaml
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,10 @@ | ||
| user: |- | ||
| {question} | ||
| ### Question: | ||
| {question_content} | ||
|
|
||
| ### Format: {formatting_message} | ||
| {starter_code} | ||
|
|
||
| Please avoid using `sys.stdin.buffer` to process input, and avoid using `threading`. | ||
|
|
||
| ### Answer: (use the provided format with backticks) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a breaking change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, because we reduced prompt configs and set the defaults accordingly.