Update README.md
Browse files
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=
|
| 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)
|