"docs/vscode:/vscode.git/clone" did not exist on "67403413bd8f8e00759a9cffe8608e092fa7b519"
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