Instructions to use nnopt-dev/MiniCPM-OCR-1.0-LiteRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use nnopt-dev/MiniCPM-OCR-1.0-LiteRT with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download config.json from nnopt-dev/MiniCPM-OCR-1.0-LiteRT: direct link, hf CLI and curl.
- Browser
- Download file 1.45 kB
-
https://huggingface.co/nnopt-dev/MiniCPM-OCR-1.0-LiteRT/resolve/main/config.json
- Command line
-
hf download hf://nnopt-dev/MiniCPM-OCR-1.0-LiteRT/config.json
-
curl -L -o config.json https://huggingface.co/nnopt-dev/MiniCPM-OCR-1.0-LiteRT/resolve/main/config.json
1.45 kB
| { | |
| "nnopt_manifest": 1, | |
| "repo": "nnopt-dev/MiniCPM-OCR-1.0-LiteRT", | |
| "model": { | |
| "name": "MiniCPM-OCR-1.0", | |
| "source_repo": "openbmb/MiniCPM-OCR-1.0", | |
| "source_revision": "38498ccffef88bd38298d8df3a4eb3dca7bf4513", | |
| "authors": "OpenBMB", | |
| "license": "apache-2.0" | |
| }, | |
| "variants": [ | |
| { | |
| "id": "sm8850-npu-fp16", | |
| "device": "Samsung Galaxy S26+", | |
| "chip": "Snapdragon 8 Elite Gen 5 (SM8850)", | |
| "os": "Android 16", | |
| "processor": "NPU (Hexagon HTP v81) for every model graph; CPU for JPEG/resize/tokenizer/embedding lookup/argmax", | |
| "runtime": "LiteRT 2.3.1 (CompiledModel C API, Qualcomm dispatch), QNN 2.50.0", | |
| "runtime_version": "LiteRT 2.3.1 + QNN 2.50.0", | |
| "precision": "FP16 on the HTP (fp32 graph I/O, bf16 checkpoint weights stored fp16)", | |
| "weights": "included: models/*.tflite (10 graphs AOT-compiled for SM8850 by nnopt) and build/assets/embed.bf16 (token embeddings) with the tokenizer tables; Qualcomm's QNN runtime is fetched", | |
| "nnopt_job": "NN-EF0726", | |
| "job_kind": "port", | |
| "verified": { | |
| "verdict": "Passed. Next-token agreement 98.3% (bar at least 98.0%, original precision); full check passed; no speculative decoding", | |
| "speed": "Prefill 197 tokens/s; Decode 31.1 tokens/s; Time to first token 4.04 s; Load time 1.65 s; Peak memory 3,467 MB; Runs on 10 graphs, NPU 100%" | |
| }, | |
| "fetch": "sm8850-npu-fp16/fetch.sh" | |
| } | |
| ], | |
| "license": "apache-2.0", | |
| "made_by": "nnopt (https://nnopt.dev)" | |
| } | |