manaestras commited on
Commit
4be5a16
·
verified ·
1 Parent(s): e6bffef

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -116,7 +116,7 @@ from transformers import AutoProcessor
116
  model_path = "tencent/HunyuanOCR"
117
  llm = LLM(model=model_path)
118
  processor = AutoProcessor.from_pretrained(model_path)
119
- sampling_params = SamplingParams(temperature=1, max_tokens=16384)
120
 
121
  img_path = "/path/to/image.jpg"
122
  img = Image.open(img_path)
 
116
  model_path = "tencent/HunyuanOCR"
117
  llm = LLM(model=model_path)
118
  processor = AutoProcessor.from_pretrained(model_path)
119
+ sampling_params = SamplingParams(temperature=0.0, max_tokens=16384)
120
 
121
  img_path = "/path/to/image.jpg"
122
  img = Image.open(img_path)