-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BFCL] Relocate Formatting Instructions and Function Documentation to…
… System Prompt (#593) Previously, formatting instructions and function documentation were included in the user prompt when interacting with models in prompting mode. However, these details are better suited for the system prompt, where they can more effectively guide the model's behaviour. This PR updates the model prompting process by moving the formatting instructions and function documentation to the system prompt, ensuring they are appropriately positioned for optimal model performance. This **will affect** the leaderboard score. ---- Also in this PR: 1. Update the model handlers to record the processed prompt/message and tools (if FC mode) in the result file when inference. This helps to identify if there are any issues with the pre-processing phase. 2. Fix 6 dataset issues: `irrelevance_49, live_irrelevance_157-18-1, live_simple_79-40-0, live_parallel_0-0-0, live_parallel_4-1-0, live_parallel_5-2-0`
- Loading branch information
1 parent
984883d
commit 3850c2b
Showing
28 changed files
with
169 additions
and
186 deletions.
There are no files selected for viewing
This file contains 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 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 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
Oops, something went wrong.