chipherndon's picture
Document the tokenizer_class patch for vLLM
d8ae31c verified
|
Raw
History Blame Contribute Delete
774 Bytes
metadata
license: apache-2.0
base_model: infly/Infinity-Parser2-Flash
library_name: transformers
pipeline_tag: image-text-to-text
tags:
  - qwen3_5
  - document-parsing
  - infinity-parser

Infinity-Parser2-Flash (vLLM / Transformers 4.x tokenizer)

Server-side copy of infly/Infinity-Parser2-Flash at cfddc4106b0abc4706f05575a164f7dd35d09c46.

The only change is in tokenizer_config.json:

tokenizer_class: TokenizersBackend -> Qwen2Tokenizer

tokenizer.json and the weights are unchanged. Use this repo when a serving runtime cannot rewrite the snapshot (vLLM 0.17.x / Transformers 4.x cannot import TokenizersBackend).

Do not swap in Qwen/Qwen3.5-2B as the model. Point --model at this repo.