1. 08 Jan, 2025 2 commits
  2. 07 Jan, 2025 1 commit
    • myhloli's avatar
      feat(api): simplify markdown and content list generation · 52efe94d
      myhloli authored
      - Remove DropMode and MakeMode imports from user code
      - Set default drop_mode to DropMode.NONE in get_markdown and get_content_list methods
      - Remove md_make_mode parameter from get_content_list method
      - Add dump_middle_json method to PipeResult
      - Update examples in API documentation and demo script
      52efe94d
  3. 06 Jan, 2025 2 commits
  4. 05 Jan, 2025 3 commits
  5. 03 Jan, 2025 2 commits
  6. 02 Jan, 2025 2 commits
  7. 30 Dec, 2024 2 commits
    • myhloli's avatar
      refactor(magic_pdf): comment out npu-related code · 88b909e2
      myhloli authored
      - Remove use_npu variable initialization
      - Comment out device assignment and npu check
      - Comment out use_npu parameter in ModifiedPaddleOCR constructor
      88b909e2
    • myhloli's avatar
      fix(npu): correct module name for NPU operations · 2684e775
      myhloli authored
      - Update `clean_memory.py` to use `torch_npu.npu` instead of `torch.npu`
      - Update `model_utils.py` to use `torch_npu.npu` instead of `torch.npu`
      - Simplify NPU availability check and bfloat16 support in `pdf_parse_union_core_v2.py`
      2684e775
  8. 27 Dec, 2024 1 commit
  9. 26 Dec, 2024 2 commits
    • myhloli's avatar
      refactor(device): optimize memory cleaning and device selection · 50f48417
      myhloli authored
      - Update clean_memory function to support both CUDA and NPU devices
      - Implement get_device function to centralize device selection logic
      - Modify model initialization and memory cleaning to use the selected device
      - Update RapidTableModel to support both RapidOCR and PaddleOCR engines
      50f48417
    • myhloli's avatar
      feat(model): add npu support and optimize table model · 7990e7df
      myhloli authored
      - Add NPU support for memory cleaning and model initialization
      - Optimize table model initialization and prediction process
      - Update memory utils to support NPU
      - Add language parameter for table model
      7990e7df
  10. 25 Dec, 2024 2 commits
    • myhloli's avatar
      refactor(magic_pdf): remove unnecessary logging statements · 192047a1
      myhloli authored
      - Comment out logging statements for title list, title completion, and length comparison
      - Improve code readability and reduce clutter by removing unused debug information
      192047a1
    • myhloli's avatar
      feat(llm_aided): add title optimization feature · 0a468eca
      myhloli authored
      - Implement llm_aided_title function to optimize document titles using LLM
      - Update pdf_parse_union_core_v2.py to include title optimization
      - Modify ocr_mkcontent.py to use optimized title levels- Add openai SDK dependency in setup.py
      0a468eca
  11. 24 Dec, 2024 1 commit
    • myhloli's avatar
      feat(llm): add LLM-aided formula and text correction · c660fdc8
      myhloli authored
      - Add LLM-aided formula and text correction functionality
      - Update config reader to include LLM-aided settings
      - Create new LLM-aided processing module
      - Update main processing script to incorporate LLM-aided corrections
      - Modify download scripts to check for new config version
      c660fdc8
  12. 20 Dec, 2024 1 commit
  13. 19 Dec, 2024 1 commit
  14. 18 Dec, 2024 7 commits
  15. 17 Dec, 2024 3 commits
  16. 16 Dec, 2024 1 commit
  17. 13 Dec, 2024 3 commits
  18. 12 Dec, 2024 4 commits