sparkocr.eval_hunyuan#
Module Contents#
Functions#
Clean repeated substrings in text |
Attributes#
- clean_repeated_substrings(text)#
Clean repeated substrings in text
- device#
- generated_ids_trimmed#
- image_inputs#
- img_path = './cropped_3.png'#
- input_ids#
- inputs#
- messages#
- messages1#
- model#
- model_name_or_path = 'tencent/HunyuanOCR'#
- output_texts#
- processor#
- texts#