-
-
Notifications
You must be signed in to change notification settings - Fork 944
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
feat: add config for optional parameters in a chat message #2260
Open
NJordan72
wants to merge
47
commits into
axolotl-ai-cloud:main
Choose a base branch
from
NJordan72:feat/optional-chat-template-fields
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
3f14db7
feat: add config for optional parameters in a chat message
NJordan72 a685c8a
chore: cleanup
NJordan72 48c2748
chore: fix nits and add light docs
NJordan72 8b77971
docs: update docs/dataset-formats/conversation.qmd
NJordan72 f446988
feat: configurable message mappings, jinja template analyzer
NJordan72 c3ba9be
chore: handle bradley terry
NJordan72 31d8a83
docs: update docs
NJordan72 69771b7
refactor: change order of mappings, improve message transform
NJordan72 e79ae25
refactor: make chat awware of property mappings
NJordan72 2928567
chore: remove .python-version
NJordan72 609f9e2
chore: revert change
NJordan72 c080d95
chore: add dataset validation to tests where appropriate
NJordan72 dccd4d0
chore: add dataset validation to tests where appropriate
NJordan72 2808782
chore: clean up handling of ds_cfg
NJordan72 ab04956
chore: recursively serialize config
NJordan72 b81f6da
make sure to use the return value from validate_config
winglian 5805fc3
DefaultDict pickle/unpickle fix
winglian fe5e394
fix super call for override
winglian f6586bc
refactor: message fields
NJordan72 0f9f5dd
chore: empty commit
NJordan72 ec66d47
tests: validate config before using
NJordan72 696f122
chore: add config validation to all e2e tests
NJordan72 2b82d58
chore: add unneeded logging
NJordan72 a7f32f7
chore: add missed config validation
NJordan72 fc26310
chore: pass field_messages to prompter
NJordan72 05646f4
test: fix borked test
NJordan72 26fa3a1
chore: remove uninteded file
NJordan72 5ff0b1e
chore: add deprecation warning and update chat_datasets script
NJordan72 756a801
chore: lint
NJordan72 04a42bb
refactor: message fields
NJordan72 daac330
feat: update axolotlinputconfig and test_models
NJordan72 b4bdcfe
feat: simplify dpodataset and ktodataset classes in config models
NJordan72 993878f
feat: improve readability and structure in dataset configuration models
NJordan72 965fd80
feat: change log level from info to debug in chattemplatestrategy
NJordan72 ff8569f
feat(prompt_strategies): refactor chattemplateprompter and chattempla…
NJordan72 e98afd9
feat(tests/utils): ignore type check in load_model call in test_model…
NJordan72 f82ed68
feat: improve type handling and test structure in chat templates
NJordan72 1af653c
feat(axolotl): enhance chat strategy with datasetconfig support
NJordan72 1f74e22
feat: update message handling in btchattemplatestrategy
NJordan72 69e8f56
feat: add config validation in test_kd.py
NJordan72 d1b7e16
feat: enhance config validation and capabilities handling
NJordan72 e79ca76
feat: update config validation in axolotl utils
NJordan72 0a32481
feat: refactor strategyloader in chat_template.py
NJordan72 dc7a526
trigger CI
NJordan72 d46a178
chore: revert dataset config changes for kto/dpo
NJordan72 4a98876
subject: refactor: rename 'messages_array_name' to 'field_messages'
NJordan72 bbfda64
feat: refactor prompt strategies and update config models
NJordan72 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 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
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.
Oops, something went wrong.
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.
Would we need to worry about any nested copying here? Should we set
turn = transformed_message
then set the other two fields after?