generated from fastai/nbdev_template
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔨 Support for tools for data utils (#2455)
* function calling training support for SFTTraining * adding tool support to data_utils * adding test for function calling tokenizer * reverting changes to sfttrainer and config,added maybe_apply_chat_template * arg for maybe_apply_chat_templates docstring * Doc sectioning * minor test modification * minor doc modification --------- Co-authored-by: Quentin Gallouédec <[email protected]> Co-authored-by: Quentin Gallouédec <[email protected]>
- Loading branch information
1 parent
b3aff44
commit e3e171a
Showing
4 changed files
with
85 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,29 @@ | ||
## Data Utilities | ||
# Data Utilities | ||
|
||
## is_conversational | ||
|
||
[[autodoc]] is_conversational | ||
|
||
## apply_chat_template | ||
|
||
[[autodoc]] apply_chat_template | ||
|
||
## maybe_apply_chat_template | ||
|
||
[[autodoc]] maybe_apply_chat_template | ||
|
||
## extract_prompt | ||
|
||
[[autodoc]] extract_prompt | ||
|
||
## maybe_extract_prompt | ||
|
||
[[autodoc]] maybe_extract_prompt | ||
|
||
## unpair_preference_dataset | ||
|
||
[[autodoc]] unpair_preference_dataset | ||
|
||
## maybe_unpair_preference_dataset | ||
|
||
[[autodoc]] maybe_unpair_preference_dataset |
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