Skip to content

Commit

Permalink
did the same thing in another place
Browse files Browse the repository at this point in the history
  • Loading branch information
milocress committed Jan 18, 2024
1 parent 3ef2b20 commit 21aa9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/data/finetuning/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def preprocessing_fn(example: Dict) -> Dict[str, str]:
ChatFormattedDict = Dict[str, List[Dict[str, str]]]
Conversation = Union[PromptResponseDict, ChatFormattedDict]
ConversationType = Literal['prompt_response', 'chat']
TokenizedConversation = Dict[str, List[int | str]]
TokenizedConversation = Dict[str, List[Union[int, str]]]


def _get_conversation_type(conversation_example: Conversation):
Expand Down

0 comments on commit 21aa9e3

Please sign in to comment.