LayoutLMv2Processor: ensure 1-to-1 mapping between images and samples in case of overflowing tokens #17092
add get_overflowing_images function to ensure 1-to-1 mapping between …
1111e760
make style
212e032f
sgugger
approved these changes
on 2022-05-05
add test for overflowing_tokens, change assert to ValueError, avoidin…
65746446
garyhlai
force pushed
to
65746446
3 years ago
change line length by passing --preview into black
330c8b83
sgugger
merged
e9fd583c
into main 3 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub