Downloads · 30 days
0
can-gaa-hou/GOT-OCR2.0-OpenVINO-INT4
GOT-OCR2.0-OpenVINO-INT4 is a image-text-to-text model from can-gaa-hou. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This is the OpenVINO accelerated version for GOT-OCR2.0. To use this model, download all files from the origin repo stepfun-ai/GOT-OCR20 and copy everything to the weight folder. The file structure should look like this:
Downloads · 30 days
0
Access
Public
Updated Feb 10, 2025
Repo size
1 GB
Likes
3
Public
Click a slice to open those files.
.bin845 MB · 100%
From the Hugging Face model README
This is the OpenVINO accelerated version for GOT-OCR2.0. To use this model, download all files from the origin repo stepfun-ai/GOT-OCR2_0 and copy everything to the weight folder. The file structure should look like this:
.
│ app.py
│ convert_model.py
├─weight
│ config.json
│ generation_config.json
│ got_vision_b.py
│ modeling_GOT.py
│ openvino_language_model.bin
│ openvino_language_model.xml
│ openvino_text_embeddings_model.bin
│ openvino_text_embeddings_model.xml
│ openvino_vision_embeddings_merger_model.bin
│ openvino_vision_embeddings_merger_model.xml
│ openvino_vision_embeddings_model.bin
│ openvino_vision_embeddings_model.xml
│ qwen.tiktoken
│ render_tools.py
│ special_tokens_map.json
│ tokenization_qwen.json
│ tokenizer_config.json
Libraries require:
pip install "openvino" "torch" "transformers" "torchvision" "Pillow" "nncf" "requests" "numpy"
Simply running the following command
python app.py --image-file /path/to/image
For more instruction, refer to GitHub Page