Skip to content

Commit baa0082

Browse files
committed
Don't go down too low in temp
1 parent f2951f3 commit baa0082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

olmocr/pipeline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ async def apost(url, json_data):
213213
async def process_page(args, worker_id: int, pdf_orig_path: str, pdf_local_path: str, page_num: int) -> PageResult:
214214
COMPLETION_URL = f"http://localhost:{SGLANG_SERVER_PORT}/v1/chat/completions"
215215
MAX_RETRIES = args.max_page_retries
216-
TEMPERATURE_BY_ATTEMPT = [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8]
216+
TEMPERATURE_BY_ATTEMPT = [0.1, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8]
217217
exponential_backoffs = 0
218218
local_anchor_text_len = args.target_anchor_text_len
219219
local_image_rotation = 0

0 commit comments

Comments
 (0)