mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-22 16:48:57 +00:00
linting
This commit is contained in:
parent
e480c30b8b
commit
d980acfaf9
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ from atroposlib.type_definitions import Message
|
|||
# Roles that should be masked in the loss calculation (not used for training)
|
||||
UNMASKED_ROLES = ["assistant", "agent"]
|
||||
|
||||
|
||||
def tokenize_for_trainer(
|
||||
tokenizer: PreTrainedTokenizer,
|
||||
chat: list[Message],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue