Publish TeleOCR GGUF: F16, Q8_0, Q4_K_M
Browse files- .gitattributes +3 -0
- LICENSE +202 -0
- README.md +68 -0
- UPSTREAM_README.md +196 -0
- manifest.json +141 -0
- teleocr-f16.gguf +3 -0
- teleocr-q4_k-m.gguf +3 -0
- teleocr-q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
teleocr-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
teleocr-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
teleocr-q4_k-m.gguf filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
license_link: LICENSE
|
| 4 |
+
base_model: XingChen-AGI/TeleOCR
|
| 5 |
+
base_model_relation: quantized
|
| 6 |
+
pipeline_tag: image-text-to-text
|
| 7 |
+
library_name: gguf
|
| 8 |
+
tags: [gguf, ocr, crispembed, document-parsing, teleocr, qwen2.5-vl]
|
| 9 |
+
---
|
| 10 |
+
# TeleOCR GGUF (CrispEmbed)
|
| 11 |
+
|
| 12 |
+
GGUF conversions of [XingChen-AGI/TeleOCR](https://huggingface.co/XingChen-AGI/TeleOCR/tree/b3f6a0c084db72f971e19a779d2fd8a6bc9e3b8d)
|
| 13 |
+
by XingChen-AGI / China Telecom, for [CrispEmbed](https://github.com/CrispStrobe/CrispEmbed)'s native ggml runtime.
|
| 14 |
+
All credit for the model belongs to the original authors; these files only change the storage format.
|
| 15 |
+
They target CrispEmbed's TeleOCR profile (`general.architecture = teleocr`, GGUF v1) and are not loadable by llama.cpp.
|
| 16 |
+
|
| 17 |
+
## License and attribution
|
| 18 |
+
|
| 19 |
+
- The original model is released under the **Apache License 2.0** (XingChen-AGI / China Telecom; modeling code Copyright 2025 The Qwen Team and The HuggingFace Inc. team).
|
| 20 |
+
These derived files are distributed under the same license.
|
| 21 |
+
- `LICENSE`: the model card declares `license: apache-2.0` and the model's `modeling_naviocr.py` carries an Apache-2.0 header, but no LICENSE file is shipped upstream, so this is the canonical Apache-2.0 text from apache.org (SHA256 `cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30`). Upstream ships no NOTICE file,
|
| 22 |
+
so none is included.
|
| 23 |
+
- `UPSTREAM_README.md` is the unmodified upstream model card at revision `b3f6a0c084db72f971e19a779d2fd8a6bc9e3b8d`
|
| 24 |
+
(SHA256 `176c705cd92eeb9006c048e72274741e839f2bafa2bae858e64c3277264eb0db`).
|
| 25 |
+
|
| 26 |
+
## Statement of changes (Apache-2.0 section 4(b))
|
| 27 |
+
|
| 28 |
+
These files were modified from the original by CrispEmbed: the safetensors weights of revision
|
| 29 |
+
`b3f6a0c084db72f971e19a779d2fd8a6bc9e3b8d` were **format-converted** to GGUF (tensor renaming, casting, tokenizer and
|
| 30 |
+
preprocessing metadata embedded) and, where noted, **quantized**.
|
| 31 |
+
No weights were trained, fine-tuned, merged or otherwise altered.
|
| 32 |
+
|
| 33 |
+
## Files
|
| 34 |
+
|
| 35 |
+
| File | Precision | Bytes | SHA256 |
|
| 36 |
+
|---|---|---:|---|
|
| 37 |
+
| `teleocr-f16.gguf` | F16 | 2,526,109,984 | `6c52a2800e313964717cf4e5d06e0392c2b5936d8adeac423d563b8a026a2780` |
|
| 38 |
+
| `teleocr-q8_0.gguf` | Q8_0 | 2,113,233,248 | `9de7e45ce6c13ba03d3d2879f2a1bff9f8407e12808be588cf057cd2553f224b` |
|
| 39 |
+
| `teleocr-q4_k-m.gguf` | Q4_K_M | 1,923,310,816 | `e975568f8bd069b3bc81364d10b38143a834922cdf600150e7e74084bfbce293` |
|
| 40 |
+
|
| 41 |
+
- **F16**: F16 matrices, F32 norms/biases
|
| 42 |
+
- **Q8_0**: decoder matrices Q8_0; vision, merger and tied embedding F16
|
| 43 |
+
- **Q4_K_M**: decoder Q4_K with ffn_down/attn_v Q6_K; vision, merger and tied embedding F16
|
| 44 |
+
|
| 45 |
+
## How the files were produced
|
| 46 |
+
|
| 47 |
+
1. Downloaded `XingChen-AGI/TeleOCR` at the pinned revision `b3f6a0c084db72f971e19a779d2fd8a6bc9e3b8d`; the converter
|
| 48 |
+
(`models/convert-teleocr-to-gguf.py`) checks the source files, tensor names and shapes.
|
| 49 |
+
2. Quantized variants were produced with CrispEmbed's own `crispembed-quantize` from the listed source GGUF.
|
| 50 |
+
3. Built and uploaded by CrispEmbed commit `e830fc9961afd741d0c757ce8b2c8b44a6b3a2fa` (workflow `ocr-gguf-publish.yml`,
|
| 51 |
+
protocol `docs/teleocr-publication-v1.json`); `manifest.json` lists every recipe, input pin, receipt and file hash.
|
| 52 |
+
|
| 53 |
+
## Parity status (CrispEmbed native vs. the original Python model, CPU, greedy)
|
| 54 |
+
|
| 55 |
+
- The reference arms (f32) reproduce the original model's generated token IDs
|
| 56 |
+
**exactly** on all 6 frozen requests (`text` (66), `formula` (166), `table` (283), `code` (366), `layout` (768), `synthetic` (19) tokens), CrispEmbed commit
|
| 57 |
+
`9d24b621`, reference revision `b3f6a0c084db`.
|
| 58 |
+
- **F16** is token-ID exact on the same 6 cases (receipt `tests/results/teleocr/hosted-precision.json`); **Q8_0** is token-ID exact on the same 6 cases (receipt `tests/results/teleocr/hosted-precision.json`); **Q4_K_M** is token-ID exact on the same 6 cases (receipt `tests/results/teleocr/hosted-precision.json`).
|
| 59 |
+
- Strict intermediate numerical budgets are not met, including F32: one-ulp differences on the model's massive activations are amplified where they emerge (vision block 17); decoded IDs and text are exact. Also not verified: GPU numerical parity, other CPU/kernel combinations, mobile/WASM, aggregate OCR benchmarks beyond the six frozen cases.
|
| 60 |
+
|
| 61 |
+
## Usage
|
| 62 |
+
|
| 63 |
+
TeleOCR support is experimental and default-off in CrispEmbed (CPU by default):
|
| 64 |
+
|
| 65 |
+
```bash
|
| 66 |
+
CRISPEMBED_TELEOCR=1 crispembed --ocr-pipeline page.png \\
|
| 67 |
+
--ocr-engine teleocr --ocr-rec teleocr-f16.gguf
|
| 68 |
+
```
|
UPSTREAM_README.md
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- ocr
|
| 5 |
+
- document-parsing
|
| 6 |
+
- multimodal
|
| 7 |
+
library_name: transformers
|
| 8 |
+
pipeline_tag: image-text-to-text
|
| 9 |
+
language:
|
| 10 |
+
- zh
|
| 11 |
+
- en
|
| 12 |
+
---
|
| 13 |
+
<div align="center">
|
| 14 |
+
|
| 15 |
+
<h1 align="center">
|
| 16 |
+
TeleOCR: Navigating Document Parsing Across Digital and Camera-Captured Documents
|
| 17 |
+
|
| 18 |
+
</h1>
|
| 19 |
+
|
| 20 |
+
[](LICENSE)
|
| 21 |
+
[](https://github.com/caipeng328/TeleOCR)
|
| 22 |
+
[](https://www.teleai.com.cn/docparse/DocumentParsing)
|
| 23 |
+
[](https://arxiv.org/abs/2608.12898)
|
| 24 |
+
</div>
|
| 25 |
+
|
| 26 |
+
<div align="center">
|
| 27 |
+
<img src="https://raw.githubusercontent.com/caipeng328/TeleOCR/refs/heads/main/assets/score.png" width="800">
|
| 28 |
+
</div>
|
| 29 |
+
|
| 30 |
+
## 🔥 News
|
| 31 |
+
- **2026/09/10** - We have renamed NaviDC-OCR to TeleOCR, and all subsequent model iterations will be developed and released under the TeleOCR version.
|
| 32 |
+
- **2026/09/01** - We noticed that EMNLP 2026 is hosting the [Dr.DocBench Challenge](https://eval.ai/web/challenges/challenge-page/2717/overview), a document parsing competition. We evaluated NaviDC-OCR with its native weights, achieving better results than MinerU 2.5 Pro and PaddleOCR-VL 1.6. Detailed results are shown below **dr.docbench-challenge**. We welcome the use of NaviDC‑OCR for competitions. Going forward, we will continue to deliver competitive parsing models for the community.
|
| 33 |
+
- **2026/08/29** — Thanks to Nandraj for the GGUF conversion and llama.cpp support [🔗 NaviDC-OCR-GGUF](https://huggingface.co/nandraj/NaviDC-OCR-GGUF), and to the community for sharing their experience deploying NaviDC-OCR on [Ascend 910B!](https://zhuanlan.zhihu.com/p/2078516899093155893)
|
| 34 |
+
- **2026/08/17** — NaviDC-OCR [model weights](https://huggingface.co/StarDoc-AI/NaviDC-OCR) and [technical report](https://arxiv.org/pdf/2608.12898) have been released.
|
| 35 |
+
|
| 36 |
+
## 📖 Introduction
|
| 37 |
+
|
| 38 |
+
**TeleOCR** is a lightweight (~1.2B parameters), open-source Vision-Language Model designed specifically for document parsing.
|
| 39 |
+
|
| 40 |
+
Unlike existing methods that mainly target either digital documents or camera-captured documents, TeleOCR unifies both scenarios within a single framework.
|
| 41 |
+
|
| 42 |
+
Compared with previous document parsing models, TeleOCR introduces
|
| 43 |
+
|
| 44 |
+
- Multi-node Consensus Voting (MCV) for automatic pseudo-label generation
|
| 45 |
+
- Geometry-aware document modeling for camera-captured documents
|
| 46 |
+
- Curvature-Guided Douglas-Peucker Sampling (CGDP)
|
| 47 |
+
- Image-to-image self-verification for automatic data refinement
|
| 48 |
+
- Progressive four-stage training pipeline
|
| 49 |
+
- Content-Structure Decoupled Learning for tables and formulas
|
| 50 |
+
|
| 51 |
+
These techniques enable TeleOCR to achieve state-of-the-art performance on both digital and camera-captured document benchmarks while remaining lightweight enough for practical deployment.
|
| 52 |
+
|
| 53 |
+
## 📊 Experimental Results
|
| 54 |
+
|
| 55 |
+
TeleOCR achieves state-of-the-art performance on multiple public document parsing benchmarks.
|
| 56 |
+
|
| 57 |
+
### Layout Visualization of Distorted Documents
|
| 58 |
+
To evaluate the model's ability to understand complex document deformations, we conduct a visual evaluation on the public dewarping datasets DocUNet and DIR300, with representative results shown in Figure. TeleOCR directly performs layout and content parsing on distorted documents without dewarping preprocessing or a dedicated rectification model, demonstrating robust parsing under complex geometric deformations.
|
| 59 |
+
<div align="center">
|
| 60 |
+
|
| 61 |
+
<img src="https://raw.githubusercontent.com/caipeng328/TeleOCR/refs/heads/main/assets/dir300.png" width="800" alt="Parsing evaluation on the DIR300 dataset.">
|
| 62 |
+
<img src="https://raw.githubusercontent.com/caipeng328/TeleOCR/refs/heads/main/assets/docunet.png" width="800" alt="Parsing evaluation on the DocUNet dataset.">
|
| 63 |
+
</div>
|
| 64 |
+
|
| 65 |
+
---
|
| 66 |
+
|
| 67 |
+
## Dr.DocBench Challenge
|
| 68 |
+
|
| 69 |
+
|模型|overall ↑|Text edit ↓|formula cdm ↑|Table teds ↑|order edit ↓|
|
| 70 |
+
|---|---|---|---|---|---|
|
| 71 |
+
|**Specialized VLMs**| | | | | |
|
| 72 |
+
|TeleOCR|67.96|0.1903|0.02|64.97|0.398|
|
| 73 |
+
|Mineru 2.5 pro|62.26|0.3402|0.04|67.75|0.356|
|
| 74 |
+
|OvisOCR2|59.25|0.3883|0.00|61.59|0.3791|
|
| 75 |
+
|PaddleOCRvl 1.6|55.11 | 0.4364 | 0.21 | 51.34 |0.412 |
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
|
| 80 |
+
### [OmniDocBench v1.6](https://github.com/opendatalab/OmniDocBench)
|
| 81 |
+
|
| 82 |
+
| Model Type | Methods | Param | Overall ↑ | Text Edit ↓ | Formula CDM ↑ | Table TEDS ↑ | Table TEDS-S ↑ | Read Order Edit ↓ |
|
| 83 |
+
|---|---|---:|---:|---:|---:|---:|---:|---:|
|
| 84 |
+
| **Specialized VLMs** | **TeleOCR** | **1.2B** | **96.87** | <u>0.027</u> | 96.36 | **97.05** | **98.52** | <u>0.122</u> |
|
| 85 |
+
| | OvisOCR2 | 0.8B | <u>96.58</u> | **0.025** | **97.53** | <u>94.76</u> | <u>97.16</u> | **0.111** |
|
| 86 |
+
| | PaddleOCR-VL-1.6 | 0.9B | 96.33 | 0.033 | <u>97.49</u> | <u>94.76</u> | 97.11 | 0.127 |
|
| 87 |
+
| | MinerU2.5-Pro | 1.2B | 95.75 | 0.036 | 97.45 | 93.42 | 95.92 | 0.120 |
|
| 88 |
+
| | GLM-OCR | 0.9B | 95.22 | 0.044 | 97.18 | 92.83 | 95.39 | 0.133 |
|
| 89 |
+
| | PaddleOCR-VL-1.5 | 0.9B | 94.87 | 0.038 | 96.69 | 91.67 | 94.37 | 0.130 |
|
| 90 |
+
| | HunyuanOCR-1.5 | 1B | 94.74 | 0.033 | 97.49 | 94.76 | 97.11 | 0.127 |
|
| 91 |
+
| | PaddleOCR-VL | 0.9B | 94.11 | 0.040 | 95.70 | 90.65 | 93.74 | 0.135 |
|
| 92 |
+
| | Youtu-Parsing | 2.5B | 93.68 | 0.044 | 93.45 | 92.02 | 95.00 | 0.116 |
|
| 93 |
+
| | Logics-Parsing-v2 | 4B | 93.27 | 0.041 | 95.47 | 88.42 | 91.98 | 0.137 |
|
| 94 |
+
| | FireRed-OCR | 2B | 93.20 | 0.037 | 95.27 | 88.04 | 91.06 | 0.131 |
|
| 95 |
+
| | MinerU2.5 | 1.2B | 92.98 | 0.045 | 95.59 | 87.88 | 91.47 | 0.130 |
|
| 96 |
+
| | OpenDoc-0.1B | 0.1B | 90.64 | 0.049 | 92.93 | 83.88 | 87.45 | 0.140 |
|
| 97 |
+
| | dots.ocr | 3B | 90.50 | 0.048 | 89.12 | 87.18 | 90.58 | 0.138 |
|
| 98 |
+
| | DeepSeek-OCR 2 | 3B | 90.17 | 0.050 | 91.59 | 83.89 | 87.75 | 0.144 |
|
| 99 |
+
| | HunyuanOCR | 1B | 89.87 | 0.089 | 87.44 | 91.01 | 93.23 | 0.171 |
|
| 100 |
+
| | Dolphin-v2 | 3B | 89.34 | 0.069 | 90.53 | 84.40 | 87.44 | 0.150 |
|
| 101 |
+
| | OCRVerse | 4B | 88.44 | 0.063 | 89.14 | 82.44 | 86.27 | 0.163 |
|
| 102 |
+
| | MonkeyOCR-pro-3B | 3B | 88.43 | 0.074 | 88.33 | 84.35 | 88.62 | 0.189 |
|
| 103 |
+
| **General VLMs** | Ovis2.6-30B-A3B | 30B | 93.62 | 0.035 | 94.93 | 89.44 | 92.40 | 0.135 |
|
| 104 |
+
| | Gemini 3 Pro | -- | 92.85 | 0.064 | 95.83 | 89.15 | 92.96 | 0.165 |
|
| 105 |
+
| | Gemini 3 Flash | -- | 92.58 | 0.066 | 95.03 | 89.29 | 93.51 | 0.173 |
|
| 106 |
+
| | Qwen3-VL-235B | 235B | 89.78 | 0.063 | 92.53 | 83.07 | 86.75 | 0.166 |
|
| 107 |
+
| | GPT-5.2 | -- | 86.52 | 0.114 | 88.00 | 82.95 | 87.93 | 0.193 |
|
| 108 |
+
| | InternVL3.5-241B | 241B | 83.61 | 0.130 | 89.52 | 74.35 | 79.78 | 0.215 |
|
| 109 |
+
|
| 110 |
+
---
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
### [Wild_OmniDocBench](https://github.com/VirtualLUOUCAS/Wild_OmniDocBench)
|
| 114 |
+
| Model Type | Methods | Param | Overall ↑ | Text Edit ↓ | Formula CDM ↑ | Table TEDS ↑ | Table TEDS-S ↑ | Read Order Edit ↓ |
|
| 115 |
+
| ------------------- | ----------------- | ----: | -----------: | ----------: | ------------: | -----------: | -------------: | ----------------: |
|
| 116 |
+
| **Decoupled VLMs** | **TeleOCR** | 1.2B | **88.53** | **0.1173** | 88.26 | **89.05** | **92.14** | **0.2011** |
|
| 117 |
+
| | PaddleOCR-VL-1.6 | 0.9B | 87.36 | 0.1369 | 88.42 | <u>85.76</u> | <u>90.14</u> | 0.2057 |
|
| 118 |
+
| | MinerU2.5-Pro | 1.2B | 87.33 | 0.1362 | <u>90.15</u> | 85.46 | 90.12 | <u>0.2013</u> |
|
| 119 |
+
| | GLM-OCR | 0.9B | 85.08 | 0.1514 | 89.09 | 81.31 | 85.90 | 0.2228 |
|
| 120 |
+
| | PaddleOCR-VL-1.5 | 0.9B | 84.64 | 0.1461 | 86.72 | 81.80 | 86.52 | 0.2138 |
|
| 121 |
+
| **End-to-End VLMs** | OvisOCR2 | 0.8B | <u>87.91</u> | 0.129 | **90.37** | 85.13 | 89.11 | 0.2021 |
|
| 122 |
+
| | dots.ocr | 3B | 81.84 | 0.1483 | 85.0 | 75.32 | 80.20 | 0.2200 |
|
| 123 |
+
| | HunyuanOCR-1.5 | 1B | 77.62 | 0.1979 | 85.12 | 67.54 | 70.67 | 0.2750 |
|
| 124 |
+
| | Logics-Parsing-v2 | 4B | 77.10 | 0.4029 | 91.4 | 80.19 | 87.16 | 0.2355 |
|
| 125 |
+
|
| 126 |
+
---
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
### [PureDocBench](https://github.com/zhihengli-casia/puredocbench/)
|
| 130 |
+
| Model Type | Model | Clean Overall ↑ | Clean Text ↓ | Clean Formula ↑ | Clean Table ↑ | Digital Degraded Overall ↑ | Digital Degraded Text ↓ | Digital Degraded Formula ↑ | Digital Degraded Table ↑ | Real Degraded Overall ↑ | Real Degraded Text ↓ | Real Degraded Formula ↑ | Real Degraded Table ↑ |
|
| 131 |
+
| ------------------ | ----------------- | --------------: | -----------: | --------------: | ------------: | -------------------------: | ----------------------: | -------------------------: | -----------------------: | ----------------------: | -------------------: | ----------------------: | --------------------: |
|
| 132 |
+
| **Decoupled VLM** | **TeleOCR** | **86.90** | **0.111** | **81.01** | **91.09** | <u>77.47</u> | 0.206 | **72.59** | 80.45 | **70.85** | <u>0.302</u> | **65.11** | **77.66** |
|
| 133 |
+
| | DotsMOCR | 76.27 | 0.151 | 66.23 | 77.65 | 73.16 | <u>0.198</u> | 64.32 | 74.95 | 61.73 | 0.312 | 54.39 | 61.97 |
|
| 134 |
+
| | MinerU2.5-Pro | 75.87 | 0.222 | 65.14 | 84.68 | 71.77 | 0.272 | 61.79 | 80.73 | 62.56 | 0.375 | 52.70 | 72.47 |
|
| 135 |
+
| | YouTu-Parsing | 75.02 | 0.230 | 67.34 | 80.74 | 69.66 | 0.270 | 61.44 | 74.49 | 60.29 | 0.360 | 52.20 | 64.69 |
|
| 136 |
+
| | PaddleOCR-VL-1.5 | 73.01 | 0.266 | 63.53 | 82.12 | 66.73 | 0.339 | 58.03 | 76.07 | 60.50 | 0.398 | 54.00 | 67.33 |
|
| 137 |
+
| | GLM-OCR | 68.65 | 0.314 | 57.89 | 79.44 | 63.06 | 0.383 | 53.23 | 74.21 | 58.31 | 0.433 | 50.34 | 67.83 |
|
| 138 |
+
| | Dolphin-v2 | 65.90 | 0.342 | 59.80 | 72.12 | 60.24 | 0.393 | 52.20 | 67.86 | 44.92 | 0.553 | 39.98 | 50.04 |
|
| 139 |
+
| | MonkeyOCR-pro-3B | 62.23 | 0.346 | 48.46 | 72.83 | 57.40 | 0.397 | 45.57 | 66.32 | 46.49 | 0.511 | 38.18 | 52.43 |
|
| 140 |
+
| **End-to-End VLM** | OvisOCR2 | <u>82.14</u> | <u>0.149</u> | <u>71.29</u> | <u>90.12</u> | **77.77** | **0.192** | <u>67.87</u> | **84.71** | 66.61 | 0.316 | 57.64 | <u>73.79</u> |
|
| 141 |
+
| | FD-RL | 78.38 | 0.193 | 68.21 | 86.22 | 76.33 | 0.214 | 67.16 | <u>83.22</u> | <u>67.04</u> | **0.298** | 58.82 | 72.08 |
|
| 142 |
+
| | Logics-Parsing-v2 | 76.35 | 0.213 | 67.67 | 82.67 | 73.85 | 0.248 | 67.33 | 79.02 | 67.64 | 0.304 | <u>61.65</u> | 71.64 |
|
| 143 |
+
| | dots.ocr | 72.01 | 0.248 | 61.37 | 79.51 | 65.95 | 0.307 | 56.67 | 71.86 | 55.68 | 0.403 | 47.70 | 59.63 |
|
| 144 |
+
| | Qianfan-OCR | 57.22 | 0.370 | 49.79 | 58.83 | 50.85 | 0.438 | 44.41 | 51.96 | 45.06 | 0.494 | 39.08 | 45.53 |
|
| 145 |
+
| **General VLMs** | Qwen3-VL-8B | 72.44 | 0.261 | 65.10 | 78.35 | 72.03 | 0.266 | 64.88 | 77.82 | 62.73 | 0.342 | 55.55 | 66.81 |
|
| 146 |
+
| | Kimi K2.6 | 72.32 | 0.303 | 66.93 | 80.30 | 69.95 | 0.322 | 64.69 | 77.31 | 68.02 | 0.335 | 62.44 | 75.14 |
|
| 147 |
+
| | Gemini-3.1-Pro | 70.04 | 0.306 | 65.63 | 75.08 | 69.28 | 0.322 | 65.81 | 74.24 | **71.98** | 0.300 | 68.62 | 77.26 |
|
| 148 |
+
| | Qwen3.5-397B-A17B | 69.12 | 0.233 | 65.26 | 65.40 | 68.34 | 0.244 | 63.91 | 65.53 | 62.70 | 0.287 | 60.70 | 56.12 |
|
| 149 |
+
|
| 150 |
+
---
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
### [ICDAR2026 Sci-ImageMiner](https://sites.google.com/view/sci-imageminer/)
|
| 154 |
+
| # | Team | RMS | TEDS | Weighted |
|
| 155 |
+
| ----: | --------------- | --------: | --------: | --------: |
|
| 156 |
+
| **1** | **TeleOCR** | **17.23** | **66.39** | **41.81** |
|
| 157 |
+
| 2 | VLMinators | 17.29 | 64.31 | 40.80 |
|
| 158 |
+
| 3 | Ricoh_SRCB | 16.23 | 61.12 | 38.67 |
|
| 159 |
+
| 4 | Vassilis Sioros | 14.94 | 55.20 | 35.07 |
|
| 160 |
+
| 5 | DocMiner | 12.67 | 53.72 | 33.19 |
|
| 161 |
+
| 6 | Qwen3 VL 8B | 14.08 | 57.86 | 35.97 |
|
| 162 |
+
|
| 163 |
+
If you would like to perform complete document parsing, please refer to our GitHub repository: https://github.com/caipeng328/NaviDC-OCR.
|
| 164 |
+
|
| 165 |
+
## Citation
|
| 166 |
+
|
| 167 |
+
```bibtex
|
| 168 |
+
@article{teleocr,
|
| 169 |
+
title={TeleOCR: Navigating Document Parsing Across Digital and Camera-Captured Documents},
|
| 170 |
+
author={Cai, Peng and Zou, Zhaofan and Liu, Shifa and Wang, Yikun and Tang, Jiawei and Yang, Kaicheng and Tong, Meng and He, Zhongjiang and Sun, Hao},
|
| 171 |
+
journal={arXiv preprint arXiv:2608.12898},
|
| 172 |
+
year={2026}
|
| 173 |
+
}
|
| 174 |
+
```
|
| 175 |
+
## Community Contributions
|
| 176 |
+
|
| 177 |
+
Thanks to Nandraj for the GGUF conversion and llama.cpp support! [🔗 NaviDC-OCR-GGUF](https://huggingface.co/nandraj/NaviDC-OCR-GGUF)
|
| 178 |
+
|
| 179 |
+
## Acknowledgements
|
| 180 |
+
|
| 181 |
+
TeleOCR is built upon
|
| 182 |
+
|
| 183 |
+
- MinerU
|
| 184 |
+
- Qwen2.5-VL
|
| 185 |
+
- Qwen3
|
| 186 |
+
- Transformers
|
| 187 |
+
- PyTorch
|
| 188 |
+
- FlashAttention
|
| 189 |
+
|
| 190 |
+
We sincerely thank these excellent open-source projects.
|
| 191 |
+
|
| 192 |
+
---
|
| 193 |
+
|
| 194 |
+
## Contact
|
| 195 |
+
|
| 196 |
+
If you have any questions, feel free to open an issue or contact us.
|
manifest.json
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "crispembed-ocr-gguf-publication-manifest-v1",
|
| 3 |
+
"destination": "cstr/TeleOCR-GGUF",
|
| 4 |
+
"protocol": "docs/teleocr-publication-v1.json",
|
| 5 |
+
"source_commit": "e830fc9961afd741d0c757ce8b2c8b44a6b3a2fa",
|
| 6 |
+
"upstream": {
|
| 7 |
+
"repo": "XingChen-AGI/TeleOCR",
|
| 8 |
+
"revision": "b3f6a0c084db72f971e19a779d2fd8a6bc9e3b8d",
|
| 9 |
+
"license": "apache-2.0",
|
| 10 |
+
"copyright": "XingChen-AGI / China Telecom; modeling code Copyright 2025 The Qwen Team and The HuggingFace Inc. team",
|
| 11 |
+
"readme": {
|
| 12 |
+
"bytes": 16801,
|
| 13 |
+
"sha256": "176c705cd92eeb9006c048e72274741e839f2bafa2bae858e64c3277264eb0db"
|
| 14 |
+
},
|
| 15 |
+
"license_file": {
|
| 16 |
+
"note": "Neither the model repository nor the official code repository ships a LICENSE file (2026-10-31); the model card declares apache-2.0 and modeling_naviocr.py carries an Apache-2.0 header. The verbatim text is the canonical Apache-2.0 file, byte-identical to models/licenses/apache-2.0/LICENSE.",
|
| 17 |
+
"url": "https://www.apache.org/licenses/LICENSE-2.0.txt",
|
| 18 |
+
"bytes": 11358,
|
| 19 |
+
"sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
|
| 20 |
+
},
|
| 21 |
+
"notice_file": {
|
| 22 |
+
"present": false,
|
| 23 |
+
"note": "No upstream NOTICE file exists; the card carries attribution and the statement of changes."
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"recipes": {
|
| 27 |
+
"F16": {
|
| 28 |
+
"filename": "teleocr-f16.gguf",
|
| 29 |
+
"from": "convert",
|
| 30 |
+
"convert_args": [
|
| 31 |
+
"--dtype",
|
| 32 |
+
"f16"
|
| 33 |
+
],
|
| 34 |
+
"note": "F16 matrices, F32 norms/biases",
|
| 35 |
+
"precision_receipt": "tests/results/teleocr/hosted-precision.json",
|
| 36 |
+
"precision_dtype": "f16"
|
| 37 |
+
},
|
| 38 |
+
"Q8_0": {
|
| 39 |
+
"filename": "teleocr-q8_0.gguf",
|
| 40 |
+
"from": "convert",
|
| 41 |
+
"convert_args": [
|
| 42 |
+
"--dtype",
|
| 43 |
+
"q8_0"
|
| 44 |
+
],
|
| 45 |
+
"note": "decoder matrices Q8_0; vision, merger and tied embedding F16",
|
| 46 |
+
"precision_receipt": "tests/results/teleocr/hosted-precision.json",
|
| 47 |
+
"precision_dtype": "q8_0"
|
| 48 |
+
},
|
| 49 |
+
"Q4_K_M": {
|
| 50 |
+
"filename": "teleocr-q4_k-m.gguf",
|
| 51 |
+
"from": "F16",
|
| 52 |
+
"type": "q4_k",
|
| 53 |
+
"tensor_type": [
|
| 54 |
+
"v.*=f16",
|
| 55 |
+
"l.embed_tokens.weight=f16",
|
| 56 |
+
"l.blk.*.ffn_down.weight=q6_k",
|
| 57 |
+
"l.blk.*.attn_v.weight=q6_k"
|
| 58 |
+
],
|
| 59 |
+
"note": "decoder Q4_K with ffn_down/attn_v Q6_K; vision, merger and tied embedding F16",
|
| 60 |
+
"precision_receipt": "tests/results/teleocr/hosted-precision.json",
|
| 61 |
+
"precision_dtype": "q4_k-m"
|
| 62 |
+
}
|
| 63 |
+
},
|
| 64 |
+
"files": [
|
| 65 |
+
{
|
| 66 |
+
"variant": "F16",
|
| 67 |
+
"filename": "teleocr-f16.gguf",
|
| 68 |
+
"bytes": 2526109984,
|
| 69 |
+
"sha256": "6c52a2800e313964717cf4e5d06e0392c2b5936d8adeac423d563b8a026a2780"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"variant": "Q8_0",
|
| 73 |
+
"filename": "teleocr-q8_0.gguf",
|
| 74 |
+
"bytes": 2113233248,
|
| 75 |
+
"sha256": "9de7e45ce6c13ba03d3d2879f2a1bff9f8407e12808be588cf057cd2553f224b"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"variant": "Q4_K_M",
|
| 79 |
+
"filename": "teleocr-q4_k-m.gguf",
|
| 80 |
+
"bytes": 1923310816,
|
| 81 |
+
"sha256": "e975568f8bd069b3bc81364d10b38143a834922cdf600150e7e74084bfbce293"
|
| 82 |
+
}
|
| 83 |
+
],
|
| 84 |
+
"readme_sha256": "0169cea675028465e402e710a8971965d28d49b37f1175686d2257d9cf4fc036",
|
| 85 |
+
"parity": {
|
| 86 |
+
"status": "token-id-exact",
|
| 87 |
+
"arms": [
|
| 88 |
+
"f32"
|
| 89 |
+
],
|
| 90 |
+
"cases": {
|
| 91 |
+
"text": 66,
|
| 92 |
+
"formula": 166,
|
| 93 |
+
"table": 283,
|
| 94 |
+
"code": 366,
|
| 95 |
+
"layout": 768,
|
| 96 |
+
"synthetic": 19
|
| 97 |
+
},
|
| 98 |
+
"commit": "9d24b6218b865925449cb4a4bed3dd2731c1587f",
|
| 99 |
+
"reference": {
|
| 100 |
+
"revision": "b3f6a0c084db72f971e19a779d2fd8a6bc9e3b8d",
|
| 101 |
+
"versions": {
|
| 102 |
+
"torch": "2.8.0+cpu",
|
| 103 |
+
"transformers": "4.57.1",
|
| 104 |
+
"pillow": "13.0.0",
|
| 105 |
+
"numpy": "2.5.4"
|
| 106 |
+
},
|
| 107 |
+
"max_new_tokens": 1024
|
| 108 |
+
},
|
| 109 |
+
"receipt_sha256": "782686807bc26d29a38d076ed7e38b084e0f94ff4e61e90c582165f05553e771"
|
| 110 |
+
},
|
| 111 |
+
"precision": {
|
| 112 |
+
"F16": {
|
| 113 |
+
"receipt": "tests/results/teleocr/hosted-precision.json",
|
| 114 |
+
"receipt_sha256": "9a590428417e9f4d27fb4c860af9189f542db2c6ec591cafed44cc6a72da922e",
|
| 115 |
+
"commit": "9d24b6218b865925449cb4a4bed3dd2731c1587f",
|
| 116 |
+
"arms": [
|
| 117 |
+
"f16-cpu"
|
| 118 |
+
],
|
| 119 |
+
"ids_exact": true
|
| 120 |
+
},
|
| 121 |
+
"Q8_0": {
|
| 122 |
+
"receipt": "tests/results/teleocr/hosted-precision.json",
|
| 123 |
+
"receipt_sha256": "9a590428417e9f4d27fb4c860af9189f542db2c6ec591cafed44cc6a72da922e",
|
| 124 |
+
"commit": "9d24b6218b865925449cb4a4bed3dd2731c1587f",
|
| 125 |
+
"arms": [
|
| 126 |
+
"q8_0-cpu"
|
| 127 |
+
],
|
| 128 |
+
"ids_exact": true
|
| 129 |
+
},
|
| 130 |
+
"Q4_K_M": {
|
| 131 |
+
"receipt": "tests/results/teleocr/hosted-precision.json",
|
| 132 |
+
"receipt_sha256": "9a590428417e9f4d27fb4c860af9189f542db2c6ec591cafed44cc6a72da922e",
|
| 133 |
+
"commit": "9d24b6218b865925449cb4a4bed3dd2731c1587f",
|
| 134 |
+
"arms": [
|
| 135 |
+
"q4_k-m-cpu"
|
| 136 |
+
],
|
| 137 |
+
"ids_exact": true
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"protocol_sha256": "6d6ef77298bce69f6ee8ff473511560a93acdf3f507d79abf60d114dcfab68b4"
|
| 141 |
+
}
|
teleocr-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c52a2800e313964717cf4e5d06e0392c2b5936d8adeac423d563b8a026a2780
|
| 3 |
+
size 2526109984
|
teleocr-q4_k-m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e975568f8bd069b3bc81364d10b38143a834922cdf600150e7e74084bfbce293
|
| 3 |
+
size 1923310816
|
teleocr-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9de7e45ce6c13ba03d3d2879f2a1bff9f8407e12808be588cf057cd2553f224b
|
| 3 |
+
size 2113233248
|