mirror of
				https://github.com/allenai/olmocr.git
				synced 2025-11-04 12:07:15 +00:00 
			
		
		
		
	Trying beam search idea
This commit is contained in:
		
							parent
							
								
									c89787183a
								
							
						
					
					
						commit
						44f6b9f0de
					
				@ -145,6 +145,10 @@ async def build_page_query(local_pdf_path: str, page: int, target_longest_image_
 | 
			
		||||
        ],
 | 
			
		||||
        "max_tokens": MAX_TOKENS,
 | 
			
		||||
        "temperature": 0.0,
 | 
			
		||||
        "extra_body": {
 | 
			
		||||
            "use_beam_search": True,
 | 
			
		||||
            "best_of": 5,
 | 
			
		||||
        },
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user