1. 03 Dec, 2024 1 commit
  2. 21 Nov, 2024 1 commit
  3. 24 Oct, 2024 1 commit
  4. 27 Sep, 2024 1 commit
    • myhloli's avatar
      refactor(pdf_parse_union): integrate LayoutLMv3 for block orderingReplace the... · 1efebe42
      myhloli authored
      refactor(pdf_parse_union): integrate LayoutLMv3 for block orderingReplace the heuristic-based block ordering algorithm with LayoutLMv3 model predictions toimprove the accuracy of block ordering on PDF pages. Additionally, refactor the span
      handling during block filling to ensure spans are correctly assigned.
      
      - Introduce LayoutLMv3ForTokenClassification from 'hantian/layoutreader' to predict block
        order.
      - Implement span replacement strategy to use pymu spans for non-OCR content.
      - Enhance cleanup process to free GPU memory more effectively after model use.
      - Adjust block ordering logic to use median line index for text, title, and interline equation blocks.
      - Refactor page parsing core logic for better maintainability.
      
      BREAKING CHANGE: The integration of LayoutLMv3 changes the internal block handling and
      ordering mechanism, which may affect downstream systems relying on the previous
      implementation. Ensure to test thoroughly before deployment.
      1efebe42
  5. 25 Jun, 2024 1 commit
  6. 29 Apr, 2024 3 commits
  7. 25 Apr, 2024 1 commit
  8. 23 Apr, 2024 1 commit
  9. 22 Apr, 2024 7 commits
  10. 19 Apr, 2024 1 commit
  11. 18 Apr, 2024 1 commit