mirror of
https://github.com/allenai/olmocr.git
synced 2025-10-29 09:01:35 +00:00
Default to 1288
This commit is contained in:
parent
b88c71e00c
commit
a326c965dd
@ -1009,7 +1009,7 @@ async def main():
|
||||
default="allenai/olmOCR-7B-0225-preview",
|
||||
)
|
||||
parser.add_argument("--model_max_context", type=int, default="8192", help="Maximum context length that the model was fine tuned under")
|
||||
parser.add_argument("--target_longest_image_dim", type=int, help="Dimension on longest side to use for rendering the pdf pages", default=1280)
|
||||
parser.add_argument("--target_longest_image_dim", type=int, help="Dimension on longest side to use for rendering the pdf pages", default=1288)
|
||||
parser.add_argument("--target_anchor_text_len", type=int, help="Maximum amount of anchor text to use (characters), not used for new models", default=-1)
|
||||
parser.add_argument("--guided_decoding", action="store_true", help="Enable guided decoding for model YAML type outputs")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user