first commit

This commit is contained in:
kyy
2025-10-23 15:48:46 +09:00
parent 2ac6d64a00
commit 0a5c99b0ec
8 changed files with 150 additions and 6 deletions

View File

@@ -17,8 +17,8 @@ model = model.eval().cuda().to(torch.bfloat16)
# prompt = "<image>\nFree OCR. "
prompt = "<image>\n<|grounding|>Convert the document to markdown. "
image_file = 'your_image.jpg'
output_path = 'your/output/dir'
image_file = '/workspace/2025-27484-M21472.pdf'
output_path = '/workspace/output_hf'