aha 0.2.5

aha model inference library, now supports Qwen(2.5VL/3/3VL/3.5/ASR/3Embedding/3Reranker), MiniCPM4, VoxCPM/1.5, DeepSeek-OCR/2, Hunyuan-OCR, PaddleOCR-VL/1.5, RMBG2.0, GLM(ASR-Nano-2512/OCR), Fun-ASR-Nano-2512, LFM(2/2.5/2VL/2.5VL)
Documentation
## PaddleOCR-VL
#### Options prompt: 
"OCR:" | "Table Recognition:" | "Formula Recognition:" | "Chart Recognition:"

## PaddleOCR-VL1.5
#### Options prompt: 
"OCR:" | "Table Recognition:" | "Formula Recognition:" | "Chart Recognition:" | "Spotting:" | "Seal Recognition:"

## DeepSeekOCR
#### Main Prompts
1. document: <image>\n<|grounding|>Convert the document to markdown.
2. without layouts: <image>\nFree OCR.

#### Metadata
* base_size: 512 | 640 | 1024 | 1280
* image_size: 512 | 640 | 1024 | 1280
* crop_mode: false | true

##### Example:
```json
{"base_size": "640", "image_size": "640", "crop_mode": "false"}
```
#### Processing Types
| Type | base_size | image_size | crop_mode |
|------|-----------|------------|-----------|
| Tiny | 512 | 512 | false | 
| Small | 640 | 640 | false | 
| Base | 1024 | 1024 | false | 
| Large | 1280 | 1280 | false | 
| Gundam | 1024 | 640 | true | 

## DeepSeekOCR2
#### Main Prompts
1. document: <image>\n<|grounding|>Convert the document to markdown.
2. without layouts: <image>\nFree OCR.

#### Metadata
* crop_mode: false | true


## GLM-OCR
#### Prompt Limited
##### Document Parsing prompt: 
"Text Recognition:" | "Formula Recognition:" | "Table Recognition:"
###### Information Extraction: 
extract structured information from documents. Prompts must follow a strict JSON schema, For example, to extract personal ID information:
```json
Please output the information in the image in the following JSON format:
{
    "id_number": "",
    "last_name": "",
    "first_name": "",
    "date_of_birth": "",
    "address": {
        "street": "",
        "city": "",
        "state": "",
        "zip_code": ""
    },
    "dates": {
        "issue_date": "",
        "expiration_date": ""
    },
    "sex": ""
}
```

## HunyuanOCR
Application-oriented Prompts

| Task | English | Chinese |
|------|---------|---------|
| Spotting | Detect and recognize text in the image, and output the text coordinates in a formatted manner. |	检测并识别图片中的文字,将文本坐标格式化输出。|
| Parsing |	1. Identify the formula in the image and represent it using LaTeX format. <br> 2.Parse the table in the image into HTML. <br> 3. Parse the chart in the image; use Mermaid format for flowcharts and Markdown for other charts. <br> 4.Extract all information from the main body of the document image and represent it in markdown format, ignoring headers and footers. Tables should be expressed in HTML format, formulas in the document should be represented using LaTeX format, and the parsing should be organized according to the reading order. | 1. 识别图片中的公式,用 LaTeX 格式表示。 <br>  2. 把图中的表格解析为 HTML。 <br> 3. 解析图中的图表,对于流程图使用 Mermaid 格式表示,其他图表使用 Markdown 格式表示。 <br> 4. 提取文档图片中正文的所有信息用 markdown 格式表示,其中页眉、页脚部分忽略,表格用 html 格式表达,文档中公式用 latex 格式表示,按照阅读顺序组织进行解析。 |
| Information Extraction | 1. Output the value of Key. <br> 2. Extract the content of the fields: ['key1','key2', ...] from the image and return it in JSON format. <br> 3. Extract the subtitles from the image. | 1. 输出 Key 的值。 <br> 2. 提取图片中的: ['key1','key2', ...] 的字段内容,并按照 JSON 格式返回。 <br> 3. 提取图片中的字幕。 |
| Translation | First extract the text, then translate the text content into English. If it is a document, ignore the header and footer. Formulas should be represented in LaTeX format, and tables should be represented in HTML format. |	先提取文字,再将文字内容翻译为英文。若是文档,则其中页眉、页脚忽略。公式用latex格式表示,表格用html格式表示。 |