Skip to content

Commit

Permalink
fix processing and test_processing
Browse files Browse the repository at this point in the history
  • Loading branch information
yonigozlan committed Sep 13, 2024
1 parent 14af1c9 commit 4dc7ada
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/transformers/processing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ class TextKwargs(TypedDict, total=False):
Whether or not to return the lengths of the encoded inputs.
verbose (`bool`, *optional*):
Whether or not to print more information and warnings.
padding_side (`str`, *optional*):
The side on which padding will be applied.
"""

add_special_tokens: Optional[bool]
Expand All @@ -118,6 +120,7 @@ class TextKwargs(TypedDict, total=False):
return_offsets_mapping: Optional[bool]
return_length: Optional[bool]
verbose: Optional[bool]
padding_side: Optional[str]


class ImagesKwargs(TypedDict, total=False):
Expand Down

0 comments on commit 4dc7ada

Please sign in to comment.