Request it for the seed queue, or get it now with pf download can-gaa-hou/GOT-OCR2.0-OpenVINO-INT4 (CLI guide).
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
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo can-gaa-hou/GOT-OCR2.0-OpenVINO-INT4 ./model-folderweight/openvino_text_embeddings_model.bin 297 MiBweight/openvino_lm_head_model.bin 297 MiBweight/openvino_language_model.bin 154 MiBweight/openvino_vision_tower_high_model.bin 56 MiBweight/openvino_projector_vary_model.bin 2 MiBstepfun-ai/GOT-OCR2_0