Repository navigation
Expand file tree
/
Copy pathaddons.json
More file actions
131 lines (131 loc) · 9.46 KB
/
Copy pathaddons.json
File metadata and controls
131 lines (131 loc) · 9.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"catalogue_version": "1.0.0",
"_comment": [
"Optional downloadable add-ons. Kept separate from manifest.json because CI",
"regenerates that file from pack fragments on every pack release and would",
"discard anything else in it, and because add-ons ship on their own cadence.",
"",
"The add-on is platform-neutral: it is model weights, not executables, so one",
"artifact serves Windows, macOS and Linux. It installs into the Docling pack's",
"own models directory because Docling resolves every model against a single",
"artifacts_path that the pack worker pins there.",
"",
"url, sha256, size_bytes, uncompressed_size_bytes and sha256_files are written",
"by .github/workflows/build-addon.yml, which derives the URL from the release",
"tag and commits the result back. Do not edit them by hand: this file used to",
"be filled in from a printed blob, which is how it came to hold a placeholder",
"URL that AddonManager.get_status reported as installable.",
"",
"Both url and sha256 empty is the 'unreleased' state, and is valid: the add-on",
"reports available=false, install is refused, and the enrichment toggles stay",
"disabled. Any other incomplete combination is a defect and fails",
"scripts/verify_addon_catalogue.py in CI.",
"",
"min_pack_version is the first pack whose worker implements the 'capabilities'",
"RPC the installer confirms a new install with, and refuses enrichment outright",
"when the model is absent instead of quietly converting without it. Every pack",
"built from this repository does, so it is 1.0.0. worker.py is hashed into the",
"pack manifest and the launcher rejects a modified copy, so raise it (via",
"MIN_PACK_VERSION in scripts/build_addon.py) when the add-on comes to depend on",
"worker behaviour an already-published pack lacks.",
"",
"layout_model has target 'inkdoc': it installs into InkDoc's own add-on folder",
"and InkDoc loads it (app/core/engines/layout_model.py). Its url, sha256, sizes",
"and sha256_files are written by scripts/build_layout_addon.py. pack_copy pins",
"the identical files the Docling engine pack ships (upstream revision",
"source_revision), which are used instead when present, so Docling users download",
"nothing; a published entry must pin the same digests."
],
"addons": {
"code_enrichment": {
"title": "Code & Formula Recognition",
"description": "Transcribes code blocks and mathematical formulas from page images using Docling's recognition model, and labels the programming language of each code block.",
"model_dir": "docling-project--CodeFormulaV2",
"url": "https://github.com/AbdoslamB/InkDoc/releases/download/docling-addon-v1/inkdoc-addon-code_enrichment.tar.gz",
"sha256": "251df4f2fbd3e69a34f17ad4f59350c1d713367309b77ea63e59aa4e343bfec4",
"archive_format": "tar.gz",
"size_bytes": 504364623,
"uncompressed_size_bytes": 639803320,
"min_pack_version": "1.0.0",
"source_repo": "docling-project/CodeFormulaV2",
"source_revision": "ecedbe111d15c2dc60bfd4a823cbe80127b58af4",
"min_app_version": "",
"sha256_files": {
".cache/huggingface/.gitignore": "684888c0ebb17f374298b65ee2807526c066094c701bcc7ebbe1c1095f494fc1",
".cache/huggingface/CACHEDIR.TAG": "f6572428f6d5e1575e73a1502895a8731f10757dfbb634909c6e154b849af91d",
".cache/huggingface/download/.gitattributes.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/.gitattributes.metadata": "67440bf4ba67737edf99f006d5acb314b8f06d376acb629bd14d2deb035b3fb9",
".cache/huggingface/download/README.md.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/README.md.metadata": "fdafce11dd9d2824c15d53b338ca9bd3ede615d7cfc0719102e7173e61f60838",
".cache/huggingface/download/added_tokens.json.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/added_tokens.json.metadata": "1f2dd5f54918097c17a68a9e6ac5912e433dfc617b8c63b06899e30eb2518c81",
".cache/huggingface/download/chat_template.json.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/chat_template.json.metadata": "151ec65033669cee7935109514fdc4758099fd07ee46415f57f01507de02fc05",
".cache/huggingface/download/config.json.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/config.json.metadata": "5c30623d44d995bb26c63a1d46181f5c44608d43ac6dc419b52a948481999235",
".cache/huggingface/download/generation_config.json.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/generation_config.json.metadata": "d384695092a62416e48a2f8f96200341d2fbeda26430b7c342c574081a73abb3",
".cache/huggingface/download/model.safetensors.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/model.safetensors.metadata": "8a6d2de2873e3b968560c4ddf45cde00615d1ec6c32c909385d03bea74e40416",
".cache/huggingface/download/preprocessor_config.json.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/preprocessor_config.json.metadata": "b8bf934927936dee3850c6663428bac323cc1707909a755b9874de79b501c272",
".cache/huggingface/download/processor_config.json.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/processor_config.json.metadata": "b658cd645efad0e5a2fe9bc1867c5586d831c720f0c01096888e6adcfa106ba4",
".cache/huggingface/download/special_tokens_map.json.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/special_tokens_map.json.metadata": "a423c1fedb76b4c702697a2fc72b66388cb9c4bceef1f35529fb46f66e04d439",
".cache/huggingface/download/tokenizer.json.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/tokenizer.json.metadata": "9282ecef3a6e62a0259c9d9d9eed7c752b7565e77905ab3d5cabc1bd0997c8d7",
".cache/huggingface/download/tokenizer_config.json.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/tokenizer_config.json.metadata": "029efd388005e67ca99c658e37a106d1bf4707de8b31ef044f5c640584bf2b86",
".cache/huggingface/download/vocab.json.lock": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".cache/huggingface/download/vocab.json.metadata": "01c3d0cbb11027a691ea7aefca4be4d0bc1d3ddfff227b65351d9d96c6994269",
".cache/huggingface/trees/ecedbe111d15c2dc60bfd4a823cbe80127b58af4.json": "106e1f22fdf0346ac780946774ab739a58d80bf72245ea227001b83bf22a46c1",
".gitattributes": "11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361",
"README.md": "684604c08aa8cc32b3d65049bc9794b57f3fc510953148ad3ba61d35f60bef9a",
"added_tokens.json": "002686b2efb9535c359458cd1121de8e1b58e67426a46e2bd4425843766a3a5e",
"chat_template.json": "c9d21553af689882ac89ad8e8412164662d1605f6595119664e85626df7be421",
"config.json": "98f55cfe07dd168f9fab1f1eec35f754b23631ea1a9a7c9759b1b7cb41ab76b1",
"generation_config.json": "b17f1890b2b2baf172761c9c4d6eb956482ffa05964f357e67544ec998c9851f",
"model.safetensors": "4b04e77af34c4e682a7ab1617628340d658f3c3dcd12456dd2a7fff805cf79d2",
"preprocessor_config.json": "6cb6e36d6fcb88ca1502c4a26750715dc3e7dedddc9a8f17b27d8d167d1457e7",
"processor_config.json": "e7bff42da73ae9eec9042ef20e066e11f1ee20f025358ff79131e3c0fb549b46",
"special_tokens_map.json": "1b17e900a73384d256db6f1a7591fd0d95c09e6aede680022b047386b97afcba",
"tokenizer.json": "5ec5d3780a2e01b140cf34f023eb600263855a99aacdc3eb0f2600d7b1b4ac96",
"tokenizer_config.json": "37a0e94be9c9ab5197b2188e61cf764bbc015f45261013881fe37bd2fe8599e6",
"vocab.json": "8922f7e91084b9862d270c16ce1027071214aa252a1567a4b410f952101005fc"
}
},
"layout_model": {
"title": "Layout model",
"description": "Finds the tables on scanned pages, so GLM-OCR can read each one on its own (Auto quality: Thorough). Docling's layout model \"heron\", run by InkDoc on this computer.",
"target": "inkdoc",
"license": "Apache-2.0",
"model_dir": "docling-layout-heron-onnx",
"url": "",
"sha256": "",
"archive_format": "tar.gz",
"size_bytes": 0,
"uncompressed_size_bytes": 0,
"min_pack_version": "",
"min_app_version": "",
"source_repo": "docling-project/docling-layout-heron-onnx",
"source_revision": "40bde044036bb181c130ddf6c51792187268748f",
"pack_copy": {
"dir": "docling-project--docling-layout-heron-onnx",
"sha256_files": {
"model.onnx": "59c81a3a2923042d85034ffc487f8f47e4854117e879aef89b2b9f728fb4922a",
"config.json": "c6e67b6cdf64fa245779d0409bb994aa96e8c1790e15ec07a65843628e232180",
"preprocessor_config.json": "54d086cf0d7d371f7fac36e5d3a0dae31e211298affc816106cc376506799d58",
"README.md": "48de0f07390f6823a225ce8aab348e7b57408534b56b71f1433ed6280456597f"
},
"sizes": {
"model.onnx": 171220471,
"config.json": 878,
"preprocessor_config.json": 445,
"README.md": 294
}
},
"sha256_files": {}
}
}
}