mirror of
https://github.com/allenai/olmocr.git
synced 2025-10-11 00:02:41 +00:00
Refreshing the claude sonnet synth miner
This commit is contained in:
parent
34d7f6e1c5
commit
ce86aff80a
1
.gitignore
vendored
1
.gitignore
vendored
@ -26,6 +26,7 @@ filtered_items/
|
||||
filtered_items_prefilter/
|
||||
augraphy_cache/
|
||||
/*.html
|
||||
html_templates*/
|
||||
scoreelo.csv
|
||||
debug.log
|
||||
birrpipeline-debug.log
|
||||
|
@ -67,7 +67,7 @@ def generate_html_from_image(client, image_base64):
|
||||
try:
|
||||
# Step 1: Initial analysis and column detection
|
||||
analysis_response = client.messages.create(
|
||||
model="claude-3-7-sonnet-20250219",
|
||||
model="claude-sonnet-4-20250514",
|
||||
max_tokens=2000,
|
||||
temperature=0.1,
|
||||
messages=[
|
||||
@ -96,7 +96,7 @@ def generate_html_from_image(client, image_base64):
|
||||
|
||||
# Step 2: Initial HTML generation with detailed layout instructions
|
||||
initial_response = client.messages.create(
|
||||
model="claude-3-7-sonnet-20250219",
|
||||
model="claude-sonnet-4-20250514",
|
||||
max_tokens=6000,
|
||||
temperature=0.2,
|
||||
messages=[
|
||||
|
Loading…
x
Reference in New Issue
Block a user