"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "2e4082364e4bd001f7933d81b3f75548704f79d7"
LayoutLMv2Processor: ensure 1-to-1 mapping between images and samples in case...
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 samples and images in LayoutLMv2Processor * make style * add test for overflowing_tokens, change assert to ValueError, avoiding unrelated formatting changes * change line length by passing --preview into black
Showing
Please register or sign in to comment