Update modeling_paddleocr_vl.py

#21
PaddlePaddle org
edited Mar 17

Make the model compatible with v5. The create_causal_mask was added before PaddleOCR release so the current diff should be compatible with v4 and v5

From: https://huggingface.co/PaddlePaddle/PaddleOCR-VL/discussions/91

xiaohei66 changed pull request status to merged

Sign up or log in to comment