FP16-weight package of d1-browser-decision-fp32 (FP32 arithmetic)
Browse files- .gitattributes +3 -0
- LICENSE +69 -0
- NOTICE +34 -0
- README.md +60 -0
- SHA256SUMS +32 -0
- config.json +72 -0
- licenses/LFM2.5-Encoder-350M/LICENSE +71 -0
- licenses/onnxruntime/LICENSE +21 -0
- licenses/onnxruntime/ThirdPartyNotices.txt +0 -0
- licenses/transformers/LICENSE +202 -0
- licenses/webbrain/LICENSE +685 -0
- onnx/decision.data +3 -0
- onnx/decision.data.NOTICE.txt +34 -0
- onnx/decision.onnx +3 -0
- onnx/decision.onnx.NOTICE.txt +34 -0
- onnx/projector.data +3 -0
- onnx/projector.data.NOTICE.txt +34 -0
- onnx/projector.onnx +3 -0
- onnx/projector.onnx.NOTICE.txt +34 -0
- onnx/vision.data +3 -0
- onnx/vision.data.NOTICE.txt +34 -0
- onnx/vision.onnx +3 -0
- onnx/vision.onnx.NOTICE.txt +34 -0
- package-manifest.json +1401 -0
- provenance/conversion-report.json +36 -0
- provenance/convert_fp16.py +105 -0
- provenance/decision-metrics.mjs +89 -0
- provenance/parity-cpu.json +77 -0
- provenance/parity-cpu.mjs +75 -0
- provenance/source-package.json +10 -0
- runtime/d1-preprocess.js +169 -0
- runtime/d1-runtime.js +189 -0
- tiling-ratios.json +106 -0
- tokenizer.json +0 -0
- tokenizer_config.json +10 -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 |
+
onnx/decision.data filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
onnx/projector.data filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
onnx/vision.data filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
LFM Open License v1.0
|
| 2 |
+
|
| 3 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 4 |
+
1. Definitions.
|
| 5 |
+
|
| 6 |
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by this document.
|
| 7 |
+
|
| 8 |
+
"Licensor" shall mean Liquid AI, Inc.
|
| 9 |
+
|
| 10 |
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
| 11 |
+
|
| 12 |
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
| 13 |
+
|
| 14 |
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
| 15 |
+
|
| 16 |
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
| 17 |
+
|
| 18 |
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work.
|
| 19 |
+
|
| 20 |
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
| 21 |
+
|
| 22 |
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
| 23 |
+
|
| 24 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
| 25 |
+
|
| 26 |
+
"Commercial Use" shall mean any use of the Work for direct or indirect commercial advantage or monetary compensation.
|
| 27 |
+
|
| 28 |
+
"Qualified Non-Profit Organization" shall mean a Legal Entity that is organized and operated exclusively for religious, charitable, scientific, testing for public safety, literary, or educational purposes, and which is exempt from federal income tax under Section 501(c)(3) of the United States Internal Revenue Code of 1986, as amended, or any equivalent non-profit or charitable organization in a foreign jurisdiction.
|
| 29 |
+
"Non-Commercial or Research Purposes" shall mean purposes that do not involve any use of the Work or a Derivative Work for Commercial Use.
|
| 30 |
+
|
| 31 |
+
"Threshold" shall mean annual revenue of 10 million United States dollars ($10,000,000) or more.
|
| 32 |
+
|
| 33 |
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, including the Commercial Use limitation set forth in Section 5, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
| 34 |
+
|
| 35 |
+
3. Grant of Patent License. Subject to the terms and conditions of this License, including the Commercial Use limitation set forth in Section 5, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
| 36 |
+
|
| 37 |
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
| 38 |
+
|
| 39 |
+
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
| 40 |
+
|
| 41 |
+
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
| 42 |
+
|
| 43 |
+
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
| 44 |
+
|
| 45 |
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
| 46 |
+
|
| 47 |
+
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
| 48 |
+
|
| 49 |
+
5. Commercial Use Limitation.
|
| 50 |
+
|
| 51 |
+
(a) The rights granted under this License for Commercial Use are conditioned upon You or Your Legal Entity not exceeding the Threshold.
|
| 52 |
+
|
| 53 |
+
(b) Any Commercial Use of the Work or a Derivative Work by a Legal Entity that exceeds the Threshold is not licensed under this Agreement.
|
| 54 |
+
|
| 55 |
+
(c) The Threshold shall not apply to a Qualified Non-Profit Organization's use of the Work or a Derivative Work for Non-Commercial or Research Purposes.
|
| 56 |
+
|
| 57 |
+
6. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
| 58 |
+
|
| 59 |
+
7. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except for the reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
| 60 |
+
|
| 61 |
+
8. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
| 62 |
+
|
| 63 |
+
9. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
| 64 |
+
|
| 65 |
+
10. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
| 66 |
+
|
| 67 |
+
11. Termination. This License will terminate automatically and immediately if You fail to comply with any of its terms and conditions. Upon termination, You must cease all use of the Work and any Derivative Works and delete all copies in Your possession.
|
| 68 |
+
|
| 69 |
+
END OF TERMS AND CONDITIONS
|
NOTICE
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
d1 FP16-weight browser-decision derivative
|
| 2 |
+
|
| 3 |
+
Original model and model implementation: Liquid AI, LiquidAI/d1-omni-600M,
|
| 4 |
+
revision 02b55d7076f15129e59ab3f94783f32c4b088674.
|
| 5 |
+
Original license: LFM Open License v1.0. The exact upstream license is retained
|
| 6 |
+
as LICENSE. Liquid AI does not endorse this experimental derivative.
|
| 7 |
+
|
| 8 |
+
MODIFIED MATERIALS NOTICE
|
| 9 |
+
This package is derived from the WebBrain FP32 release
|
| 10 |
+
webbrain-one/d1-browser-decision-fp32 (revision 71866f0ccab0b9fa92c6df64d1c34eacf2a7b2b8), whose
|
| 11 |
+
notice describes the earlier changes: audio components removed, decision head
|
| 12 |
+
and vision projector adapted, one rank-4 LoRA merged into four encoder Q/V
|
| 13 |
+
weights.
|
| 14 |
+
|
| 15 |
+
For this package, every FP32 weight tensor with at least 4,096 elements in the
|
| 16 |
+
three ONNX graphs was rounded once to FP16 and is cast back to FP32 where it is
|
| 17 |
+
used (scripts/models/d1/convert_fp16.py in the WebBrain repository, copied to
|
| 18 |
+
provenance/). The token-embedding table is gathered in FP16 and only the
|
| 19 |
+
gathered rows are cast. Activations, attention, softmax and accumulation stay
|
| 20 |
+
FP32. No training, merge, selection or re-export from PyTorch was performed.
|
| 21 |
+
onnx/decision.onnx, onnx/decision.data, onnx/vision.onnx, onnx/vision.data,
|
| 22 |
+
onnx/projector.onnx and onnx/projector.data are modified derivatives.
|
| 23 |
+
|
| 24 |
+
The immutable config.json retains a legacy dtype=float16 label from the
|
| 25 |
+
upstream source; package-manifest.json is authoritative (FP16 weights, FP32
|
| 26 |
+
arithmetic). Tokenizer, calibration temperatures and answer semantics are
|
| 27 |
+
unchanged.
|
| 28 |
+
|
| 29 |
+
This derivative is experimental. Synthetic labels/results and finite runtime
|
| 30 |
+
parity do not establish reliability on real independently developed websites.
|
| 31 |
+
No blanket commercial permission is granted here; consult LICENSE, including
|
| 32 |
+
its annual-revenue threshold terms.
|
| 33 |
+
|
| 34 |
+
Third-party runtime code retains its separate upstream notices under licenses/.
|
README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: lfm1.0
|
| 4 |
+
license_link: LICENSE
|
| 5 |
+
base_model: webbrain-one/d1-browser-decision-fp32
|
| 6 |
+
tags:
|
| 7 |
+
- decision
|
| 8 |
+
- webgpu
|
| 9 |
+
- onnx
|
| 10 |
+
- fp16
|
| 11 |
+
- experimental
|
| 12 |
+
- image-text-to-decision
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# d1 Browser Decision FP16
|
| 16 |
+
|
| 17 |
+
The FP16-weight version of [webbrain-one/d1-browser-decision-fp32](https://huggingface.co/webbrain-one/d1-browser-decision-fp32) (revision `71866f0ccab0b9fa92c6df64d1c34eacf2a7b2b8`), an experimental, audio-free derivative of [LiquidAI/d1-omni-600M](https://huggingface.co/LiquidAI/d1-omni-600M/tree/02b55d7076f15129e59ab3f94783f32c4b088674). It scores named options for `choice`, `noul` and ordinal `score` questions using text/JSON state and optional screenshots. It does **not** generate text or tokens.
|
| 18 |
+
|
| 19 |
+
This is the decision model the [WebBrain](https://github.com/webbrain-one/webbrain) extension downloads for its optional on-device decision provider.
|
| 20 |
+
|
| 21 |
+
## What changed from the FP32 release
|
| 22 |
+
|
| 23 |
+
- Every FP32 weight tensor with at least 4,096 elements in the three ONNX graphs is stored as FP16 and cast back to FP32 where it is used. The token-embedding table is gathered in FP16 and only the gathered rows are cast.
|
| 24 |
+
- Activations, attention, softmax and accumulation stay FP32. Tokenizer, calibration temperatures, preprocessing and the answer semantics are unchanged.
|
| 25 |
+
- No training, merge, selection or PyTorch re-export: the graphs are the published FP32 graphs with their weights rounded once ([`provenance/convert_fp16.py`](provenance/convert_fp16.py)).
|
| 26 |
+
|
| 27 |
+
| | FP32 release | This package |
|
| 28 |
+
|---|---:|---:|
|
| 29 |
+
| Graphs and external data | 1,900,356,386 bytes | 950,872,204 bytes |
|
| 30 |
+
| Largest single buffer (token embedding) | 256 MiB | 128 MiB |
|
| 31 |
+
|
| 32 |
+
ONNX Runtime constant-folds the other weight casts when it creates the sessions, so expect GPU memory for those weights to stay close to the FP32 package. The download and the browser cache halve.
|
| 33 |
+
|
| 34 |
+
## Parity with the FP32 release
|
| 35 |
+
|
| 36 |
+
The same runtime code (WebBrain's `src/chrome/src/providers/d1-runtime.js` and its preprocessing, CPU tensor path, onnxruntime-node 1.24.1) ran both packages on the balanced-V3 held-out test (72 screenshots, 144 questions).
|
| 37 |
+
|
| 38 |
+
| Comparison | Decision agreement | Max probability difference | Max expected-score difference |
|
| 39 |
+
|---|---:|---:|---:|
|
| 40 |
+
| CPU (onnxruntime-node), FP32 vs FP16 | 144/144 | 0.0102 (median 5.6e-7, 95th percentile 0.0020) | 0.0178 |
|
| 41 |
+
| Chrome WebGPU through the WebBrain extension, RTX 5090 | pending | | |
|
| 42 |
+
|
| 43 |
+
Quality on that test is the same as the FP32 release:
|
| 44 |
+
|
| 45 |
+
| Package | Categorical | Completion found | False completions | Score MAE |
|
| 46 |
+
|---|---:|---:|---:|---:|
|
| 47 |
+
| FP32 release (CPU) | 92/126 | 22/24 | 1/48 | 0.5742 |
|
| 48 |
+
| This package (CPU) | 92/126 | 22/24 | 1/48 | 0.5728 |
|
| 49 |
+
|
| 50 |
+
These are synthetic, AI-labelled screens, not an independent real-site benchmark. See the FP32 model card for the training history, data limitations and the old test suite on which every stage missed all seven positive completion examples.
|
| 51 |
+
|
| 52 |
+
## Runtime notes
|
| 53 |
+
|
| 54 |
+
- The encoder's full-attention layers are dense: each one materializes a 16 × length × length FP32 score tensor per row. WebBrain bounds batches by that tensor (256 MiB, and never more than the adapter's storage-binding limit) and caps text-only rows at 2,048 tokens on WebGPU, truncating the state as the source does at its context limit.
|
| 55 |
+
- Vision and projector outputs can stay on the GPU between graphs (`preferredOutputLocation: 'gpu-buffer'`), see [`runtime/d1-runtime.js`](runtime/d1-runtime.js).
|
| 56 |
+
- CPU/WASM control and shape operators run as in the FP32 release; this is not a pure-GPU claim.
|
| 57 |
+
|
| 58 |
+
## License and notices
|
| 59 |
+
|
| 60 |
+
The model is governed by the exact upstream [LFM Open License v1.0](LICENSE), not Apache/MIT. Its commercial-use provisions include annual-revenue threshold terms; determine eligibility and obtain any required separate license before commercial deployment. This card is not legal approval or an endorsement by Liquid AI. [NOTICE](NOTICE) and the per-file sidecars describe the modifications. The copied runtime source carries the WebBrain project license in [licenses/webbrain/LICENSE](licenses/webbrain/LICENSE).
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
9953509cbd8c1c6ce7b06ddf74fcc204a892692316201dd8f7400a84790d4120 LICENSE
|
| 2 |
+
a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef NOTICE
|
| 3 |
+
f801dd8537f2b6023a13435dfce59b4541d33ac7cc2e4172046f24fe719e3985 README.md
|
| 4 |
+
68ddf4bd4f3e489455211f80836b36281115cb9206b8e8d47858d062bdb6508d config.json
|
| 5 |
+
4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c licenses/LFM2.5-Encoder-350M/LICENSE
|
| 6 |
+
2f07c72751aed99790b8a4869cf2311df85a860b22ded05fa22803587a48922c licenses/onnxruntime/LICENSE
|
| 7 |
+
143764b952fdb1a7c69ce653bfba74a7744d6a8a573bfb73e235fba356c83de3 licenses/onnxruntime/ThirdPartyNotices.txt
|
| 8 |
+
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 licenses/transformers/LICENSE
|
| 9 |
+
a759b37ffc07280716156c7f128257e2f61af3cbb95edbfcfd2e3a85d190a25f licenses/webbrain/LICENSE
|
| 10 |
+
467b109c425541363ac5304fc06b3ee7aba75521cd774507c2a4a3a1772e2dd6 onnx/decision.data
|
| 11 |
+
a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef onnx/decision.data.NOTICE.txt
|
| 12 |
+
5ee0babc64f03d36557bbaecca506408feb1c8f59c0cdf93f7f42f716dd2565c onnx/decision.onnx
|
| 13 |
+
a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef onnx/decision.onnx.NOTICE.txt
|
| 14 |
+
30399cd25a12bc526bf0fef2b36e4ba940d44b68a0fe5e0c358e1907f16d2e51 onnx/projector.data
|
| 15 |
+
a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef onnx/projector.data.NOTICE.txt
|
| 16 |
+
d63ae03e5daacabad20f2a9fdcd0f311a6a1bc8b23556aaf06633184d79c8766 onnx/projector.onnx
|
| 17 |
+
a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef onnx/projector.onnx.NOTICE.txt
|
| 18 |
+
96fc0f19ded54cf124a6d21a56ef98d9c35af42cb4259a5d5e7ccb88c98aaa8d onnx/vision.data
|
| 19 |
+
a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef onnx/vision.data.NOTICE.txt
|
| 20 |
+
8cc9570bddc1b42c0fa1407936f53b076a11b630d47a50ca2bbe3401f4262231 onnx/vision.onnx
|
| 21 |
+
a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef onnx/vision.onnx.NOTICE.txt
|
| 22 |
+
2e61fec2b5c4e84a1790df148b5283693665ece9a82cc51cf00504ebf6070763 provenance/conversion-report.json
|
| 23 |
+
6e8eba124020ac7cd5d20c41661a08032d1ba7bceae8a9ef7c610d7964768539 provenance/convert_fp16.py
|
| 24 |
+
2c611f8b2ee7e6b13b323c1363e724f3d2adc394cca08dd58f6bb4b2aa8dbc43 provenance/decision-metrics.mjs
|
| 25 |
+
47a44175844ef5b5b5e68b994075eec92390fc8ae7527b43708acebc70012519 provenance/parity-cpu.json
|
| 26 |
+
2988eb3d2e3905e496dcc2c24aa82324d8fc317874706197f07540c16291caa5 provenance/parity-cpu.mjs
|
| 27 |
+
935a3e3baabc3103d8584204f22ab982bacf78edc1ccc36997ddb83418a1e9a9 provenance/source-package.json
|
| 28 |
+
00569ab7cae839e0e3b54b92a319aa0b5591a87c5dec67dac48cabe2d1464d9e runtime/d1-preprocess.js
|
| 29 |
+
6d30dc1c2566a4098b6ff3d50fc22260bbc93b2128c9e1dd7eb078801e61bb18 runtime/d1-runtime.js
|
| 30 |
+
256b18bf3b533c9aaa34099b049e688893282341fb078b772b3ecb7b59ab43b6 tiling-ratios.json
|
| 31 |
+
1efc3a6609abf6b63b1f47188d139f3b59973a6a434dffe970a7261a51ed2711 tokenizer.json
|
| 32 |
+
03efc74b752b899b6292ff7e607738be59e6f206fec9aca32bbc05e9184090fc tokenizer_config.json
|
config.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"NoAudioModel"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "d1_omni",
|
| 6 |
+
"dtype": "float16",
|
| 7 |
+
"max_length": 16384,
|
| 8 |
+
"image_text_length": 896,
|
| 9 |
+
"head_layers": 2,
|
| 10 |
+
"projector_hidden_size": 2048,
|
| 11 |
+
"temperatures": {
|
| 12 |
+
"choice:11+": 1.372515082359314,
|
| 13 |
+
"choice:2": 1.7465145587921143,
|
| 14 |
+
"choice:3-5": 1.3998981714248657,
|
| 15 |
+
"choice:6-10": 1.1751071214675903,
|
| 16 |
+
"noul:2": 1.6663223505020142,
|
| 17 |
+
"score:3-5": 1.7301132678985596,
|
| 18 |
+
"score:6-10": 1.0,
|
| 19 |
+
"choice": 1.0,
|
| 20 |
+
"score": 1.0,
|
| 21 |
+
"noul": 1.0
|
| 22 |
+
},
|
| 23 |
+
"bos_token_id": 1,
|
| 24 |
+
"pad_token_id": 0,
|
| 25 |
+
"text_config": {
|
| 26 |
+
"vocab_size": 65536,
|
| 27 |
+
"hidden_size": 1024,
|
| 28 |
+
"intermediate_size": 6656,
|
| 29 |
+
"num_hidden_layers": 16,
|
| 30 |
+
"num_attention_heads": 16,
|
| 31 |
+
"num_key_value_heads": 8,
|
| 32 |
+
"layer_types": [
|
| 33 |
+
"conv",
|
| 34 |
+
"conv",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"conv",
|
| 37 |
+
"conv",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"conv",
|
| 40 |
+
"conv",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"conv",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"conv",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"conv",
|
| 47 |
+
"full_attention",
|
| 48 |
+
"conv"
|
| 49 |
+
],
|
| 50 |
+
"norm_eps": 1e-05,
|
| 51 |
+
"conv_L_cache": 3,
|
| 52 |
+
"block_ffn_dim_multiplier": 1.0,
|
| 53 |
+
"block_multiple_of": 256,
|
| 54 |
+
"max_position_embeddings": 128000,
|
| 55 |
+
"rope_theta": 1000000.0
|
| 56 |
+
},
|
| 57 |
+
"vision_config": {
|
| 58 |
+
"attention_dropout": 0.0,
|
| 59 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 60 |
+
"hidden_size": 768,
|
| 61 |
+
"intermediate_size": 3072,
|
| 62 |
+
"layer_norm_eps": 1e-06,
|
| 63 |
+
"model_type": "siglip2_vision_model",
|
| 64 |
+
"num_attention_heads": 12,
|
| 65 |
+
"num_channels": 3,
|
| 66 |
+
"num_hidden_layers": 12,
|
| 67 |
+
"num_patches": 256,
|
| 68 |
+
"patch_size": 16,
|
| 69 |
+
"vision_use_head": false
|
| 70 |
+
},
|
| 71 |
+
"source_revision": "02b55d7076f15129e59ab3f94783f32c4b088674"
|
| 72 |
+
}
|
licenses/LFM2.5-Encoder-350M/LICENSE
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
LFM Open License v1.0
|
| 2 |
+
|
| 3 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 4 |
+
|
| 5 |
+
1. Definitions.
|
| 6 |
+
|
| 7 |
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by this document.
|
| 8 |
+
|
| 9 |
+
"Licensor" shall mean Liquid AI, Inc.
|
| 10 |
+
|
| 11 |
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
| 12 |
+
|
| 13 |
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
| 14 |
+
|
| 15 |
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
| 16 |
+
|
| 17 |
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
| 18 |
+
|
| 19 |
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work.
|
| 20 |
+
|
| 21 |
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
| 22 |
+
|
| 23 |
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
| 24 |
+
|
| 25 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
| 26 |
+
|
| 27 |
+
"Commercial Use" shall mean any use of the Work for direct or indirect commercial advantage or monetary compensation.
|
| 28 |
+
|
| 29 |
+
"Qualified Non-Profit Organization" shall mean a Legal Entity that is organized and operated exclusively for religious, charitable, scientific, testing for public safety, literary, or educational purposes, and which is exempt from federal income tax under Section 501(c)(3) of the United States Internal Revenue Code of 1986, as amended, or any equivalent non-profit or charitable organization in a foreign jurisdiction.
|
| 30 |
+
|
| 31 |
+
"Non-Commercial or Research Purposes" shall mean purposes that do not involve any use of the Work or a Derivative Work for Commercial Use.
|
| 32 |
+
|
| 33 |
+
"Threshold" shall mean annual revenue of 10 million United States dollars ($10,000,000) or more.
|
| 34 |
+
|
| 35 |
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, including the Commercial Use limitation set forth in Section 5, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
| 36 |
+
|
| 37 |
+
3. Grant of Patent License. Subject to the terms and conditions of this License, including the Commercial Use limitation set forth in Section 5, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
| 38 |
+
|
| 39 |
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
| 40 |
+
|
| 41 |
+
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
| 42 |
+
|
| 43 |
+
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
| 44 |
+
|
| 45 |
+
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
| 46 |
+
|
| 47 |
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
| 48 |
+
|
| 49 |
+
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
| 50 |
+
|
| 51 |
+
5. Commercial Use Limitation.
|
| 52 |
+
|
| 53 |
+
(a) The rights granted under this License for Commercial Use are conditioned upon You or Your Legal Entity not exceeding the Threshold.
|
| 54 |
+
|
| 55 |
+
(b) Any Commercial Use of the Work or a Derivative Work by a Legal Entity that exceeds the Threshold is not licensed under this Agreement.
|
| 56 |
+
|
| 57 |
+
(c) The Threshold shall not apply to a Qualified Non-Profit Organization's use of the Work or a Derivative Work for Non-Commercial or Research Purposes.
|
| 58 |
+
|
| 59 |
+
6. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
| 60 |
+
|
| 61 |
+
7. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except for the reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
| 62 |
+
|
| 63 |
+
8. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
| 64 |
+
|
| 65 |
+
9. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
| 66 |
+
|
| 67 |
+
10. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
| 68 |
+
|
| 69 |
+
11. Termination. This License will terminate automatically and immediately if You fail to comply with any of its terms and conditions. Upon termination, You must cease all use of the Work and any Derivative Works and delete all copies in Your possession.
|
| 70 |
+
|
| 71 |
+
END OF TERMS AND CONDITIONS
|
licenses/onnxruntime/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) Microsoft Corporation
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
licenses/onnxruntime/ThirdPartyNotices.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
licenses/transformers/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.
|
licenses/webbrain/LICENSE
ADDED
|
@@ -0,0 +1,685 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
WebBrain project license notice
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Emre Sokullu
|
| 4 |
+
|
| 5 |
+
WebBrain 33.0.0 and later is free software: you may redistribute it and/or
|
| 6 |
+
modify it under the terms of the GNU General Public License as published by
|
| 7 |
+
the Free Software Foundation, either version 3 of the License, or (at your
|
| 8 |
+
option) any later version.
|
| 9 |
+
|
| 10 |
+
The unmodified GNU GPL version 3 license text follows.
|
| 11 |
+
|
| 12 |
+
GNU GENERAL PUBLIC LICENSE
|
| 13 |
+
Version 3, 29 June 2007
|
| 14 |
+
|
| 15 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
| 16 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 17 |
+
of this license document, but changing it is not allowed.
|
| 18 |
+
|
| 19 |
+
Preamble
|
| 20 |
+
|
| 21 |
+
The GNU General Public License is a free, copyleft license for
|
| 22 |
+
software and other kinds of works.
|
| 23 |
+
|
| 24 |
+
The licenses for most software and other practical works are designed
|
| 25 |
+
to take away your freedom to share and change the works. By contrast,
|
| 26 |
+
the GNU General Public License is intended to guarantee your freedom to
|
| 27 |
+
share and change all versions of a program--to make sure it remains free
|
| 28 |
+
software for all its users. We, the Free Software Foundation, use the
|
| 29 |
+
GNU General Public License for most of our software; it applies also to
|
| 30 |
+
any other work released this way by its authors. You can apply it to
|
| 31 |
+
your programs, too.
|
| 32 |
+
|
| 33 |
+
When we speak of free software, we are referring to freedom, not
|
| 34 |
+
price. Our General Public Licenses are designed to make sure that you
|
| 35 |
+
have the freedom to distribute copies of free software (and charge for
|
| 36 |
+
them if you wish), that you receive source code or can get it if you
|
| 37 |
+
want it, that you can change the software or use pieces of it in new
|
| 38 |
+
free programs, and that you know you can do these things.
|
| 39 |
+
|
| 40 |
+
To protect your rights, we need to prevent others from denying you
|
| 41 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
| 42 |
+
certain responsibilities if you distribute copies of the software, or if
|
| 43 |
+
you modify it: responsibilities to respect the freedom of others.
|
| 44 |
+
|
| 45 |
+
For example, if you distribute copies of such a program, whether
|
| 46 |
+
gratis or for a fee, you must pass on to the recipients the same
|
| 47 |
+
freedoms that you received. You must make sure that they, too, receive
|
| 48 |
+
or can get the source code. And you must show them these terms so they
|
| 49 |
+
know their rights.
|
| 50 |
+
|
| 51 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
| 52 |
+
(1) assert copyright on the software, and (2) offer you this License
|
| 53 |
+
giving you legal permission to copy, distribute and/or modify it.
|
| 54 |
+
|
| 55 |
+
For the developers' and authors' protection, the GPL clearly explains
|
| 56 |
+
that there is no warranty for this free software. For both users' and
|
| 57 |
+
authors' sake, the GPL requires that modified versions be marked as
|
| 58 |
+
changed, so that their problems will not be attributed erroneously to
|
| 59 |
+
authors of previous versions.
|
| 60 |
+
|
| 61 |
+
Some devices are designed to deny users access to install or run
|
| 62 |
+
modified versions of the software inside them, although the manufacturer
|
| 63 |
+
can do so. This is fundamentally incompatible with the aim of
|
| 64 |
+
protecting users' freedom to change the software. The systematic
|
| 65 |
+
pattern of such abuse occurs in the area of products for individuals to
|
| 66 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
| 67 |
+
have designed this version of the GPL to prohibit the practice for those
|
| 68 |
+
products. If such problems arise substantially in other domains, we
|
| 69 |
+
stand ready to extend this provision to those domains in future versions
|
| 70 |
+
of the GPL, as needed to protect the freedom of users.
|
| 71 |
+
|
| 72 |
+
Finally, every program is threatened constantly by software patents.
|
| 73 |
+
States should not allow patents to restrict development and use of
|
| 74 |
+
software on general-purpose computers, but in those that do, we wish to
|
| 75 |
+
avoid the special danger that patents applied to a free program could
|
| 76 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
| 77 |
+
patents cannot be used to render the program non-free.
|
| 78 |
+
|
| 79 |
+
The precise terms and conditions for copying, distribution and
|
| 80 |
+
modification follow.
|
| 81 |
+
|
| 82 |
+
TERMS AND CONDITIONS
|
| 83 |
+
|
| 84 |
+
0. Definitions.
|
| 85 |
+
|
| 86 |
+
"This License" refers to version 3 of the GNU General Public License.
|
| 87 |
+
|
| 88 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
| 89 |
+
works, such as semiconductor masks.
|
| 90 |
+
|
| 91 |
+
"The Program" refers to any copyrightable work licensed under this
|
| 92 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
| 93 |
+
"recipients" may be individuals or organizations.
|
| 94 |
+
|
| 95 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
| 96 |
+
in a fashion requiring copyright permission, other than the making of an
|
| 97 |
+
exact copy. The resulting work is called a "modified version" of the
|
| 98 |
+
earlier work or a work "based on" the earlier work.
|
| 99 |
+
|
| 100 |
+
A "covered work" means either the unmodified Program or a work based
|
| 101 |
+
on the Program.
|
| 102 |
+
|
| 103 |
+
To "propagate" a work means to do anything with it that, without
|
| 104 |
+
permission, would make you directly or secondarily liable for
|
| 105 |
+
infringement under applicable copyright law, except executing it on a
|
| 106 |
+
computer or modifying a private copy. Propagation includes copying,
|
| 107 |
+
distribution (with or without modification), making available to the
|
| 108 |
+
public, and in some countries other activities as well.
|
| 109 |
+
|
| 110 |
+
To "convey" a work means any kind of propagation that enables other
|
| 111 |
+
parties to make or receive copies. Mere interaction with a user through
|
| 112 |
+
a computer network, with no transfer of a copy, is not conveying.
|
| 113 |
+
|
| 114 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
| 115 |
+
to the extent that it includes a convenient and prominently visible
|
| 116 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
| 117 |
+
tells the user that there is no warranty for the work (except to the
|
| 118 |
+
extent that warranties are provided), that licensees may convey the
|
| 119 |
+
work under this License, and how to view a copy of this License. If
|
| 120 |
+
the interface presents a list of user commands or options, such as a
|
| 121 |
+
menu, a prominent item in the list meets this criterion.
|
| 122 |
+
|
| 123 |
+
1. Source Code.
|
| 124 |
+
|
| 125 |
+
The "source code" for a work means the preferred form of the work
|
| 126 |
+
for making modifications to it. "Object code" means any non-source
|
| 127 |
+
form of a work.
|
| 128 |
+
|
| 129 |
+
A "Standard Interface" means an interface that either is an official
|
| 130 |
+
standard defined by a recognized standards body, or, in the case of
|
| 131 |
+
interfaces specified for a particular programming language, one that
|
| 132 |
+
is widely used among developers working in that language.
|
| 133 |
+
|
| 134 |
+
The "System Libraries" of an executable work include anything, other
|
| 135 |
+
than the work as a whole, that (a) is included in the normal form of
|
| 136 |
+
packaging a Major Component, but which is not part of that Major
|
| 137 |
+
Component, and (b) serves only to enable use of the work with that
|
| 138 |
+
Major Component, or to implement a Standard Interface for which an
|
| 139 |
+
implementation is available to the public in source code form. A
|
| 140 |
+
"Major Component", in this context, means a major essential component
|
| 141 |
+
(kernel, window system, and so on) of the specific operating system
|
| 142 |
+
(if any) on which the executable work runs, or a compiler used to
|
| 143 |
+
produce the work, or an object code interpreter used to run it.
|
| 144 |
+
|
| 145 |
+
The "Corresponding Source" for a work in object code form means all
|
| 146 |
+
the source code needed to generate, install, and (for an executable
|
| 147 |
+
work) run the object code and to modify the work, including scripts to
|
| 148 |
+
control those activities. However, it does not include the work's
|
| 149 |
+
System Libraries, or general-purpose tools or generally available free
|
| 150 |
+
programs which are used unmodified in performing those activities but
|
| 151 |
+
which are not part of the work. For example, Corresponding Source
|
| 152 |
+
includes interface definition files associated with source files for
|
| 153 |
+
the work, and the source code for shared libraries and dynamically
|
| 154 |
+
linked subprograms that the work is specifically designed to require,
|
| 155 |
+
such as by intimate data communication or control flow between those
|
| 156 |
+
subprograms and other parts of the work.
|
| 157 |
+
|
| 158 |
+
The Corresponding Source need not include anything that users
|
| 159 |
+
can regenerate automatically from other parts of the Corresponding
|
| 160 |
+
Source.
|
| 161 |
+
|
| 162 |
+
The Corresponding Source for a work in source code form is that
|
| 163 |
+
same work.
|
| 164 |
+
|
| 165 |
+
2. Basic Permissions.
|
| 166 |
+
|
| 167 |
+
All rights granted under this License are granted for the term of
|
| 168 |
+
copyright on the Program, and are irrevocable provided the stated
|
| 169 |
+
conditions are met. This License explicitly affirms your unlimited
|
| 170 |
+
permission to run the unmodified Program. The output from running a
|
| 171 |
+
covered work is covered by this License only if the output, given its
|
| 172 |
+
content, constitutes a covered work. This License acknowledges your
|
| 173 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
| 174 |
+
|
| 175 |
+
You may make, run and propagate covered works that you do not
|
| 176 |
+
convey, without conditions so long as your license otherwise remains
|
| 177 |
+
in force. You may convey covered works to others for the sole purpose
|
| 178 |
+
of having them make modifications exclusively for you, or provide you
|
| 179 |
+
with facilities for running those works, provided that you comply with
|
| 180 |
+
the terms of this License in conveying all material for which you do
|
| 181 |
+
not control copyright. Those thus making or running the covered works
|
| 182 |
+
for you must do so exclusively on your behalf, under your direction
|
| 183 |
+
and control, on terms that prohibit them from making any copies of
|
| 184 |
+
your copyrighted material outside their relationship with you.
|
| 185 |
+
|
| 186 |
+
Conveying under any other circumstances is permitted solely under
|
| 187 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
| 188 |
+
makes it unnecessary.
|
| 189 |
+
|
| 190 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
| 191 |
+
|
| 192 |
+
No covered work shall be deemed part of an effective technological
|
| 193 |
+
measure under any applicable law fulfilling obligations under article
|
| 194 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
| 195 |
+
similar laws prohibiting or restricting circumvention of such
|
| 196 |
+
measures.
|
| 197 |
+
|
| 198 |
+
When you convey a covered work, you waive any legal power to forbid
|
| 199 |
+
circumvention of technological measures to the extent such circumvention
|
| 200 |
+
is effected by exercising rights under this License with respect to
|
| 201 |
+
the covered work, and you disclaim any intention to limit operation or
|
| 202 |
+
modification of the work as a means of enforcing, against the work's
|
| 203 |
+
users, your or third parties' legal rights to forbid circumvention of
|
| 204 |
+
technological measures.
|
| 205 |
+
|
| 206 |
+
4. Conveying Verbatim Copies.
|
| 207 |
+
|
| 208 |
+
You may convey verbatim copies of the Program's source code as you
|
| 209 |
+
receive it, in any medium, provided that you conspicuously and
|
| 210 |
+
appropriately publish on each copy an appropriate copyright notice;
|
| 211 |
+
keep intact all notices stating that this License and any
|
| 212 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
| 213 |
+
keep intact all notices of the absence of any warranty; and give all
|
| 214 |
+
recipients a copy of this License along with the Program.
|
| 215 |
+
|
| 216 |
+
You may charge any price or no price for each copy that you convey,
|
| 217 |
+
and you may offer support or warranty protection for a fee.
|
| 218 |
+
|
| 219 |
+
5. Conveying Modified Source Versions.
|
| 220 |
+
|
| 221 |
+
You may convey a work based on the Program, or the modifications to
|
| 222 |
+
produce it from the Program, in the form of source code under the
|
| 223 |
+
terms of section 4, provided that you also meet all of these conditions:
|
| 224 |
+
|
| 225 |
+
a) The work must carry prominent notices stating that you modified
|
| 226 |
+
it, and giving a relevant date.
|
| 227 |
+
|
| 228 |
+
b) The work must carry prominent notices stating that it is
|
| 229 |
+
released under this License and any conditions added under section
|
| 230 |
+
7. This requirement modifies the requirement in section 4 to
|
| 231 |
+
"keep intact all notices".
|
| 232 |
+
|
| 233 |
+
c) You must license the entire work, as a whole, under this
|
| 234 |
+
License to anyone who comes into possession of a copy. This
|
| 235 |
+
License will therefore apply, along with any applicable section 7
|
| 236 |
+
additional terms, to the whole of the work, and all its parts,
|
| 237 |
+
regardless of how they are packaged. This License gives no
|
| 238 |
+
permission to license the work in any other way, but it does not
|
| 239 |
+
invalidate such permission if you have separately received it.
|
| 240 |
+
|
| 241 |
+
d) If the work has interactive user interfaces, each must display
|
| 242 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
| 243 |
+
interfaces that do not display Appropriate Legal Notices, your
|
| 244 |
+
work need not make them do so.
|
| 245 |
+
|
| 246 |
+
A compilation of a covered work with other separate and independent
|
| 247 |
+
works, which are not by their nature extensions of the covered work,
|
| 248 |
+
and which are not combined with it such as to form a larger program,
|
| 249 |
+
in or on a volume of a storage or distribution medium, is called an
|
| 250 |
+
"aggregate" if the compilation and its resulting copyright are not
|
| 251 |
+
used to limit the access or legal rights of the compilation's users
|
| 252 |
+
beyond what the individual works permit. Inclusion of a covered work
|
| 253 |
+
in an aggregate does not cause this License to apply to the other
|
| 254 |
+
parts of the aggregate.
|
| 255 |
+
|
| 256 |
+
6. Conveying Non-Source Forms.
|
| 257 |
+
|
| 258 |
+
You may convey a covered work in object code form under the terms
|
| 259 |
+
of sections 4 and 5, provided that you also convey the
|
| 260 |
+
machine-readable Corresponding Source under the terms of this License,
|
| 261 |
+
in one of these ways:
|
| 262 |
+
|
| 263 |
+
a) Convey the object code in, or embodied in, a physical product
|
| 264 |
+
(including a physical distribution medium), accompanied by the
|
| 265 |
+
Corresponding Source fixed on a durable physical medium
|
| 266 |
+
customarily used for software interchange.
|
| 267 |
+
|
| 268 |
+
b) Convey the object code in, or embodied in, a physical product
|
| 269 |
+
(including a physical distribution medium), accompanied by a
|
| 270 |
+
written offer, valid for at least three years and valid for as
|
| 271 |
+
long as you offer spare parts or customer support for that product
|
| 272 |
+
model, to give anyone who possesses the object code either (1) a
|
| 273 |
+
copy of the Corresponding Source for all the software in the
|
| 274 |
+
product that is covered by this License, on a durable physical
|
| 275 |
+
medium customarily used for software interchange, for a price no
|
| 276 |
+
more than your reasonable cost of physically performing this
|
| 277 |
+
conveying of source, or (2) access to copy the
|
| 278 |
+
Corresponding Source from a network server at no charge.
|
| 279 |
+
|
| 280 |
+
c) Convey individual copies of the object code with a copy of the
|
| 281 |
+
written offer to provide the Corresponding Source. This
|
| 282 |
+
alternative is allowed only occasionally and noncommercially, and
|
| 283 |
+
only if you received the object code with such an offer, in accord
|
| 284 |
+
with subsection 6b.
|
| 285 |
+
|
| 286 |
+
d) Convey the object code by offering access from a designated
|
| 287 |
+
place (gratis or for a charge), and offer equivalent access to the
|
| 288 |
+
Corresponding Source in the same way through the same place at no
|
| 289 |
+
further charge. You need not require recipients to copy the
|
| 290 |
+
Corresponding Source along with the object code. If the place to
|
| 291 |
+
copy the object code is a network server, the Corresponding Source
|
| 292 |
+
may be on a different server (operated by you or a third party)
|
| 293 |
+
that supports equivalent copying facilities, provided you maintain
|
| 294 |
+
clear directions next to the object code saying where to find the
|
| 295 |
+
Corresponding Source. Regardless of what server hosts the
|
| 296 |
+
Corresponding Source, you remain obligated to ensure that it is
|
| 297 |
+
available for as long as needed to satisfy these requirements.
|
| 298 |
+
|
| 299 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
| 300 |
+
you inform other peers where the object code and Corresponding
|
| 301 |
+
Source of the work are being offered to the general public at no
|
| 302 |
+
charge under subsection 6d.
|
| 303 |
+
|
| 304 |
+
A separable portion of the object code, whose source code is excluded
|
| 305 |
+
from the Corresponding Source as a System Library, need not be
|
| 306 |
+
included in conveying the object code work.
|
| 307 |
+
|
| 308 |
+
A "User Product" is either (1) a "consumer product", which means any
|
| 309 |
+
tangible personal property which is normally used for personal, family,
|
| 310 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
| 311 |
+
into a dwelling. In determining whether a product is a consumer product,
|
| 312 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
| 313 |
+
product received by a particular user, "normally used" refers to a
|
| 314 |
+
typical or common use of that class of product, regardless of the status
|
| 315 |
+
of the particular user or of the way in which the particular user
|
| 316 |
+
actually uses, or expects or is expected to use, the product. A product
|
| 317 |
+
is a consumer product regardless of whether the product has substantial
|
| 318 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
| 319 |
+
the only significant mode of use of the product.
|
| 320 |
+
|
| 321 |
+
"Installation Information" for a User Product means any methods,
|
| 322 |
+
procedures, authorization keys, or other information required to install
|
| 323 |
+
and execute modified versions of a covered work in that User Product from
|
| 324 |
+
a modified version of its Corresponding Source. The information must
|
| 325 |
+
suffice to ensure that the continued functioning of the modified object
|
| 326 |
+
code is in no case prevented or interfered with solely because
|
| 327 |
+
modification has been made.
|
| 328 |
+
|
| 329 |
+
If you convey an object code work under this section in, or with, or
|
| 330 |
+
specifically for use in, a User Product, and the conveying occurs as
|
| 331 |
+
part of a transaction in which the right of possession and use of the
|
| 332 |
+
User Product is transferred to the recipient in perpetuity or for a
|
| 333 |
+
fixed term (regardless of how the transaction is characterized), the
|
| 334 |
+
Corresponding Source conveyed under this section must be accompanied
|
| 335 |
+
by the Installation Information. But this requirement does not apply
|
| 336 |
+
if neither you nor any third party retains the ability to install
|
| 337 |
+
modified object code on the User Product (for example, the work has
|
| 338 |
+
been installed in ROM).
|
| 339 |
+
|
| 340 |
+
The requirement to provide Installation Information does not include a
|
| 341 |
+
requirement to continue to provide support service, warranty, or updates
|
| 342 |
+
for a work that has been modified or installed by the recipient, or for
|
| 343 |
+
the User Product in which it has been modified or installed. Access to a
|
| 344 |
+
network may be denied when the modification itself materially and
|
| 345 |
+
adversely affects the operation of the network or violates the rules and
|
| 346 |
+
protocols for communication across the network.
|
| 347 |
+
|
| 348 |
+
Corresponding Source conveyed, and Installation Information provided,
|
| 349 |
+
in accord with this section must be in a format that is publicly
|
| 350 |
+
documented (and with an implementation available to the public in
|
| 351 |
+
source code form), and must require no special password or key for
|
| 352 |
+
unpacking, reading or copying.
|
| 353 |
+
|
| 354 |
+
7. Additional Terms.
|
| 355 |
+
|
| 356 |
+
"Additional permissions" are terms that supplement the terms of this
|
| 357 |
+
License by making exceptions from one or more of its conditions.
|
| 358 |
+
Additional permissions that are applicable to the entire Program shall
|
| 359 |
+
be treated as though they were included in this License, to the extent
|
| 360 |
+
that they are valid under applicable law. If additional permissions
|
| 361 |
+
apply only to part of the Program, that part may be used separately
|
| 362 |
+
under those permissions, but the entire Program remains governed by
|
| 363 |
+
this License without regard to the additional permissions.
|
| 364 |
+
|
| 365 |
+
When you convey a copy of a covered work, you may at your option
|
| 366 |
+
remove any additional permissions from that copy, or from any part of
|
| 367 |
+
it. (Additional permissions may be written to require their own
|
| 368 |
+
removal in certain cases when you modify the work.) You may place
|
| 369 |
+
additional permissions on material, added by you to a covered work,
|
| 370 |
+
for which you have or can give appropriate copyright permission.
|
| 371 |
+
|
| 372 |
+
Notwithstanding any other provision of this License, for material you
|
| 373 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
| 374 |
+
that material) supplement the terms of this License with terms:
|
| 375 |
+
|
| 376 |
+
a) Disclaiming warranty or limiting liability differently from the
|
| 377 |
+
terms of sections 15 and 16 of this License; or
|
| 378 |
+
|
| 379 |
+
b) Requiring preservation of specified reasonable legal notices or
|
| 380 |
+
author attributions in that material or in the Appropriate Legal
|
| 381 |
+
Notices displayed by works containing it; or
|
| 382 |
+
|
| 383 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
| 384 |
+
requiring that modified versions of such material be marked in
|
| 385 |
+
reasonable ways as different from the original version; or
|
| 386 |
+
|
| 387 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
| 388 |
+
authors of the material; or
|
| 389 |
+
|
| 390 |
+
e) Declining to grant rights under trademark law for use of some
|
| 391 |
+
trade names, trademarks, or service marks; or
|
| 392 |
+
|
| 393 |
+
f) Requiring indemnification of licensors and authors of that
|
| 394 |
+
material by anyone who conveys the material (or modified versions of
|
| 395 |
+
it) with contractual assumptions of liability to the recipient, for
|
| 396 |
+
any liability that these contractual assumptions directly impose on
|
| 397 |
+
those licensors and authors.
|
| 398 |
+
|
| 399 |
+
All other non-permissive additional terms are considered "further
|
| 400 |
+
restrictions" within the meaning of section 10. If the Program as you
|
| 401 |
+
received it, or any part of it, contains a notice stating that it is
|
| 402 |
+
governed by this License along with a term that is a further
|
| 403 |
+
restriction, you may remove that term. If a license document contains
|
| 404 |
+
a further restriction but permits relicensing or conveying under this
|
| 405 |
+
License, you may add to a covered work material governed by the terms
|
| 406 |
+
of that license document, provided that the further restriction does
|
| 407 |
+
not survive such relicensing or conveying.
|
| 408 |
+
|
| 409 |
+
If you add terms to a covered work in accord with this section, you
|
| 410 |
+
must place, in the relevant source files, a statement of the
|
| 411 |
+
additional terms that apply to those files, or a notice indicating
|
| 412 |
+
where to find the applicable terms.
|
| 413 |
+
|
| 414 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
| 415 |
+
form of a separately written license, or stated as exceptions;
|
| 416 |
+
the above requirements apply either way.
|
| 417 |
+
|
| 418 |
+
8. Termination.
|
| 419 |
+
|
| 420 |
+
You may not propagate or modify a covered work except as expressly
|
| 421 |
+
provided under this License. Any attempt otherwise to propagate or
|
| 422 |
+
modify it is void, and will automatically terminate your rights under
|
| 423 |
+
this License (including any patent licenses granted under the third
|
| 424 |
+
paragraph of section 11).
|
| 425 |
+
|
| 426 |
+
However, if you cease all violation of this License, then your
|
| 427 |
+
license from a particular copyright holder is reinstated (a)
|
| 428 |
+
provisionally, unless and until the copyright holder explicitly and
|
| 429 |
+
finally terminates your license, and (b) permanently, if the copyright
|
| 430 |
+
holder fails to notify you of the violation by some reasonable means
|
| 431 |
+
prior to 60 days after the cessation.
|
| 432 |
+
|
| 433 |
+
Moreover, your license from a particular copyright holder is
|
| 434 |
+
reinstated permanently if the copyright holder notifies you of the
|
| 435 |
+
violation by some reasonable means, this is the first time you have
|
| 436 |
+
received notice of violation of this License (for any work) from that
|
| 437 |
+
copyright holder, and you cure the violation prior to 30 days after
|
| 438 |
+
your receipt of the notice.
|
| 439 |
+
|
| 440 |
+
Termination of your rights under this section does not terminate the
|
| 441 |
+
licenses of parties who have received copies or rights from you under
|
| 442 |
+
this License. If your rights have been terminated and not permanently
|
| 443 |
+
reinstated, you do not qualify to receive new licenses for the same
|
| 444 |
+
material under section 10.
|
| 445 |
+
|
| 446 |
+
9. Acceptance Not Required for Having Copies.
|
| 447 |
+
|
| 448 |
+
You are not required to accept this License in order to receive or
|
| 449 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
| 450 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
| 451 |
+
to receive a copy likewise does not require acceptance. However,
|
| 452 |
+
nothing other than this License grants you permission to propagate or
|
| 453 |
+
modify any covered work. These actions infringe copyright if you do
|
| 454 |
+
not accept this License. Therefore, by modifying or propagating a
|
| 455 |
+
covered work, you indicate your acceptance of this License to do so.
|
| 456 |
+
|
| 457 |
+
10. Automatic Licensing of Downstream Recipients.
|
| 458 |
+
|
| 459 |
+
Each time you convey a covered work, the recipient automatically
|
| 460 |
+
receives a license from the original licensors, to run, modify and
|
| 461 |
+
propagate that work, subject to this License. You are not responsible
|
| 462 |
+
for enforcing compliance by third parties with this License.
|
| 463 |
+
|
| 464 |
+
An "entity transaction" is a transaction transferring control of an
|
| 465 |
+
organization, or substantially all assets of one, or subdividing an
|
| 466 |
+
organization, or merging organizations. If propagation of a covered
|
| 467 |
+
work results from an entity transaction, each party to that
|
| 468 |
+
transaction who receives a copy of the work also receives whatever
|
| 469 |
+
licenses to the work the party's predecessor in interest had or could
|
| 470 |
+
give under the previous paragraph, plus a right to possession of the
|
| 471 |
+
Corresponding Source of the work from the predecessor in interest, if
|
| 472 |
+
the predecessor has it or can get it with reasonable efforts.
|
| 473 |
+
|
| 474 |
+
You may not impose any further restrictions on the exercise of the
|
| 475 |
+
rights granted or affirmed under this License. For example, you may
|
| 476 |
+
not impose a license fee, royalty, or other charge for exercise of
|
| 477 |
+
rights granted under this License, and you may not initiate litigation
|
| 478 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
| 479 |
+
any patent claim is infringed by making, using, selling, offering for
|
| 480 |
+
sale, or importing the Program or any portion of it.
|
| 481 |
+
|
| 482 |
+
11. Patents.
|
| 483 |
+
|
| 484 |
+
A "contributor" is a copyright holder who authorizes use under this
|
| 485 |
+
License of the Program or a work on which the Program is based. The
|
| 486 |
+
work thus licensed is called the contributor's "contributor version".
|
| 487 |
+
|
| 488 |
+
A contributor's "essential patent claims" are all patent claims
|
| 489 |
+
owned or controlled by the contributor, whether already acquired or
|
| 490 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
| 491 |
+
by this License, of making, using, or selling its contributor version,
|
| 492 |
+
but do not include claims that would be infringed only as a
|
| 493 |
+
consequence of further modification of the contributor version. For
|
| 494 |
+
purposes of this definition, "control" includes the right to grant
|
| 495 |
+
patent sublicenses in a manner consistent with the requirements of
|
| 496 |
+
this License.
|
| 497 |
+
|
| 498 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
| 499 |
+
patent license under the contributor's essential patent claims, to
|
| 500 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
| 501 |
+
propagate the contents of its contributor version.
|
| 502 |
+
|
| 503 |
+
In the following three paragraphs, a "patent license" is any express
|
| 504 |
+
agreement or commitment, however denominated, not to enforce a patent
|
| 505 |
+
(such as an express permission to practice a patent or covenant not to
|
| 506 |
+
sue for patent infringement). To "grant" such a patent license to a
|
| 507 |
+
party means to make such an agreement or commitment not to enforce a
|
| 508 |
+
patent against the party.
|
| 509 |
+
|
| 510 |
+
If you convey a covered work, knowingly relying on a patent license,
|
| 511 |
+
and the Corresponding Source of the work is not available for anyone
|
| 512 |
+
to copy, free of charge and under the terms of this License, through a
|
| 513 |
+
publicly available network server or other readily accessible means,
|
| 514 |
+
then you must either (1) cause the Corresponding Source to be so
|
| 515 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
| 516 |
+
patent license for this particular work, or (3) arrange, in a manner
|
| 517 |
+
consistent with the requirements of this License, to extend the patent
|
| 518 |
+
license to downstream recipients. "Knowingly relying" means you have
|
| 519 |
+
actual knowledge that, but for the patent license, your conveying the
|
| 520 |
+
covered work in a country, or your recipient's use of the covered work
|
| 521 |
+
in a country, would infringe one or more identifiable patents in that
|
| 522 |
+
country that you have reason to believe are valid.
|
| 523 |
+
|
| 524 |
+
If, pursuant to or in connection with a single transaction or
|
| 525 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
| 526 |
+
covered work, and grant a patent license to some of the parties
|
| 527 |
+
receiving the covered work authorizing them to use, propagate, modify
|
| 528 |
+
or convey a specific copy of the covered work, then the patent license
|
| 529 |
+
you grant is automatically extended to all recipients of the covered
|
| 530 |
+
work and works based on it.
|
| 531 |
+
|
| 532 |
+
A patent license is "discriminatory" if it does not include within
|
| 533 |
+
the scope of its coverage, prohibits the exercise of, or is
|
| 534 |
+
conditioned on the non-exercise of one or more of the rights that are
|
| 535 |
+
specifically granted under this License. You may not convey a covered
|
| 536 |
+
work if you are a party to an arrangement with a third party that is
|
| 537 |
+
in the business of distributing software, under which you make payment
|
| 538 |
+
to the third party based on the extent of your activity of conveying
|
| 539 |
+
the work, and under which the third party grants, to any of the
|
| 540 |
+
parties who would receive the covered work from you, a discriminatory
|
| 541 |
+
patent license (a) in connection with copies of the covered work
|
| 542 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
| 543 |
+
for and in connection with specific products or compilations that
|
| 544 |
+
contain the covered work, unless you entered into that arrangement,
|
| 545 |
+
or that patent license was granted, prior to 28 March 2007.
|
| 546 |
+
|
| 547 |
+
Nothing in this License shall be construed as excluding or limiting
|
| 548 |
+
any implied license or other defenses to infringement that may
|
| 549 |
+
otherwise be available to you under applicable patent law.
|
| 550 |
+
|
| 551 |
+
12. No Surrender of Others' Freedom.
|
| 552 |
+
|
| 553 |
+
If conditions are imposed on you (whether by court order, agreement or
|
| 554 |
+
otherwise) that contradict the conditions of this License, they do not
|
| 555 |
+
excuse you from the conditions of this License. If you cannot convey a
|
| 556 |
+
covered work so as to satisfy simultaneously your obligations under this
|
| 557 |
+
License and any other pertinent obligations, then as a consequence you may
|
| 558 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
| 559 |
+
to collect a royalty for further conveying from those to whom you convey
|
| 560 |
+
the Program, the only way you could satisfy both those terms and this
|
| 561 |
+
License would be to refrain entirely from conveying the Program.
|
| 562 |
+
|
| 563 |
+
13. Use with the GNU Affero General Public License.
|
| 564 |
+
|
| 565 |
+
Notwithstanding any other provision of this License, you have
|
| 566 |
+
permission to link or combine any covered work with a work licensed
|
| 567 |
+
under version 3 of the GNU Affero General Public License into a single
|
| 568 |
+
combined work, and to convey the resulting work. The terms of this
|
| 569 |
+
License will continue to apply to the part which is the covered work,
|
| 570 |
+
but the special requirements of the GNU Affero General Public License,
|
| 571 |
+
section 13, concerning interaction through a network will apply to the
|
| 572 |
+
combination as such.
|
| 573 |
+
|
| 574 |
+
14. Revised Versions of this License.
|
| 575 |
+
|
| 576 |
+
The Free Software Foundation may publish revised and/or new versions of
|
| 577 |
+
the GNU General Public License from time to time. Such new versions will
|
| 578 |
+
be similar in spirit to the present version, but may differ in detail to
|
| 579 |
+
address new problems or concerns.
|
| 580 |
+
|
| 581 |
+
Each version is given a distinguishing version number. If the
|
| 582 |
+
Program specifies that a certain numbered version of the GNU General
|
| 583 |
+
Public License "or any later version" applies to it, you have the
|
| 584 |
+
option of following the terms and conditions either of that numbered
|
| 585 |
+
version or of any later version published by the Free Software
|
| 586 |
+
Foundation. If the Program does not specify a version number of the
|
| 587 |
+
GNU General Public License, you may choose any version ever published
|
| 588 |
+
by the Free Software Foundation.
|
| 589 |
+
|
| 590 |
+
If the Program specifies that a proxy can decide which future
|
| 591 |
+
versions of the GNU General Public License can be used, that proxy's
|
| 592 |
+
public statement of acceptance of a version permanently authorizes you
|
| 593 |
+
to choose that version for the Program.
|
| 594 |
+
|
| 595 |
+
Later license versions may give you additional or different
|
| 596 |
+
permissions. However, no additional obligations are imposed on any
|
| 597 |
+
author or copyright holder as a result of your choosing to follow a
|
| 598 |
+
later version.
|
| 599 |
+
|
| 600 |
+
15. Disclaimer of Warranty.
|
| 601 |
+
|
| 602 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
| 603 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
| 604 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
| 605 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
| 606 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 607 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
| 608 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
| 609 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
| 610 |
+
|
| 611 |
+
16. Limitation of Liability.
|
| 612 |
+
|
| 613 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
| 614 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
| 615 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
| 616 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
| 617 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
| 618 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
| 619 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
| 620 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
| 621 |
+
SUCH DAMAGES.
|
| 622 |
+
|
| 623 |
+
17. Interpretation of Sections 15 and 16.
|
| 624 |
+
|
| 625 |
+
If the disclaimer of warranty and limitation of liability provided
|
| 626 |
+
above cannot be given local legal effect according to their terms,
|
| 627 |
+
reviewing courts shall apply local law that most closely approximates
|
| 628 |
+
an absolute waiver of all civil liability in connection with the
|
| 629 |
+
Program, unless a warranty or assumption of liability accompanies a
|
| 630 |
+
copy of the Program in return for a fee.
|
| 631 |
+
|
| 632 |
+
END OF TERMS AND CONDITIONS
|
| 633 |
+
|
| 634 |
+
How to Apply These Terms to Your New Programs
|
| 635 |
+
|
| 636 |
+
If you develop a new program, and you want it to be of the greatest
|
| 637 |
+
possible use to the public, the best way to achieve this is to make it
|
| 638 |
+
free software which everyone can redistribute and change under these terms.
|
| 639 |
+
|
| 640 |
+
To do so, attach the following notices to the program. It is safest
|
| 641 |
+
to attach them to the start of each source file to most effectively
|
| 642 |
+
state the exclusion of warranty; and each file should have at least
|
| 643 |
+
the "copyright" line and a pointer to where the full notice is found.
|
| 644 |
+
|
| 645 |
+
<one line to give the program's name and a brief idea of what it does.>
|
| 646 |
+
Copyright (C) <year> <name of author>
|
| 647 |
+
|
| 648 |
+
This program is free software: you can redistribute it and/or modify
|
| 649 |
+
it under the terms of the GNU General Public License as published by
|
| 650 |
+
the Free Software Foundation, either version 3 of the License, or
|
| 651 |
+
(at your option) any later version.
|
| 652 |
+
|
| 653 |
+
This program is distributed in the hope that it will be useful,
|
| 654 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 655 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 656 |
+
GNU General Public License for more details.
|
| 657 |
+
|
| 658 |
+
You should have received a copy of the GNU General Public License
|
| 659 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 660 |
+
|
| 661 |
+
Also add information on how to contact you by electronic and paper mail.
|
| 662 |
+
|
| 663 |
+
If the program does terminal interaction, make it output a short
|
| 664 |
+
notice like this when it starts in an interactive mode:
|
| 665 |
+
|
| 666 |
+
<program> Copyright (C) <year> <name of author>
|
| 667 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
| 668 |
+
This is free software, and you are welcome to redistribute it
|
| 669 |
+
under certain conditions; type `show c' for details.
|
| 670 |
+
|
| 671 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
| 672 |
+
parts of the General Public License. Of course, your program's commands
|
| 673 |
+
might be different; for a GUI interface, you would use an "about box".
|
| 674 |
+
|
| 675 |
+
You should also get your employer (if you work as a programmer) or school,
|
| 676 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
| 677 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
| 678 |
+
<http://www.gnu.org/licenses/>.
|
| 679 |
+
|
| 680 |
+
The GNU General Public License does not permit incorporating your program
|
| 681 |
+
into proprietary programs. If your program is a subroutine library, you
|
| 682 |
+
may consider it more useful to permit linking proprietary applications with
|
| 683 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
| 684 |
+
Public License instead of this License. But first, please read
|
| 685 |
+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
onnx/decision.data
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:467b109c425541363ac5304fc06b3ee7aba75521cd774507c2a4a3a1772e2dd6
|
| 3 |
+
size 761643008
|
onnx/decision.data.NOTICE.txt
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
d1 FP16-weight browser-decision derivative
|
| 2 |
+
|
| 3 |
+
Original model and model implementation: Liquid AI, LiquidAI/d1-omni-600M,
|
| 4 |
+
revision 02b55d7076f15129e59ab3f94783f32c4b088674.
|
| 5 |
+
Original license: LFM Open License v1.0. The exact upstream license is retained
|
| 6 |
+
as LICENSE. Liquid AI does not endorse this experimental derivative.
|
| 7 |
+
|
| 8 |
+
MODIFIED MATERIALS NOTICE
|
| 9 |
+
This package is derived from the WebBrain FP32 release
|
| 10 |
+
webbrain-one/d1-browser-decision-fp32 (revision 71866f0ccab0b9fa92c6df64d1c34eacf2a7b2b8), whose
|
| 11 |
+
notice describes the earlier changes: audio components removed, decision head
|
| 12 |
+
and vision projector adapted, one rank-4 LoRA merged into four encoder Q/V
|
| 13 |
+
weights.
|
| 14 |
+
|
| 15 |
+
For this package, every FP32 weight tensor with at least 4,096 elements in the
|
| 16 |
+
three ONNX graphs was rounded once to FP16 and is cast back to FP32 where it is
|
| 17 |
+
used (scripts/models/d1/convert_fp16.py in the WebBrain repository, copied to
|
| 18 |
+
provenance/). The token-embedding table is gathered in FP16 and only the
|
| 19 |
+
gathered rows are cast. Activations, attention, softmax and accumulation stay
|
| 20 |
+
FP32. No training, merge, selection or re-export from PyTorch was performed.
|
| 21 |
+
onnx/decision.onnx, onnx/decision.data, onnx/vision.onnx, onnx/vision.data,
|
| 22 |
+
onnx/projector.onnx and onnx/projector.data are modified derivatives.
|
| 23 |
+
|
| 24 |
+
The immutable config.json retains a legacy dtype=float16 label from the
|
| 25 |
+
upstream source; package-manifest.json is authoritative (FP16 weights, FP32
|
| 26 |
+
arithmetic). Tokenizer, calibration temperatures and answer semantics are
|
| 27 |
+
unchanged.
|
| 28 |
+
|
| 29 |
+
This derivative is experimental. Synthetic labels/results and finite runtime
|
| 30 |
+
parity do not establish reliability on real independently developed websites.
|
| 31 |
+
No blanket commercial permission is granted here; consult LICENSE, including
|
| 32 |
+
its annual-revenue threshold terms.
|
| 33 |
+
|
| 34 |
+
Third-party runtime code retains its separate upstream notices under licenses/.
|
onnx/decision.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ee0babc64f03d36557bbaecca506408feb1c8f59c0cdf93f7f42f716dd2565c
|
| 3 |
+
size 376683
|
onnx/decision.onnx.NOTICE.txt
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
d1 FP16-weight browser-decision derivative
|
| 2 |
+
|
| 3 |
+
Original model and model implementation: Liquid AI, LiquidAI/d1-omni-600M,
|
| 4 |
+
revision 02b55d7076f15129e59ab3f94783f32c4b088674.
|
| 5 |
+
Original license: LFM Open License v1.0. The exact upstream license is retained
|
| 6 |
+
as LICENSE. Liquid AI does not endorse this experimental derivative.
|
| 7 |
+
|
| 8 |
+
MODIFIED MATERIALS NOTICE
|
| 9 |
+
This package is derived from the WebBrain FP32 release
|
| 10 |
+
webbrain-one/d1-browser-decision-fp32 (revision 71866f0ccab0b9fa92c6df64d1c34eacf2a7b2b8), whose
|
| 11 |
+
notice describes the earlier changes: audio components removed, decision head
|
| 12 |
+
and vision projector adapted, one rank-4 LoRA merged into four encoder Q/V
|
| 13 |
+
weights.
|
| 14 |
+
|
| 15 |
+
For this package, every FP32 weight tensor with at least 4,096 elements in the
|
| 16 |
+
three ONNX graphs was rounded once to FP16 and is cast back to FP32 where it is
|
| 17 |
+
used (scripts/models/d1/convert_fp16.py in the WebBrain repository, copied to
|
| 18 |
+
provenance/). The token-embedding table is gathered in FP16 and only the
|
| 19 |
+
gathered rows are cast. Activations, attention, softmax and accumulation stay
|
| 20 |
+
FP32. No training, merge, selection or re-export from PyTorch was performed.
|
| 21 |
+
onnx/decision.onnx, onnx/decision.data, onnx/vision.onnx, onnx/vision.data,
|
| 22 |
+
onnx/projector.onnx and onnx/projector.data are modified derivatives.
|
| 23 |
+
|
| 24 |
+
The immutable config.json retains a legacy dtype=float16 label from the
|
| 25 |
+
upstream source; package-manifest.json is authoritative (FP16 weights, FP32
|
| 26 |
+
arithmetic). Tokenizer, calibration temperatures and answer semantics are
|
| 27 |
+
unchanged.
|
| 28 |
+
|
| 29 |
+
This derivative is experimental. Synthetic labels/results and finite runtime
|
| 30 |
+
parity do not establish reliability on real independently developed websites.
|
| 31 |
+
No blanket commercial permission is granted here; consult LICENSE, including
|
| 32 |
+
its annual-revenue threshold terms.
|
| 33 |
+
|
| 34 |
+
Third-party runtime code retains its separate upstream notices under licenses/.
|
onnx/projector.data
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30399cd25a12bc526bf0fef2b36e4ba940d44b68a0fe5e0c358e1907f16d2e51
|
| 3 |
+
size 16789504
|
onnx/projector.data.NOTICE.txt
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
d1 FP16-weight browser-decision derivative
|
| 2 |
+
|
| 3 |
+
Original model and model implementation: Liquid AI, LiquidAI/d1-omni-600M,
|
| 4 |
+
revision 02b55d7076f15129e59ab3f94783f32c4b088674.
|
| 5 |
+
Original license: LFM Open License v1.0. The exact upstream license is retained
|
| 6 |
+
as LICENSE. Liquid AI does not endorse this experimental derivative.
|
| 7 |
+
|
| 8 |
+
MODIFIED MATERIALS NOTICE
|
| 9 |
+
This package is derived from the WebBrain FP32 release
|
| 10 |
+
webbrain-one/d1-browser-decision-fp32 (revision 71866f0ccab0b9fa92c6df64d1c34eacf2a7b2b8), whose
|
| 11 |
+
notice describes the earlier changes: audio components removed, decision head
|
| 12 |
+
and vision projector adapted, one rank-4 LoRA merged into four encoder Q/V
|
| 13 |
+
weights.
|
| 14 |
+
|
| 15 |
+
For this package, every FP32 weight tensor with at least 4,096 elements in the
|
| 16 |
+
three ONNX graphs was rounded once to FP16 and is cast back to FP32 where it is
|
| 17 |
+
used (scripts/models/d1/convert_fp16.py in the WebBrain repository, copied to
|
| 18 |
+
provenance/). The token-embedding table is gathered in FP16 and only the
|
| 19 |
+
gathered rows are cast. Activations, attention, softmax and accumulation stay
|
| 20 |
+
FP32. No training, merge, selection or re-export from PyTorch was performed.
|
| 21 |
+
onnx/decision.onnx, onnx/decision.data, onnx/vision.onnx, onnx/vision.data,
|
| 22 |
+
onnx/projector.onnx and onnx/projector.data are modified derivatives.
|
| 23 |
+
|
| 24 |
+
The immutable config.json retains a legacy dtype=float16 label from the
|
| 25 |
+
upstream source; package-manifest.json is authoritative (FP16 weights, FP32
|
| 26 |
+
arithmetic). Tokenizer, calibration temperatures and answer semantics are
|
| 27 |
+
unchanged.
|
| 28 |
+
|
| 29 |
+
This derivative is experimental. Synthetic labels/results and finite runtime
|
| 30 |
+
parity do not establish reliability on real independently developed websites.
|
| 31 |
+
No blanket commercial permission is granted here; consult LICENSE, including
|
| 32 |
+
its annual-revenue threshold terms.
|
| 33 |
+
|
| 34 |
+
Third-party runtime code retains its separate upstream notices under licenses/.
|
onnx/projector.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d63ae03e5daacabad20f2a9fdcd0f311a6a1bc8b23556aaf06633184d79c8766
|
| 3 |
+
size 5898
|
onnx/projector.onnx.NOTICE.txt
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
d1 FP16-weight browser-decision derivative
|
| 2 |
+
|
| 3 |
+
Original model and model implementation: Liquid AI, LiquidAI/d1-omni-600M,
|
| 4 |
+
revision 02b55d7076f15129e59ab3f94783f32c4b088674.
|
| 5 |
+
Original license: LFM Open License v1.0. The exact upstream license is retained
|
| 6 |
+
as LICENSE. Liquid AI does not endorse this experimental derivative.
|
| 7 |
+
|
| 8 |
+
MODIFIED MATERIALS NOTICE
|
| 9 |
+
This package is derived from the WebBrain FP32 release
|
| 10 |
+
webbrain-one/d1-browser-decision-fp32 (revision 71866f0ccab0b9fa92c6df64d1c34eacf2a7b2b8), whose
|
| 11 |
+
notice describes the earlier changes: audio components removed, decision head
|
| 12 |
+
and vision projector adapted, one rank-4 LoRA merged into four encoder Q/V
|
| 13 |
+
weights.
|
| 14 |
+
|
| 15 |
+
For this package, every FP32 weight tensor with at least 4,096 elements in the
|
| 16 |
+
three ONNX graphs was rounded once to FP16 and is cast back to FP32 where it is
|
| 17 |
+
used (scripts/models/d1/convert_fp16.py in the WebBrain repository, copied to
|
| 18 |
+
provenance/). The token-embedding table is gathered in FP16 and only the
|
| 19 |
+
gathered rows are cast. Activations, attention, softmax and accumulation stay
|
| 20 |
+
FP32. No training, merge, selection or re-export from PyTorch was performed.
|
| 21 |
+
onnx/decision.onnx, onnx/decision.data, onnx/vision.onnx, onnx/vision.data,
|
| 22 |
+
onnx/projector.onnx and onnx/projector.data are modified derivatives.
|
| 23 |
+
|
| 24 |
+
The immutable config.json retains a legacy dtype=float16 label from the
|
| 25 |
+
upstream source; package-manifest.json is authoritative (FP16 weights, FP32
|
| 26 |
+
arithmetic). Tokenizer, calibration temperatures and answer semantics are
|
| 27 |
+
unchanged.
|
| 28 |
+
|
| 29 |
+
This derivative is experimental. Synthetic labels/results and finite runtime
|
| 30 |
+
parity do not establish reliability on real independently developed websites.
|
| 31 |
+
No blanket commercial permission is granted here; consult LICENSE, including
|
| 32 |
+
its annual-revenue threshold terms.
|
| 33 |
+
|
| 34 |
+
Third-party runtime code retains its separate upstream notices under licenses/.
|
onnx/vision.data
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96fc0f19ded54cf124a6d21a56ef98d9c35af42cb4259a5d5e7ccb88c98aaa8d
|
| 3 |
+
size 171930624
|
onnx/vision.data.NOTICE.txt
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
d1 FP16-weight browser-decision derivative
|
| 2 |
+
|
| 3 |
+
Original model and model implementation: Liquid AI, LiquidAI/d1-omni-600M,
|
| 4 |
+
revision 02b55d7076f15129e59ab3f94783f32c4b088674.
|
| 5 |
+
Original license: LFM Open License v1.0. The exact upstream license is retained
|
| 6 |
+
as LICENSE. Liquid AI does not endorse this experimental derivative.
|
| 7 |
+
|
| 8 |
+
MODIFIED MATERIALS NOTICE
|
| 9 |
+
This package is derived from the WebBrain FP32 release
|
| 10 |
+
webbrain-one/d1-browser-decision-fp32 (revision 71866f0ccab0b9fa92c6df64d1c34eacf2a7b2b8), whose
|
| 11 |
+
notice describes the earlier changes: audio components removed, decision head
|
| 12 |
+
and vision projector adapted, one rank-4 LoRA merged into four encoder Q/V
|
| 13 |
+
weights.
|
| 14 |
+
|
| 15 |
+
For this package, every FP32 weight tensor with at least 4,096 elements in the
|
| 16 |
+
three ONNX graphs was rounded once to FP16 and is cast back to FP32 where it is
|
| 17 |
+
used (scripts/models/d1/convert_fp16.py in the WebBrain repository, copied to
|
| 18 |
+
provenance/). The token-embedding table is gathered in FP16 and only the
|
| 19 |
+
gathered rows are cast. Activations, attention, softmax and accumulation stay
|
| 20 |
+
FP32. No training, merge, selection or re-export from PyTorch was performed.
|
| 21 |
+
onnx/decision.onnx, onnx/decision.data, onnx/vision.onnx, onnx/vision.data,
|
| 22 |
+
onnx/projector.onnx and onnx/projector.data are modified derivatives.
|
| 23 |
+
|
| 24 |
+
The immutable config.json retains a legacy dtype=float16 label from the
|
| 25 |
+
upstream source; package-manifest.json is authoritative (FP16 weights, FP32
|
| 26 |
+
arithmetic). Tokenizer, calibration temperatures and answer semantics are
|
| 27 |
+
unchanged.
|
| 28 |
+
|
| 29 |
+
This derivative is experimental. Synthetic labels/results and finite runtime
|
| 30 |
+
parity do not establish reliability on real independently developed websites.
|
| 31 |
+
No blanket commercial permission is granted here; consult LICENSE, including
|
| 32 |
+
its annual-revenue threshold terms.
|
| 33 |
+
|
| 34 |
+
Third-party runtime code retains its separate upstream notices under licenses/.
|
onnx/vision.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cc9570bddc1b42c0fa1407936f53b076a11b630d47a50ca2bbe3401f4262231
|
| 3 |
+
size 126487
|
onnx/vision.onnx.NOTICE.txt
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
d1 FP16-weight browser-decision derivative
|
| 2 |
+
|
| 3 |
+
Original model and model implementation: Liquid AI, LiquidAI/d1-omni-600M,
|
| 4 |
+
revision 02b55d7076f15129e59ab3f94783f32c4b088674.
|
| 5 |
+
Original license: LFM Open License v1.0. The exact upstream license is retained
|
| 6 |
+
as LICENSE. Liquid AI does not endorse this experimental derivative.
|
| 7 |
+
|
| 8 |
+
MODIFIED MATERIALS NOTICE
|
| 9 |
+
This package is derived from the WebBrain FP32 release
|
| 10 |
+
webbrain-one/d1-browser-decision-fp32 (revision 71866f0ccab0b9fa92c6df64d1c34eacf2a7b2b8), whose
|
| 11 |
+
notice describes the earlier changes: audio components removed, decision head
|
| 12 |
+
and vision projector adapted, one rank-4 LoRA merged into four encoder Q/V
|
| 13 |
+
weights.
|
| 14 |
+
|
| 15 |
+
For this package, every FP32 weight tensor with at least 4,096 elements in the
|
| 16 |
+
three ONNX graphs was rounded once to FP16 and is cast back to FP32 where it is
|
| 17 |
+
used (scripts/models/d1/convert_fp16.py in the WebBrain repository, copied to
|
| 18 |
+
provenance/). The token-embedding table is gathered in FP16 and only the
|
| 19 |
+
gathered rows are cast. Activations, attention, softmax and accumulation stay
|
| 20 |
+
FP32. No training, merge, selection or re-export from PyTorch was performed.
|
| 21 |
+
onnx/decision.onnx, onnx/decision.data, onnx/vision.onnx, onnx/vision.data,
|
| 22 |
+
onnx/projector.onnx and onnx/projector.data are modified derivatives.
|
| 23 |
+
|
| 24 |
+
The immutable config.json retains a legacy dtype=float16 label from the
|
| 25 |
+
upstream source; package-manifest.json is authoritative (FP16 weights, FP32
|
| 26 |
+
arithmetic). Tokenizer, calibration temperatures and answer semantics are
|
| 27 |
+
unchanged.
|
| 28 |
+
|
| 29 |
+
This derivative is experimental. Synthetic labels/results and finite runtime
|
| 30 |
+
parity do not establish reliability on real independently developed websites.
|
| 31 |
+
No blanket commercial permission is granted here; consult LICENSE, including
|
| 32 |
+
its annual-revenue threshold terms.
|
| 33 |
+
|
| 34 |
+
Third-party runtime code retains its separate upstream notices under licenses/.
|
package-manifest.json
ADDED
|
@@ -0,0 +1,1401 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"complete": true,
|
| 4 |
+
"model_id": "webbrain-one/d1-browser-decision-fp16",
|
| 5 |
+
"variant": "projector_head_text_lora",
|
| 6 |
+
"selected_epoch": 6,
|
| 7 |
+
"dtype": "float16",
|
| 8 |
+
"weights_dtype": "float16",
|
| 9 |
+
"compute_dtype": "float32",
|
| 10 |
+
"audio": false,
|
| 11 |
+
"audio_included": false,
|
| 12 |
+
"quantization": false,
|
| 13 |
+
"generates_tokens": false,
|
| 14 |
+
"output_tokens": 0,
|
| 15 |
+
"source_package": {
|
| 16 |
+
"model_id": "webbrain-one/d1-browser-decision-fp32",
|
| 17 |
+
"revision": "71866f0ccab0b9fa92c6df64d1c34eacf2a7b2b8",
|
| 18 |
+
"package_manifest_sha256": "47b3a9efa02ce2cacf6da8c19607cc1179a8a2b7a339aebf3db05f2237151dbb"
|
| 19 |
+
},
|
| 20 |
+
"conversion": {
|
| 21 |
+
"script": "provenance/convert_fp16.py",
|
| 22 |
+
"report": {
|
| 23 |
+
"decision": {
|
| 24 |
+
"fp16_gather_tables": 1,
|
| 25 |
+
"fp16_elements": 380641280,
|
| 26 |
+
"kept_small_fp32": 99,
|
| 27 |
+
"fp16_weights": 103,
|
| 28 |
+
"initializer_types": {
|
| 29 |
+
"FLOAT16": 104,
|
| 30 |
+
"FLOAT": 99
|
| 31 |
+
},
|
| 32 |
+
"graph_bytes": 376683,
|
| 33 |
+
"data_bytes": 761643008
|
| 34 |
+
},
|
| 35 |
+
"vision": {
|
| 36 |
+
"kept_small_fp32": 123,
|
| 37 |
+
"fp16_weights": 74,
|
| 38 |
+
"fp16_elements": 85721088,
|
| 39 |
+
"initializer_types": {
|
| 40 |
+
"FLOAT": 123,
|
| 41 |
+
"FLOAT16": 74
|
| 42 |
+
},
|
| 43 |
+
"graph_bytes": 126487,
|
| 44 |
+
"data_bytes": 171930624
|
| 45 |
+
},
|
| 46 |
+
"projector": {
|
| 47 |
+
"kept_small_fp32": 2,
|
| 48 |
+
"fp16_weights": 2,
|
| 49 |
+
"fp16_elements": 8388608,
|
| 50 |
+
"initializer_types": {
|
| 51 |
+
"FLOAT": 2,
|
| 52 |
+
"FLOAT16": 2
|
| 53 |
+
},
|
| 54 |
+
"graph_bytes": 5898,
|
| 55 |
+
"data_bytes": 16789504
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
},
|
| 59 |
+
"graph_and_external_data_bytes": 950872204,
|
| 60 |
+
"parity": {
|
| 61 |
+
"comparison": {
|
| 62 |
+
"questions": 144,
|
| 63 |
+
"decisionAgreement": "144/144",
|
| 64 |
+
"maxProbabilityDifference": 0.010175764560699463,
|
| 65 |
+
"maxExpectedScoreDifference": 0.017800092697143555,
|
| 66 |
+
"worstQuestion": "final_test-compliance_notice-desktop-completed/auxiliary"
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"license": {
|
| 70 |
+
"model": "LFM Open License v1.0",
|
| 71 |
+
"file": "LICENSE"
|
| 72 |
+
},
|
| 73 |
+
"synthetic_quality_only": true,
|
| 74 |
+
"real_site_generalization_verified": false,
|
| 75 |
+
"checksum_scope": "All package payload files; package-manifest.json and SHA256SUMS excluded to avoid self-hash recursion",
|
| 76 |
+
"created_at_utc": "2026-10-17T16:54:50.956469+00:00",
|
| 77 |
+
"files": [
|
| 78 |
+
{
|
| 79 |
+
"path": "LICENSE",
|
| 80 |
+
"bytes": 10572,
|
| 81 |
+
"sha256": "9953509cbd8c1c6ce7b06ddf74fcc204a892692316201dd8f7400a84790d4120"
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"path": "NOTICE",
|
| 85 |
+
"bytes": 1856,
|
| 86 |
+
"sha256": "a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef"
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"path": "README.md",
|
| 90 |
+
"bytes": 4102,
|
| 91 |
+
"sha256": "f801dd8537f2b6023a13435dfce59b4541d33ac7cc2e4172046f24fe719e3985"
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"path": "config.json",
|
| 95 |
+
"bytes": 1765,
|
| 96 |
+
"sha256": "68ddf4bd4f3e489455211f80836b36281115cb9206b8e8d47858d062bdb6508d"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"path": "licenses/LFM2.5-Encoder-350M/LICENSE",
|
| 100 |
+
"bytes": 10574,
|
| 101 |
+
"sha256": "4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c"
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"path": "licenses/onnxruntime/LICENSE",
|
| 105 |
+
"bytes": 1073,
|
| 106 |
+
"sha256": "2f07c72751aed99790b8a4869cf2311df85a860b22ded05fa22803587a48922c"
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"path": "licenses/onnxruntime/ThirdPartyNotices.txt",
|
| 110 |
+
"bytes": 338088,
|
| 111 |
+
"sha256": "143764b952fdb1a7c69ce653bfba74a7744d6a8a573bfb73e235fba356c83de3"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"path": "licenses/transformers/LICENSE",
|
| 115 |
+
"bytes": 11358,
|
| 116 |
+
"sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"path": "licenses/webbrain/LICENSE",
|
| 120 |
+
"bytes": 35523,
|
| 121 |
+
"sha256": "a759b37ffc07280716156c7f128257e2f61af3cbb95edbfcfd2e3a85d190a25f"
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"path": "onnx/decision.data",
|
| 125 |
+
"bytes": 761643008,
|
| 126 |
+
"sha256": "467b109c425541363ac5304fc06b3ee7aba75521cd774507c2a4a3a1772e2dd6",
|
| 127 |
+
"chunk_bytes": 4194304,
|
| 128 |
+
"chunks": [
|
| 129 |
+
{
|
| 130 |
+
"offset": 0,
|
| 131 |
+
"bytes": 4194304,
|
| 132 |
+
"sha256": "072c7e6217b42722d58289249dbb74f094f6e8531787a54806c6ba43448c730c"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"offset": 4194304,
|
| 136 |
+
"bytes": 4194304,
|
| 137 |
+
"sha256": "23d004fd8d962a212359969645516a7ee8d5bbd79626efc3676e1110e61043b3"
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"offset": 8388608,
|
| 141 |
+
"bytes": 4194304,
|
| 142 |
+
"sha256": "77eac378bbaea368c9fcb371541e540b0a42b5aa1d382ea39ec3ef61920f8cb7"
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"offset": 12582912,
|
| 146 |
+
"bytes": 4194304,
|
| 147 |
+
"sha256": "1da840911a2a588be0244a80516d2303fca38acb7bd527ac89ad9a72b7128a18"
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"offset": 16777216,
|
| 151 |
+
"bytes": 4194304,
|
| 152 |
+
"sha256": "eb9a09beb4bb2a9fb49aa7ccc58dbc261e1f3ea0cde775460ea02aebf0f0c284"
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"offset": 20971520,
|
| 156 |
+
"bytes": 4194304,
|
| 157 |
+
"sha256": "6381d809c195ac82fb77dd071df1be4d54192ec6b7c090f5c42393d7c9214461"
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"offset": 25165824,
|
| 161 |
+
"bytes": 4194304,
|
| 162 |
+
"sha256": "dae2124c5b1f4309756f04849bb48ea50fd28a8d43b0a493b37f785ba744b5c6"
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"offset": 29360128,
|
| 166 |
+
"bytes": 4194304,
|
| 167 |
+
"sha256": "a0df9084cf9bab0f2a0427771c57ef44a33be822a580d0cfc3d073068ca8f67f"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"offset": 33554432,
|
| 171 |
+
"bytes": 4194304,
|
| 172 |
+
"sha256": "60f2e764f91c5a6cf6d074f8726b16d69094a9d702bcd0244fb7641c11938d1a"
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"offset": 37748736,
|
| 176 |
+
"bytes": 4194304,
|
| 177 |
+
"sha256": "54ec339eeec4de9bab0d2d88323ea0eb021940f4347e32971d11a5a3fac6cf7e"
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"offset": 41943040,
|
| 181 |
+
"bytes": 4194304,
|
| 182 |
+
"sha256": "5b3863e1eccd70b8d121fbc357248bad6c96d30dfd94caca37ad896f16ab1900"
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"offset": 46137344,
|
| 186 |
+
"bytes": 4194304,
|
| 187 |
+
"sha256": "149798bc89d9ef1620bf6631a4ebce244c3cab8f80221eb0423d7f8d605c961d"
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"offset": 50331648,
|
| 191 |
+
"bytes": 4194304,
|
| 192 |
+
"sha256": "1a1f4fa1ab605f683fe5fd0f44d96a3108e8f84898cd41380b2ea2c752fb5226"
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"offset": 54525952,
|
| 196 |
+
"bytes": 4194304,
|
| 197 |
+
"sha256": "7aeace3e235f48c1c66704a37e23aa4179a4a01cb1ea00ecfafb9da5c003dde4"
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"offset": 58720256,
|
| 201 |
+
"bytes": 4194304,
|
| 202 |
+
"sha256": "e7010bc8de107db0adc1f0a78a05cc9f4fee8ce2c44d595cf07f0530c25d5539"
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"offset": 62914560,
|
| 206 |
+
"bytes": 4194304,
|
| 207 |
+
"sha256": "3cf5c89f1ed4d6e133baaf9f05697d8dbd2719449d17eddcf9ff657598190d62"
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"offset": 67108864,
|
| 211 |
+
"bytes": 4194304,
|
| 212 |
+
"sha256": "15dd43da2acd50f279f0b0102c37180cfeeb9556628d60d92b7b7a9a1635f0b1"
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"offset": 71303168,
|
| 216 |
+
"bytes": 4194304,
|
| 217 |
+
"sha256": "c9dcf749683caaf17dcccb66db84b1c271e8c6d521362753225a3f82ead3fd31"
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"offset": 75497472,
|
| 221 |
+
"bytes": 4194304,
|
| 222 |
+
"sha256": "df454941a29d300b934950a1f4b78f0a05f997f318584655d4d237e9c546a866"
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"offset": 79691776,
|
| 226 |
+
"bytes": 4194304,
|
| 227 |
+
"sha256": "db41ae6578a21a1dc9f7e7818de4a10871fa91c04e3637ad13f39802ff2e9af2"
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"offset": 83886080,
|
| 231 |
+
"bytes": 4194304,
|
| 232 |
+
"sha256": "f7e53df7ccc02fa5fa7e6d557f042a2ffaa2ebfba6bf2648473a76104eed9421"
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"offset": 88080384,
|
| 236 |
+
"bytes": 4194304,
|
| 237 |
+
"sha256": "c5899d3597f12ab2e307be596f7e90a7a443b061d949591692b53dcc88bfec63"
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"offset": 92274688,
|
| 241 |
+
"bytes": 4194304,
|
| 242 |
+
"sha256": "04aa91203e083c4fdcf9de292908e9dfa54cd1d23a0b7fffe526d94f7ec32b3b"
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"offset": 96468992,
|
| 246 |
+
"bytes": 4194304,
|
| 247 |
+
"sha256": "751d5fdaeaca0b784579bc707aac66a3eb5d643c6081d7f34c801f8cb3d773e0"
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"offset": 100663296,
|
| 251 |
+
"bytes": 4194304,
|
| 252 |
+
"sha256": "c02421029c0ddc4e2746c3fa3d6d09948ca627be6923f2aded9c2bf102f954ec"
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"offset": 104857600,
|
| 256 |
+
"bytes": 4194304,
|
| 257 |
+
"sha256": "9f1876c28425578b1bbba681225f5d085620510e6a7f77b26120026442f63ec2"
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"offset": 109051904,
|
| 261 |
+
"bytes": 4194304,
|
| 262 |
+
"sha256": "17b6d6f96dbba88c7e2553d989ad29984787ad40f5b89d8eb21394d2969bde5a"
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"offset": 113246208,
|
| 266 |
+
"bytes": 4194304,
|
| 267 |
+
"sha256": "b544fdbbfd22d6f4dadb7095370cb8ac36e914fdee3955e305b566da662f0787"
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"offset": 117440512,
|
| 271 |
+
"bytes": 4194304,
|
| 272 |
+
"sha256": "d289cc42ce56e9010fcc475ab813a7af56e9961158241516ce915442afab8821"
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"offset": 121634816,
|
| 276 |
+
"bytes": 4194304,
|
| 277 |
+
"sha256": "cc212f77c2405c72d1382ce7ad088c6fec1c1ac267e68d0bff9a6e066925be8f"
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"offset": 125829120,
|
| 281 |
+
"bytes": 4194304,
|
| 282 |
+
"sha256": "efecee6c933f4f0cd5aee1585bf40ae65429320d7ba6d0422e291570862c94d2"
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"offset": 130023424,
|
| 286 |
+
"bytes": 4194304,
|
| 287 |
+
"sha256": "2512f21bb940ab2eb2bc535e1785aeb64dc6dfc6889c3ee0bcff5c3e9bab817d"
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"offset": 134217728,
|
| 291 |
+
"bytes": 4194304,
|
| 292 |
+
"sha256": "e54142af60d6de9bc8d8fe73bc6d4c9c019f0af75cb34bec62cac693aa8fe8a1"
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"offset": 138412032,
|
| 296 |
+
"bytes": 4194304,
|
| 297 |
+
"sha256": "9b8f6dc613c0e3400d18da45555f3283688a3976a9b7875d38341c0a1c8fc3b3"
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"offset": 142606336,
|
| 301 |
+
"bytes": 4194304,
|
| 302 |
+
"sha256": "cd6fc7c1655766962c1b76dc8d26b5b248fe037b3f530444e51a0aba174e7614"
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"offset": 146800640,
|
| 306 |
+
"bytes": 4194304,
|
| 307 |
+
"sha256": "c3b10b99e2ec53595c51b6e37812ab107e3e52dbc88c96d27079cae85d6811ec"
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"offset": 150994944,
|
| 311 |
+
"bytes": 4194304,
|
| 312 |
+
"sha256": "52932c0fd8da4cb1c48bc89b6a272a7d1f5429a66261471f0c00ddb7dd863b9d"
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"offset": 155189248,
|
| 316 |
+
"bytes": 4194304,
|
| 317 |
+
"sha256": "1a69d69cb68e1e24668d96d3ec8d2512706ef8a69434c0f1c31d5e544ea271aa"
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"offset": 159383552,
|
| 321 |
+
"bytes": 4194304,
|
| 322 |
+
"sha256": "5d84deadb725626cf4e4d21a255d491c4fd48b77d300847c35b2513f9166281d"
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"offset": 163577856,
|
| 326 |
+
"bytes": 4194304,
|
| 327 |
+
"sha256": "1565b004d7e84b35baaa1cbc85eb7753ddd384ad535bf6d8fbbd1234b1085ff6"
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"offset": 167772160,
|
| 331 |
+
"bytes": 4194304,
|
| 332 |
+
"sha256": "56e7d46b64ed71a5fc0c0daf02bef162bd5f429d534f6a640856e24bef99debc"
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"offset": 171966464,
|
| 336 |
+
"bytes": 4194304,
|
| 337 |
+
"sha256": "b3f2ca4a64878130b5332bffb6392b8b37209a670a3829723d22ca13ab09dee0"
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"offset": 176160768,
|
| 341 |
+
"bytes": 4194304,
|
| 342 |
+
"sha256": "38b104c2e39f51b1100788305d09a3263be419770d86964708b94e5f5463b69c"
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"offset": 180355072,
|
| 346 |
+
"bytes": 4194304,
|
| 347 |
+
"sha256": "599576278c0667646f3e1ae2b1867d8341fcae00fb0aad3651c5b344667cb80b"
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"offset": 184549376,
|
| 351 |
+
"bytes": 4194304,
|
| 352 |
+
"sha256": "5bbba131c0a6bb0e08a8f45226ff2693395cd8bbe8f2a35c3d23cb86f1e8a6ba"
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"offset": 188743680,
|
| 356 |
+
"bytes": 4194304,
|
| 357 |
+
"sha256": "f5225f057b06235408ad6df63b4cee9d467b3fbbff927c5ade10349f60d9f711"
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"offset": 192937984,
|
| 361 |
+
"bytes": 4194304,
|
| 362 |
+
"sha256": "e1d319f402929a76285b39fc92654e59afa4c279fdcdccbc538780d14944b98a"
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"offset": 197132288,
|
| 366 |
+
"bytes": 4194304,
|
| 367 |
+
"sha256": "486ac845176f9e92133f30d3dada367e89b14631fa836c0a1e55ca1e9c4c7961"
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"offset": 201326592,
|
| 371 |
+
"bytes": 4194304,
|
| 372 |
+
"sha256": "0f7eaf84c77795d9226b0fc809e05da100d1e2d43701d1a2a17c9defb5ae39bc"
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"offset": 205520896,
|
| 376 |
+
"bytes": 4194304,
|
| 377 |
+
"sha256": "645e926c370ca56a7ae8e2cb2bd2e391d880526fba8852cc0af5f89386c1f1aa"
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"offset": 209715200,
|
| 381 |
+
"bytes": 4194304,
|
| 382 |
+
"sha256": "935581a6ba68876c42cf482de2572a88bbba9b8392ed06cf8234be3d6fa3233b"
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"offset": 213909504,
|
| 386 |
+
"bytes": 4194304,
|
| 387 |
+
"sha256": "862cadbe691d055cd6ab1c1d706d517ea594ce87855284e02ed8b5d6c34c4421"
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"offset": 218103808,
|
| 391 |
+
"bytes": 4194304,
|
| 392 |
+
"sha256": "a382c95291c796e79cda14555877fd948407151d06daac3666a4809593c9b7c8"
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"offset": 222298112,
|
| 396 |
+
"bytes": 4194304,
|
| 397 |
+
"sha256": "b051c6f578146aff7803488be9e2679589c3c729ae74ab4b41271bf3f08a5a92"
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"offset": 226492416,
|
| 401 |
+
"bytes": 4194304,
|
| 402 |
+
"sha256": "b856b828b55463e68f2b6fad23d1dacc38bb773ccef52120ccb54431db6fdce1"
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"offset": 230686720,
|
| 406 |
+
"bytes": 4194304,
|
| 407 |
+
"sha256": "149107a248476dd7b6acf15ada9d1d16f4d084edb9edeadd2e5078ede03f242f"
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"offset": 234881024,
|
| 411 |
+
"bytes": 4194304,
|
| 412 |
+
"sha256": "7fde5b0565c5021d22681d02a87e8401db41e9970f08bf461b5a3c0ad4507c45"
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"offset": 239075328,
|
| 416 |
+
"bytes": 4194304,
|
| 417 |
+
"sha256": "cb6f1c97600b1c9df3ba2fee2bcfa02b5b56e857ff4fe51a28d5802f88cad755"
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"offset": 243269632,
|
| 421 |
+
"bytes": 4194304,
|
| 422 |
+
"sha256": "17fd1f4b180e19d55f5a1609b33b84f11d94af17c892b27485ae43f5a82f382c"
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"offset": 247463936,
|
| 426 |
+
"bytes": 4194304,
|
| 427 |
+
"sha256": "4a51eb71607bf3f054b4178f5c0608ed65ce8ede663a1649081c795b938e84aa"
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"offset": 251658240,
|
| 431 |
+
"bytes": 4194304,
|
| 432 |
+
"sha256": "7b66170ffcce04b901218b2f0bbe8fa27600ffa7cd44476742de0f5c13460c29"
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"offset": 255852544,
|
| 436 |
+
"bytes": 4194304,
|
| 437 |
+
"sha256": "fe6a7bdeb620542ef8d6cdbe66b3f6c1f131ef3a5426d1627a2fe97b0af7bc74"
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"offset": 260046848,
|
| 441 |
+
"bytes": 4194304,
|
| 442 |
+
"sha256": "1535e08422e92eef41f917c725aa67ae83c431e8cc8e19620b965ba5375642c2"
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"offset": 264241152,
|
| 446 |
+
"bytes": 4194304,
|
| 447 |
+
"sha256": "20a6e2491842ac2109757568b40512b06c0b4765900febf1949b968e80491c29"
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"offset": 268435456,
|
| 451 |
+
"bytes": 4194304,
|
| 452 |
+
"sha256": "5c51b066c3a9af30600474650a72162f1ee12fc4778c889f0c122254a005eede"
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"offset": 272629760,
|
| 456 |
+
"bytes": 4194304,
|
| 457 |
+
"sha256": "8ad50c258002a180d8b7424dcd4a4e00d4591b0fe31222ac2c34c39a457fd1b7"
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"offset": 276824064,
|
| 461 |
+
"bytes": 4194304,
|
| 462 |
+
"sha256": "e103ce9b5dbd6643669d9f3b0a70ca35c15c7a52e7e17bd3e9117fe3f4d96879"
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"offset": 281018368,
|
| 466 |
+
"bytes": 4194304,
|
| 467 |
+
"sha256": "5043be91ef84677cea4c4b5c39a7510dff6d4a77a542854c1b6990a73d4f4cf9"
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"offset": 285212672,
|
| 471 |
+
"bytes": 4194304,
|
| 472 |
+
"sha256": "11f9a4dd512ef3feab1b3e5ff670d72adee861a36cce6dc50e351f3fde25ad88"
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"offset": 289406976,
|
| 476 |
+
"bytes": 4194304,
|
| 477 |
+
"sha256": "1307a319f8750b0ba014dd5ee05659c81c9737808720bb781466849dcedacc0a"
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"offset": 293601280,
|
| 481 |
+
"bytes": 4194304,
|
| 482 |
+
"sha256": "86ceeb4e804f19208bb248c5f588f80961b7d54717613e9bb386a709b576ab71"
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"offset": 297795584,
|
| 486 |
+
"bytes": 4194304,
|
| 487 |
+
"sha256": "79c7833b93d48740c6431fb7c03102c2d9b8de8fd44ab0901e215893e6bd6337"
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"offset": 301989888,
|
| 491 |
+
"bytes": 4194304,
|
| 492 |
+
"sha256": "25f10be47c26a79ef872d6ea097997650d5cc03f238caca21d743e7a5598cc75"
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"offset": 306184192,
|
| 496 |
+
"bytes": 4194304,
|
| 497 |
+
"sha256": "94957841024f0cf59b69a23c31e5b9e5f8159b1eddf0c75dc17194db27e06342"
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"offset": 310378496,
|
| 501 |
+
"bytes": 4194304,
|
| 502 |
+
"sha256": "b8b799efe0b69d354b96dc0dec4cd18c74b32005a3e60bf2f6602f372103f0ce"
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"offset": 314572800,
|
| 506 |
+
"bytes": 4194304,
|
| 507 |
+
"sha256": "678761b2aae546ca38083431299d1ec6ea5d5cb7696fa1105337eb9790ecaf7a"
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"offset": 318767104,
|
| 511 |
+
"bytes": 4194304,
|
| 512 |
+
"sha256": "6e53ba8ea07314a530a77773c720b91474a5377488322c06eb92b94d3dfde3d4"
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"offset": 322961408,
|
| 516 |
+
"bytes": 4194304,
|
| 517 |
+
"sha256": "9f173f6ae097c1ed0fa426c90d563d8a6eb3fd4a276de896d7793a2ead54f94e"
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"offset": 327155712,
|
| 521 |
+
"bytes": 4194304,
|
| 522 |
+
"sha256": "6f2e88a4f44c7afdfeaf8c29634710888a93c7838eec237d3bc516d66749a21c"
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"offset": 331350016,
|
| 526 |
+
"bytes": 4194304,
|
| 527 |
+
"sha256": "eddea702046f2e7d43d9ad857338a8d37e4adc72ac2b084a15f0cc9c194938c3"
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"offset": 335544320,
|
| 531 |
+
"bytes": 4194304,
|
| 532 |
+
"sha256": "14e26e2728b3631d0893c2d2b796a8f7886ee505c65d3e031cb7594a9316b46c"
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"offset": 339738624,
|
| 536 |
+
"bytes": 4194304,
|
| 537 |
+
"sha256": "a0e0f5b3bf7a4c6837da07fbe1fcee2e3d0e080f33001a4860e212612c9b3ee4"
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"offset": 343932928,
|
| 541 |
+
"bytes": 4194304,
|
| 542 |
+
"sha256": "52ee606c982098017644dec68abd1752b44b566c4e1637874e20378692c542d1"
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"offset": 348127232,
|
| 546 |
+
"bytes": 4194304,
|
| 547 |
+
"sha256": "2e6a7d47d98251a96b54463d26c7dabfe8f49b1fc5c3d21a6e99c3b41572c337"
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"offset": 352321536,
|
| 551 |
+
"bytes": 4194304,
|
| 552 |
+
"sha256": "e055be72b66b5114ffcb3234ed69d321265c18f56ea97a78aef85ac4bbb5ccfa"
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"offset": 356515840,
|
| 556 |
+
"bytes": 4194304,
|
| 557 |
+
"sha256": "85d2e7ce06330b55fd9dfab66747fd5046a8575dd94e03e1a098f732ce8d31bd"
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"offset": 360710144,
|
| 561 |
+
"bytes": 4194304,
|
| 562 |
+
"sha256": "a0906af590b410e67a627777eacc647dec4d1664d8e5252d195879ee1df1b2f0"
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"offset": 364904448,
|
| 566 |
+
"bytes": 4194304,
|
| 567 |
+
"sha256": "414342bd4153ffdc192b4fabaf1167b32e175c8172be4385aef3f72fd5d23488"
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"offset": 369098752,
|
| 571 |
+
"bytes": 4194304,
|
| 572 |
+
"sha256": "c447b43af9b102140b638e74bd1ac1be0e4c67b49001e426f7fe670712b053e0"
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"offset": 373293056,
|
| 576 |
+
"bytes": 4194304,
|
| 577 |
+
"sha256": "77e0b66008d7b1e3b9c6d5a8ef684316ef83850b4cae6e55d2dc10567b3f4f14"
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"offset": 377487360,
|
| 581 |
+
"bytes": 4194304,
|
| 582 |
+
"sha256": "af8e6678d3425c1ec0a7225b4f9ed08d80ccb80d847149925d50f7af217298d7"
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"offset": 381681664,
|
| 586 |
+
"bytes": 4194304,
|
| 587 |
+
"sha256": "27c728655d3d3643837e2410e214045bcd07c02bbfe9e41cb7a281779ec9a3a5"
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"offset": 385875968,
|
| 591 |
+
"bytes": 4194304,
|
| 592 |
+
"sha256": "346452c0051b9e6e90d1a9003a01fe7f6480dff330cb1cf54ec57f4afe790b6f"
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"offset": 390070272,
|
| 596 |
+
"bytes": 4194304,
|
| 597 |
+
"sha256": "cdfa2988fd3f2840fc59f807eeb124e040b7bd3789768a4075404423c491a020"
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"offset": 394264576,
|
| 601 |
+
"bytes": 4194304,
|
| 602 |
+
"sha256": "0283c62e470ee48611a2e14ac4eb730fcd45913fb68d976bdd40275f8393d6ce"
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"offset": 398458880,
|
| 606 |
+
"bytes": 4194304,
|
| 607 |
+
"sha256": "2babf9eb8c0a6e418a5685a007ef8aac39d629d1b044e710514522f23a4dd381"
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"offset": 402653184,
|
| 611 |
+
"bytes": 4194304,
|
| 612 |
+
"sha256": "13eda4275d3b8589c1966390209a74418f8839edc7a1908b3277702847e6273b"
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"offset": 406847488,
|
| 616 |
+
"bytes": 4194304,
|
| 617 |
+
"sha256": "f8af671c7e7e178c17c24f54c1f2d1ee6a0fcea99645d3116d74091c96f8921d"
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"offset": 411041792,
|
| 621 |
+
"bytes": 4194304,
|
| 622 |
+
"sha256": "5bb2465a14f9ff5b8dc0a0737738501e61c48e4c5ad38a826bb94de89cc0b49e"
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"offset": 415236096,
|
| 626 |
+
"bytes": 4194304,
|
| 627 |
+
"sha256": "317b3a56564b75d9f801c68ecbb5f06311606940cd0fee8b29d6ae88e54d3314"
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"offset": 419430400,
|
| 631 |
+
"bytes": 4194304,
|
| 632 |
+
"sha256": "c5a6ab802b848c54013291bfba6810336cbcc5e8fedb86376ebfdb0bf99720e6"
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"offset": 423624704,
|
| 636 |
+
"bytes": 4194304,
|
| 637 |
+
"sha256": "c83859e709644d5d4b660b81c37c01fc0ed775acf0ae7480d433060930bc819c"
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"offset": 427819008,
|
| 641 |
+
"bytes": 4194304,
|
| 642 |
+
"sha256": "5b18a95f2c86b1650a123b2362aa89c24d85f6e2695752c95780de5c64dedb92"
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"offset": 432013312,
|
| 646 |
+
"bytes": 4194304,
|
| 647 |
+
"sha256": "83de68cd6bf9e55b1f0e5111aad5e3b0994ebe7ce54a3dc5db37c45f90761357"
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"offset": 436207616,
|
| 651 |
+
"bytes": 4194304,
|
| 652 |
+
"sha256": "173fef8ba5208ecd3e1e937f7fc13bb12a1f54aab5ba9dc8504ed0efdc781ba9"
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"offset": 440401920,
|
| 656 |
+
"bytes": 4194304,
|
| 657 |
+
"sha256": "8397010c5ae524d8847b12f9413fedfbeed722c9d63a94884bb3509315a70e27"
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"offset": 444596224,
|
| 661 |
+
"bytes": 4194304,
|
| 662 |
+
"sha256": "2f8be054664e8a2a11b7d93499be7ccb246bd0a4ccca0eaf04722de82328e05f"
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"offset": 448790528,
|
| 666 |
+
"bytes": 4194304,
|
| 667 |
+
"sha256": "8abce76b0f3c6080f26eece904cba276ff20887582f12ed00dcd7ff754f1a200"
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"offset": 452984832,
|
| 671 |
+
"bytes": 4194304,
|
| 672 |
+
"sha256": "0ef27e5303fdcdc27d06b3836ced446d7347fa69bbd774976d2427c40f488137"
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"offset": 457179136,
|
| 676 |
+
"bytes": 4194304,
|
| 677 |
+
"sha256": "7d9e12905b965022720724d107d1684b19f5e630207ff3029931d9af76e1dd8c"
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"offset": 461373440,
|
| 681 |
+
"bytes": 4194304,
|
| 682 |
+
"sha256": "bf200f4aa15ab2b9c15c8bcb3833b19f1b90fd28aaced602bdf022ace5dd5ef3"
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"offset": 465567744,
|
| 686 |
+
"bytes": 4194304,
|
| 687 |
+
"sha256": "f13af8dd709df5f21c9fdb675653af065a8c115db9b52202e6c2a2293ff9fea4"
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"offset": 469762048,
|
| 691 |
+
"bytes": 4194304,
|
| 692 |
+
"sha256": "480c3d519c7b0152a1179bcca406dc6f5c321a442ee753bb1b1b01a5112f9913"
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"offset": 473956352,
|
| 696 |
+
"bytes": 4194304,
|
| 697 |
+
"sha256": "698a917f255e4b44913911c400d522ad0dcd05b17916471214470bce007e0052"
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"offset": 478150656,
|
| 701 |
+
"bytes": 4194304,
|
| 702 |
+
"sha256": "fbfd7888f52464ca9fdeace0b5cce905f19c3136b8a5c5de7f71572f4e71a5fc"
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"offset": 482344960,
|
| 706 |
+
"bytes": 4194304,
|
| 707 |
+
"sha256": "a36f3a56335a4d9291662175d585807108656ee3e6c05fcae4f749467a66e814"
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"offset": 486539264,
|
| 711 |
+
"bytes": 4194304,
|
| 712 |
+
"sha256": "ef36c083ddb87b1aeb56cd3d126d53b56936ebe85a830b55ae7db59af7ec671d"
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"offset": 490733568,
|
| 716 |
+
"bytes": 4194304,
|
| 717 |
+
"sha256": "f7ba0e5158b481641abff23b8729899759b72c57d8ddd8964c5746ccf935ee77"
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"offset": 494927872,
|
| 721 |
+
"bytes": 4194304,
|
| 722 |
+
"sha256": "bcfbd2177765eb0028f2c8cf38cd7aad56f67ee0a54b304f9378b0b0e4318803"
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"offset": 499122176,
|
| 726 |
+
"bytes": 4194304,
|
| 727 |
+
"sha256": "01793ec86b73692a00b25f2614a2c745563cc006610cec664362bc20bff50d88"
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"offset": 503316480,
|
| 731 |
+
"bytes": 4194304,
|
| 732 |
+
"sha256": "aaf40e660bdb571a87c6e7765e7672ad0b0241953edb8607e65cfe897bf236da"
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"offset": 507510784,
|
| 736 |
+
"bytes": 4194304,
|
| 737 |
+
"sha256": "4b0f4c1bc2aba84b1a6931a0dcdd225453dbacb48960efb90a3984edc37aa3f5"
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"offset": 511705088,
|
| 741 |
+
"bytes": 4194304,
|
| 742 |
+
"sha256": "3de691e37264d06f579404f0a599e321ecb71b023fd492bde78234596bb6309e"
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"offset": 515899392,
|
| 746 |
+
"bytes": 4194304,
|
| 747 |
+
"sha256": "79334124769aecfbbdf4a7b4b01eebb0d81e5e93aed39fcb3c49976c1297e9cd"
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"offset": 520093696,
|
| 751 |
+
"bytes": 4194304,
|
| 752 |
+
"sha256": "0fb5fe138955e7fd4c57fbdcd9945cb158a18e349fe9f7a836842407073a3b8d"
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"offset": 524288000,
|
| 756 |
+
"bytes": 4194304,
|
| 757 |
+
"sha256": "88990aeda1facc0fd36e145e74e0d42fb6654560b67c0376a36ba6ca69faec70"
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"offset": 528482304,
|
| 761 |
+
"bytes": 4194304,
|
| 762 |
+
"sha256": "99f5781f766c85511470758917d4c915d0115f560482f75298a5c946bb36ac64"
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"offset": 532676608,
|
| 766 |
+
"bytes": 4194304,
|
| 767 |
+
"sha256": "1b0310aa8cc7f075ec1a8621478a533dcdd39e79250d48c04b5b6d2e99941648"
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"offset": 536870912,
|
| 771 |
+
"bytes": 4194304,
|
| 772 |
+
"sha256": "f771e7819d6a2d2ea6400d0cb53b225e2b0ac9969353e5e659c94dfa5d3f80c7"
|
| 773 |
+
},
|
| 774 |
+
{
|
| 775 |
+
"offset": 541065216,
|
| 776 |
+
"bytes": 4194304,
|
| 777 |
+
"sha256": "adaf5ae6397566547cfa77cc44f6906f006dd736f32dac473fc724572974a15a"
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"offset": 545259520,
|
| 781 |
+
"bytes": 4194304,
|
| 782 |
+
"sha256": "1c477faaf5ef4cc9556ffe1c6350b6111e557e6cd3316b37e0bc163a6d5dfa3e"
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"offset": 549453824,
|
| 786 |
+
"bytes": 4194304,
|
| 787 |
+
"sha256": "b7506e3aaca5b12af7b4beb895de2035c8cac5120dcd4199017ca5b5b1591f57"
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"offset": 553648128,
|
| 791 |
+
"bytes": 4194304,
|
| 792 |
+
"sha256": "712c294a8d4d969086a10897e60cbbf9b302727b7b3ebbff10b966d26c64e793"
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"offset": 557842432,
|
| 796 |
+
"bytes": 4194304,
|
| 797 |
+
"sha256": "07d8b03d8f2f7ca186fac5ef946ba4797cf95a232316d0342b2dd3d2920fb501"
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"offset": 562036736,
|
| 801 |
+
"bytes": 4194304,
|
| 802 |
+
"sha256": "c67062dd34b88a965af53ff9e403f084832efd70d8c6ac34da47fc3aec9d75ca"
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"offset": 566231040,
|
| 806 |
+
"bytes": 4194304,
|
| 807 |
+
"sha256": "ba07f5964af06ab8113bd1a3bce14ae806ad46415cbaf60828a69f588872e36f"
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"offset": 570425344,
|
| 811 |
+
"bytes": 4194304,
|
| 812 |
+
"sha256": "787a20802eec0be79d0347b4778bda6fab04a5b2404ad7b23aa0c1dd07307bc1"
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"offset": 574619648,
|
| 816 |
+
"bytes": 4194304,
|
| 817 |
+
"sha256": "16bf65e2271fa5c3a41909362eb7220930660e301394bb2b7d91bfa4089ccd87"
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"offset": 578813952,
|
| 821 |
+
"bytes": 4194304,
|
| 822 |
+
"sha256": "1a682ff6146a406f3590fcc4ec8a4badb596646a6a3130395d7412f56c6209b8"
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"offset": 583008256,
|
| 826 |
+
"bytes": 4194304,
|
| 827 |
+
"sha256": "d52101a87626f12da6c19bc16ed2503a4484605d5c4b62f86d30df6f30281630"
|
| 828 |
+
},
|
| 829 |
+
{
|
| 830 |
+
"offset": 587202560,
|
| 831 |
+
"bytes": 4194304,
|
| 832 |
+
"sha256": "c6fc9a8548500aeb824e306f45c98f988b06fce702d18a8ce4060a2215a8537e"
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"offset": 591396864,
|
| 836 |
+
"bytes": 4194304,
|
| 837 |
+
"sha256": "d02be6a76677e88a5950d7caae442cf3469e724724fa5f1b880109d57ab14bb4"
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"offset": 595591168,
|
| 841 |
+
"bytes": 4194304,
|
| 842 |
+
"sha256": "6b53e64bc6bce427466f5f84e7e7b80cc50767bc2850ce7be0bdc039822e1e9a"
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"offset": 599785472,
|
| 846 |
+
"bytes": 4194304,
|
| 847 |
+
"sha256": "b77eb048f85da3c8274ed8608370db340def99f71982f3974d50f59b1c7b7331"
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"offset": 603979776,
|
| 851 |
+
"bytes": 4194304,
|
| 852 |
+
"sha256": "059cc15d055fc794c8cd9761760b924054d0ba07333a33a40b183f1e13b5b1c8"
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"offset": 608174080,
|
| 856 |
+
"bytes": 4194304,
|
| 857 |
+
"sha256": "9790a3518330e7bddc2fffe059fc98255aef382480581da2720a90bab4fb0648"
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"offset": 612368384,
|
| 861 |
+
"bytes": 4194304,
|
| 862 |
+
"sha256": "3e7e6b70bb081c469a0c072750c2099d981aa4298f7856039016c5fb3fe14f50"
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"offset": 616562688,
|
| 866 |
+
"bytes": 4194304,
|
| 867 |
+
"sha256": "b09acb742353584573876b024562ba02ff84330c705b3b01b1e6903e690677d2"
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"offset": 620756992,
|
| 871 |
+
"bytes": 4194304,
|
| 872 |
+
"sha256": "1c000a4a9fe96ee952df6201cd9cdf4fb6765613a9c330cf39815274c3ac5976"
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"offset": 624951296,
|
| 876 |
+
"bytes": 4194304,
|
| 877 |
+
"sha256": "54dd4c2d1b99c41f4f42f6cd6c77aa51ef0a5633179598d40a28d80bd63bf40c"
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"offset": 629145600,
|
| 881 |
+
"bytes": 4194304,
|
| 882 |
+
"sha256": "ec2e366c7dbe5bf99ba97e7bc93a2d012a446be59ab434ef0c05362e73cfefd7"
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"offset": 633339904,
|
| 886 |
+
"bytes": 4194304,
|
| 887 |
+
"sha256": "f95e46760ddb1cdfd5da47de24282c0e6f00b9ec0383b7edc9096b14236c1124"
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"offset": 637534208,
|
| 891 |
+
"bytes": 4194304,
|
| 892 |
+
"sha256": "e058925a20bf1e6bf6795c09e6da2dc759a01f59b89e0b9e1c4a604b96b5854f"
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"offset": 641728512,
|
| 896 |
+
"bytes": 4194304,
|
| 897 |
+
"sha256": "7a9c3d76f9916663ece3b73ef3431a41711d0eb7ad44efabae0500a65488ca7d"
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"offset": 645922816,
|
| 901 |
+
"bytes": 4194304,
|
| 902 |
+
"sha256": "81098b0af7a9c8eaecaf432e81a38f59addbf88a06fc2589a28ff3bdbb40faa5"
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"offset": 650117120,
|
| 906 |
+
"bytes": 4194304,
|
| 907 |
+
"sha256": "6d389b096e003538b401b22bed3174eeef456b54a81d563b9fe96cd124bedaf0"
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"offset": 654311424,
|
| 911 |
+
"bytes": 4194304,
|
| 912 |
+
"sha256": "694e7f5387f4c8c56ff19caf9ffc3a70662cbe403adb435a6ec86d6b27b1773f"
|
| 913 |
+
},
|
| 914 |
+
{
|
| 915 |
+
"offset": 658505728,
|
| 916 |
+
"bytes": 4194304,
|
| 917 |
+
"sha256": "37e9435d4cff49433758a182ec06dca4743a5176ff451888d35fa54007f06efd"
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"offset": 662700032,
|
| 921 |
+
"bytes": 4194304,
|
| 922 |
+
"sha256": "6ba0c117cd4da833b273bcbba3d7d6641dcfea1c24996399652d39738cb19054"
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"offset": 666894336,
|
| 926 |
+
"bytes": 4194304,
|
| 927 |
+
"sha256": "2306ad33b2f629669703fad70e4841d1dfb9e5411a8eb549033e2eb53259057b"
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"offset": 671088640,
|
| 931 |
+
"bytes": 4194304,
|
| 932 |
+
"sha256": "49d20d274aa186c8ff0cde3ab3cc69d07cda345054ebde70e1e4bca962110268"
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"offset": 675282944,
|
| 936 |
+
"bytes": 4194304,
|
| 937 |
+
"sha256": "e554cf9d0d462d8c6a3fce703b7353b7eb97d5e600a5ef8046c3701fb433b720"
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"offset": 679477248,
|
| 941 |
+
"bytes": 4194304,
|
| 942 |
+
"sha256": "fc69a6163fd512cd47a3be17d0caf314fe3bed2e4f9381c05bb1188f3b974810"
|
| 943 |
+
},
|
| 944 |
+
{
|
| 945 |
+
"offset": 683671552,
|
| 946 |
+
"bytes": 4194304,
|
| 947 |
+
"sha256": "dbb092d4fc6dc03a7d9495216219643aa153c86565b760e53d1bf32090a5a660"
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"offset": 687865856,
|
| 951 |
+
"bytes": 4194304,
|
| 952 |
+
"sha256": "399933cb8c0787c17ae108abfe45d804694c66f41420953b5259a9857bf43d16"
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"offset": 692060160,
|
| 956 |
+
"bytes": 4194304,
|
| 957 |
+
"sha256": "e6fdc6d4ee81f5979d3a0213a05e8c02e4b65b915db7b2a6e7dd9cde56c8b7b8"
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"offset": 696254464,
|
| 961 |
+
"bytes": 4194304,
|
| 962 |
+
"sha256": "465dc4987e83eed8c8fce5d166e1c15cffb01e1fdc9af2b0e21fe30f2420c939"
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"offset": 700448768,
|
| 966 |
+
"bytes": 4194304,
|
| 967 |
+
"sha256": "a830dc749cc91e8fe25a7afd2c2f21aa51e2d2a44857f213f7cc40c1621e0ac0"
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"offset": 704643072,
|
| 971 |
+
"bytes": 4194304,
|
| 972 |
+
"sha256": "485744366278a73e3c79126038e8141e11737f60d7a3c6bc9b83c8a979230c43"
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"offset": 708837376,
|
| 976 |
+
"bytes": 4194304,
|
| 977 |
+
"sha256": "dfcba68d65549c8681a8173a2c32c4b10f1972c14addb0bcb1625c29050731d1"
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"offset": 713031680,
|
| 981 |
+
"bytes": 4194304,
|
| 982 |
+
"sha256": "9f24fef0405c468ed044e77c6383aa581e6d217cc6ec5b5f8d31110451f7d49a"
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"offset": 717225984,
|
| 986 |
+
"bytes": 4194304,
|
| 987 |
+
"sha256": "de4a04f477290007c0a40750713a977507af23aa9b4d14868726456c1a8a8bdb"
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"offset": 721420288,
|
| 991 |
+
"bytes": 4194304,
|
| 992 |
+
"sha256": "380141fa05510429b114689209d4f77fc81195b767d0f4e5b46b09cbf8e8a11b"
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"offset": 725614592,
|
| 996 |
+
"bytes": 4194304,
|
| 997 |
+
"sha256": "ba0e08f79fece5b76026f4c3edd217f6295a94be599897650b0fbc3ac0de5de0"
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"offset": 729808896,
|
| 1001 |
+
"bytes": 4194304,
|
| 1002 |
+
"sha256": "55c906c9f9d789ff2488aa1d6e765e78aa9ccf22fa75b922b96fd8544b66e182"
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"offset": 734003200,
|
| 1006 |
+
"bytes": 4194304,
|
| 1007 |
+
"sha256": "8f8f607080f4e3e2b0e25543a644ee73e1e8b7e627fd28b16e786e4ccd43ae5f"
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"offset": 738197504,
|
| 1011 |
+
"bytes": 4194304,
|
| 1012 |
+
"sha256": "ef745c25675f476dc7219bd0eb827030125224290e9147296fe08c6362580306"
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"offset": 742391808,
|
| 1016 |
+
"bytes": 4194304,
|
| 1017 |
+
"sha256": "a53244151c8946838fe5289fe89052d123b95cd8280db504d4ee252c34c01277"
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"offset": 746586112,
|
| 1021 |
+
"bytes": 4194304,
|
| 1022 |
+
"sha256": "fcb471c6e59f6d38495f49dfae41bff136f47667b8ca4eadbe7fda88e0323ae7"
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"offset": 750780416,
|
| 1026 |
+
"bytes": 4194304,
|
| 1027 |
+
"sha256": "3fbf539b88b9478ba766f581e3f89344fdbaa41a71aba1ad93f347bf40f745bc"
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"offset": 754974720,
|
| 1031 |
+
"bytes": 4194304,
|
| 1032 |
+
"sha256": "7a0b276382cf58ad5f301d91d067468ac6df418b1a65e5135dcb2f80ff0e6490"
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"offset": 759169024,
|
| 1036 |
+
"bytes": 2473984,
|
| 1037 |
+
"sha256": "0c03a86c6a04f3e256401c23fe428a5db7456180918150814f29eafd2c72f936"
|
| 1038 |
+
}
|
| 1039 |
+
]
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"path": "onnx/decision.data.NOTICE.txt",
|
| 1043 |
+
"bytes": 1856,
|
| 1044 |
+
"sha256": "a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef"
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"path": "onnx/decision.onnx",
|
| 1048 |
+
"bytes": 376683,
|
| 1049 |
+
"sha256": "5ee0babc64f03d36557bbaecca506408feb1c8f59c0cdf93f7f42f716dd2565c"
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"path": "onnx/decision.onnx.NOTICE.txt",
|
| 1053 |
+
"bytes": 1856,
|
| 1054 |
+
"sha256": "a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef"
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"path": "onnx/projector.data",
|
| 1058 |
+
"bytes": 16789504,
|
| 1059 |
+
"sha256": "30399cd25a12bc526bf0fef2b36e4ba940d44b68a0fe5e0c358e1907f16d2e51",
|
| 1060 |
+
"chunk_bytes": 4194304,
|
| 1061 |
+
"chunks": [
|
| 1062 |
+
{
|
| 1063 |
+
"offset": 0,
|
| 1064 |
+
"bytes": 4194304,
|
| 1065 |
+
"sha256": "924e76e7ca836542c67b13a54bd60847a392ac930582eed5c77ec16e2869214e"
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"offset": 4194304,
|
| 1069 |
+
"bytes": 4194304,
|
| 1070 |
+
"sha256": "c0652401094688e801f0c10471e5bde161c86a08d9b5724c9746967608c7ee97"
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"offset": 8388608,
|
| 1074 |
+
"bytes": 4194304,
|
| 1075 |
+
"sha256": "a448dff95f8c00c124547273ce5521a9ce3ab09dfb93b9b08810c6b40851d09a"
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"offset": 12582912,
|
| 1079 |
+
"bytes": 4194304,
|
| 1080 |
+
"sha256": "4e407787c98099a3a43556438a3c5fb704c54948080aafa8063f5960fc9308a3"
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"offset": 16777216,
|
| 1084 |
+
"bytes": 12288,
|
| 1085 |
+
"sha256": "d7b7d065dbf5213a90212830258bd776ace45acd0d17ce64bd78e85c01056662"
|
| 1086 |
+
}
|
| 1087 |
+
]
|
| 1088 |
+
},
|
| 1089 |
+
{
|
| 1090 |
+
"path": "onnx/projector.data.NOTICE.txt",
|
| 1091 |
+
"bytes": 1856,
|
| 1092 |
+
"sha256": "a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef"
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"path": "onnx/projector.onnx",
|
| 1096 |
+
"bytes": 5898,
|
| 1097 |
+
"sha256": "d63ae03e5daacabad20f2a9fdcd0f311a6a1bc8b23556aaf06633184d79c8766"
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"path": "onnx/projector.onnx.NOTICE.txt",
|
| 1101 |
+
"bytes": 1856,
|
| 1102 |
+
"sha256": "a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef"
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"path": "onnx/vision.data",
|
| 1106 |
+
"bytes": 171930624,
|
| 1107 |
+
"sha256": "96fc0f19ded54cf124a6d21a56ef98d9c35af42cb4259a5d5e7ccb88c98aaa8d",
|
| 1108 |
+
"chunk_bytes": 4194304,
|
| 1109 |
+
"chunks": [
|
| 1110 |
+
{
|
| 1111 |
+
"offset": 0,
|
| 1112 |
+
"bytes": 4194304,
|
| 1113 |
+
"sha256": "10f9fa685270332ec4dacd71516e6be316194f47b815a3ec164551cfa1daee9f"
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"offset": 4194304,
|
| 1117 |
+
"bytes": 4194304,
|
| 1118 |
+
"sha256": "5fe30f88fa4cd5c99ead55ecd7e406ca7854918941fd0f669a9bd5649f8ff686"
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"offset": 8388608,
|
| 1122 |
+
"bytes": 4194304,
|
| 1123 |
+
"sha256": "14251304e81ace11dbb31d8fcecd16b9de1bda22271cb77b8f536df4aaf69134"
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"offset": 12582912,
|
| 1127 |
+
"bytes": 4194304,
|
| 1128 |
+
"sha256": "2cc113946f01c677ae69f75a24195184ffe1cffdf41d434e75231a187a4ae23e"
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"offset": 16777216,
|
| 1132 |
+
"bytes": 4194304,
|
| 1133 |
+
"sha256": "b87276f32e79200a7df6a3bab37c3a08410577a0118b07f66b4fe19d0a660741"
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"offset": 20971520,
|
| 1137 |
+
"bytes": 4194304,
|
| 1138 |
+
"sha256": "6347793c135a210d0980cdaf078817a06d35b772f5d0176f9894a46a3393055e"
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"offset": 25165824,
|
| 1142 |
+
"bytes": 4194304,
|
| 1143 |
+
"sha256": "cc5b73c745b8e06077a2691d1c338cbc2b30b8b8c578196ad1b0bc2cad6cd1b6"
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"offset": 29360128,
|
| 1147 |
+
"bytes": 4194304,
|
| 1148 |
+
"sha256": "9ceea43a41ec79d4e99cb0449e1d63f6aefcf8c44404490dd3b6032afee6b818"
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"offset": 33554432,
|
| 1152 |
+
"bytes": 4194304,
|
| 1153 |
+
"sha256": "5cf40a53f03d49921f22f100a11637ee009428d414a75473cb1895283ca64672"
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"offset": 37748736,
|
| 1157 |
+
"bytes": 4194304,
|
| 1158 |
+
"sha256": "07e11e812478989c87cc68ae5e19e90f60e65565348860b2ee123fcf9429e487"
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"offset": 41943040,
|
| 1162 |
+
"bytes": 4194304,
|
| 1163 |
+
"sha256": "904556bff55ae80bd1b35db230ce78a0a19d77997977bf2f980be656bd82ff90"
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"offset": 46137344,
|
| 1167 |
+
"bytes": 4194304,
|
| 1168 |
+
"sha256": "450047c379ca5c5ae2ab56a6de0c1394caaff1885e4f8ce8c687cde8e5378b3e"
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"offset": 50331648,
|
| 1172 |
+
"bytes": 4194304,
|
| 1173 |
+
"sha256": "91a2a40a809a39dd1ad43c9951303bd853d664a75034d1838ec83f8f425f1835"
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"offset": 54525952,
|
| 1177 |
+
"bytes": 4194304,
|
| 1178 |
+
"sha256": "cff1a29b4e749e9696a086464b9c06a5e851eae78e3788d4950975aefd32b430"
|
| 1179 |
+
},
|
| 1180 |
+
{
|
| 1181 |
+
"offset": 58720256,
|
| 1182 |
+
"bytes": 4194304,
|
| 1183 |
+
"sha256": "fa46776fb7edb2584d2797d45b346ae1f906754fbc2ce882a161ef30efb372dd"
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"offset": 62914560,
|
| 1187 |
+
"bytes": 4194304,
|
| 1188 |
+
"sha256": "a1a18dd3d3d25d2cf21b7bafd7726de3c79f657dc8e34e8d597b8eacd77a40cc"
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"offset": 67108864,
|
| 1192 |
+
"bytes": 4194304,
|
| 1193 |
+
"sha256": "09c09e1b2fa95188460ab6cd6c74ddd35e138607962c38dd76ca008231d48a2e"
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"offset": 71303168,
|
| 1197 |
+
"bytes": 4194304,
|
| 1198 |
+
"sha256": "1b5742b2e9197f826330d45d7bdeb1740ff8c39ff9411f9fb3fe8025a44eabf6"
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"offset": 75497472,
|
| 1202 |
+
"bytes": 4194304,
|
| 1203 |
+
"sha256": "bddab63ac1fdb52a57b73a20222d1ecb2ae2f362fa3772c255f0c5188a704c71"
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"offset": 79691776,
|
| 1207 |
+
"bytes": 4194304,
|
| 1208 |
+
"sha256": "53c10a933960877185eba1c10db71f294892530b30e0c8c0e6e8ffc062a9279e"
|
| 1209 |
+
},
|
| 1210 |
+
{
|
| 1211 |
+
"offset": 83886080,
|
| 1212 |
+
"bytes": 4194304,
|
| 1213 |
+
"sha256": "24b1ef0a285057aec5af2e6ab9ac643a785191a18c5665531edf18924fb5b8d5"
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"offset": 88080384,
|
| 1217 |
+
"bytes": 4194304,
|
| 1218 |
+
"sha256": "2d2e99948e692ba053f75127bf5fac7fcb5f97b9c1139a1f843852c22b332661"
|
| 1219 |
+
},
|
| 1220 |
+
{
|
| 1221 |
+
"offset": 92274688,
|
| 1222 |
+
"bytes": 4194304,
|
| 1223 |
+
"sha256": "b1c90559374a20513ed84be641ed9d91bd5dbf58bd39cb0cedfef6ed15ad005d"
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"offset": 96468992,
|
| 1227 |
+
"bytes": 4194304,
|
| 1228 |
+
"sha256": "455d612f5ae4d0183a22cf86458f379048fc901c54cffe5401fbd7d24dba2000"
|
| 1229 |
+
},
|
| 1230 |
+
{
|
| 1231 |
+
"offset": 100663296,
|
| 1232 |
+
"bytes": 4194304,
|
| 1233 |
+
"sha256": "b81a67442d5c1f2ea469dfeb1b72423f33e29696207c2a632b3fe606b7af1c3c"
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"offset": 104857600,
|
| 1237 |
+
"bytes": 4194304,
|
| 1238 |
+
"sha256": "6f2d5815780625d3ae1bdebde8f538065f8acc6986ed4960dfd4131752790a3c"
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"offset": 109051904,
|
| 1242 |
+
"bytes": 4194304,
|
| 1243 |
+
"sha256": "34854e3c464bdb093aa2cbb9aeeadce6f62244a1d5e38a81c483892f6c2cecfa"
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"offset": 113246208,
|
| 1247 |
+
"bytes": 4194304,
|
| 1248 |
+
"sha256": "9025bafab45f04e2de57f70f6831c7abca2bbd175c92812160aa156230721620"
|
| 1249 |
+
},
|
| 1250 |
+
{
|
| 1251 |
+
"offset": 117440512,
|
| 1252 |
+
"bytes": 4194304,
|
| 1253 |
+
"sha256": "0bf15120eb9ba399947831df1cdc75b51a9682211e545050f005434125c5ccbf"
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"offset": 121634816,
|
| 1257 |
+
"bytes": 4194304,
|
| 1258 |
+
"sha256": "8e597296fa9a46c0ded5f947dfe9d14a2612cd0a8f6efbbe471914e28ff7e795"
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"offset": 125829120,
|
| 1262 |
+
"bytes": 4194304,
|
| 1263 |
+
"sha256": "ea2f0f61679fae39c419ad3bcffd1a309c4c30e2338221d5e1bb559fc05822b5"
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"offset": 130023424,
|
| 1267 |
+
"bytes": 4194304,
|
| 1268 |
+
"sha256": "87f52b7d587085610d2011e67d8ebbe017ec30e64f249ffb8a5b547502f2d064"
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"offset": 134217728,
|
| 1272 |
+
"bytes": 4194304,
|
| 1273 |
+
"sha256": "3c8dc9cfed15c57f7f0effe34f0fe370f47239b895d9f7ffb4518eb04a2dbbd2"
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"offset": 138412032,
|
| 1277 |
+
"bytes": 4194304,
|
| 1278 |
+
"sha256": "87b8754d8cb4887099195e9620db51db912d652d5dec887437b17d286397b954"
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"offset": 142606336,
|
| 1282 |
+
"bytes": 4194304,
|
| 1283 |
+
"sha256": "7bd49134f24770238c564b81f0856ab02aa0c181eec404cb6aa7e263045e144a"
|
| 1284 |
+
},
|
| 1285 |
+
{
|
| 1286 |
+
"offset": 146800640,
|
| 1287 |
+
"bytes": 4194304,
|
| 1288 |
+
"sha256": "a1cba64dea08f4a6f3ea170cc97f1fa072bcd639adc68fcce4f6a85bc8a90876"
|
| 1289 |
+
},
|
| 1290 |
+
{
|
| 1291 |
+
"offset": 150994944,
|
| 1292 |
+
"bytes": 4194304,
|
| 1293 |
+
"sha256": "2a5894232f6deadeb4483b43392a9e8935c4d902e4a6ba9c30fd351edca05a1d"
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"offset": 155189248,
|
| 1297 |
+
"bytes": 4194304,
|
| 1298 |
+
"sha256": "de62ce2f7106560892f031a885f317d7fcee0abf5d1159f5bd4f9854d9ee0cec"
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"offset": 159383552,
|
| 1302 |
+
"bytes": 4194304,
|
| 1303 |
+
"sha256": "0572abf2fa956f4ccf84ef05bec8ae62749375b4de30c3665fd454daebda12f3"
|
| 1304 |
+
},
|
| 1305 |
+
{
|
| 1306 |
+
"offset": 163577856,
|
| 1307 |
+
"bytes": 4194304,
|
| 1308 |
+
"sha256": "3fd042b14f53045cdac8bdc28c075f52129c5097914991824e6b3c6ca4c6ff30"
|
| 1309 |
+
},
|
| 1310 |
+
{
|
| 1311 |
+
"offset": 167772160,
|
| 1312 |
+
"bytes": 4158464,
|
| 1313 |
+
"sha256": "f6ea932b93bb2144651d902bc265ebf3e49e5636710f8db4d33deff9abdebda2"
|
| 1314 |
+
}
|
| 1315 |
+
]
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"path": "onnx/vision.data.NOTICE.txt",
|
| 1319 |
+
"bytes": 1856,
|
| 1320 |
+
"sha256": "a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef"
|
| 1321 |
+
},
|
| 1322 |
+
{
|
| 1323 |
+
"path": "onnx/vision.onnx",
|
| 1324 |
+
"bytes": 126487,
|
| 1325 |
+
"sha256": "8cc9570bddc1b42c0fa1407936f53b076a11b630d47a50ca2bbe3401f4262231"
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"path": "onnx/vision.onnx.NOTICE.txt",
|
| 1329 |
+
"bytes": 1856,
|
| 1330 |
+
"sha256": "a8423631317893541a2b0a14876e75e9e692a0accde363ba7e64b20aecb222ef"
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"path": "provenance/conversion-report.json",
|
| 1334 |
+
"bytes": 721,
|
| 1335 |
+
"sha256": "2e61fec2b5c4e84a1790df148b5283693665ece9a82cc51cf00504ebf6070763"
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"path": "provenance/convert_fp16.py",
|
| 1339 |
+
"bytes": 4660,
|
| 1340 |
+
"sha256": "6e8eba124020ac7cd5d20c41661a08032d1ba7bceae8a9ef7c610d7964768539"
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"path": "provenance/decision-metrics.mjs",
|
| 1344 |
+
"bytes": 4664,
|
| 1345 |
+
"sha256": "2c611f8b2ee7e6b13b323c1363e724f3d2adc394cca08dd58f6bb4b2aa8dbc43"
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"path": "provenance/parity-cpu.json",
|
| 1349 |
+
"bytes": 1986,
|
| 1350 |
+
"sha256": "47a44175844ef5b5b5e68b994075eec92390fc8ae7527b43708acebc70012519"
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"path": "provenance/parity-cpu.mjs",
|
| 1354 |
+
"bytes": 4044,
|
| 1355 |
+
"sha256": "2988eb3d2e3905e496dcc2c24aa82324d8fc317874706197f07540c16291caa5"
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"path": "provenance/source-package.json",
|
| 1359 |
+
"bytes": 313,
|
| 1360 |
+
"sha256": "935a3e3baabc3103d8584204f22ab982bacf78edc1ccc36997ddb83418a1e9a9"
|
| 1361 |
+
},
|
| 1362 |
+
{
|
| 1363 |
+
"path": "runtime/d1-preprocess.js",
|
| 1364 |
+
"bytes": 9407,
|
| 1365 |
+
"sha256": "00569ab7cae839e0e3b54b92a319aa0b5591a87c5dec67dac48cabe2d1464d9e"
|
| 1366 |
+
},
|
| 1367 |
+
{
|
| 1368 |
+
"path": "runtime/d1-runtime.js",
|
| 1369 |
+
"bytes": 13809,
|
| 1370 |
+
"sha256": "6d30dc1c2566a4098b6ff3d50fc22260bbc93b2128c9e1dd7eb078801e61bb18"
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"path": "tiling-ratios.json",
|
| 1374 |
+
"bytes": 681,
|
| 1375 |
+
"sha256": "256b18bf3b533c9aaa34099b049e688893282341fb078b772b3ecb7b59ab43b6"
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"path": "tokenizer.json",
|
| 1379 |
+
"bytes": 4733371,
|
| 1380 |
+
"sha256": "1efc3a6609abf6b63b1f47188d139f3b59973a6a434dffe970a7261a51ed2711",
|
| 1381 |
+
"chunk_bytes": 4194304,
|
| 1382 |
+
"chunks": [
|
| 1383 |
+
{
|
| 1384 |
+
"offset": 0,
|
| 1385 |
+
"bytes": 4194304,
|
| 1386 |
+
"sha256": "e0810cb790311d9043e2f7f66216fffc708fddbe1893375df488c910ee74202c"
|
| 1387 |
+
},
|
| 1388 |
+
{
|
| 1389 |
+
"offset": 4194304,
|
| 1390 |
+
"bytes": 539067,
|
| 1391 |
+
"sha256": "eb61da1da6e97af2d014bf9c301bbb1689e777e05fd43bbdbc9e6481eb6df853"
|
| 1392 |
+
}
|
| 1393 |
+
]
|
| 1394 |
+
},
|
| 1395 |
+
{
|
| 1396 |
+
"path": "tokenizer_config.json",
|
| 1397 |
+
"bytes": 259,
|
| 1398 |
+
"sha256": "03efc74b752b899b6292ff7e607738be59e6f206fec9aca32bbc05e9184090fc"
|
| 1399 |
+
}
|
| 1400 |
+
]
|
| 1401 |
+
}
|
provenance/conversion-report.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"decision": {
|
| 3 |
+
"fp16_gather_tables": 1,
|
| 4 |
+
"fp16_elements": 380641280,
|
| 5 |
+
"kept_small_fp32": 99,
|
| 6 |
+
"fp16_weights": 103,
|
| 7 |
+
"initializer_types": {
|
| 8 |
+
"FLOAT16": 104,
|
| 9 |
+
"FLOAT": 99
|
| 10 |
+
},
|
| 11 |
+
"graph_bytes": 376683,
|
| 12 |
+
"data_bytes": 761643008
|
| 13 |
+
},
|
| 14 |
+
"vision": {
|
| 15 |
+
"kept_small_fp32": 123,
|
| 16 |
+
"fp16_weights": 74,
|
| 17 |
+
"fp16_elements": 85721088,
|
| 18 |
+
"initializer_types": {
|
| 19 |
+
"FLOAT": 123,
|
| 20 |
+
"FLOAT16": 74
|
| 21 |
+
},
|
| 22 |
+
"graph_bytes": 126487,
|
| 23 |
+
"data_bytes": 171930624
|
| 24 |
+
},
|
| 25 |
+
"projector": {
|
| 26 |
+
"kept_small_fp32": 2,
|
| 27 |
+
"fp16_weights": 2,
|
| 28 |
+
"fp16_elements": 8388608,
|
| 29 |
+
"initializer_types": {
|
| 30 |
+
"FLOAT": 2,
|
| 31 |
+
"FLOAT16": 2
|
| 32 |
+
},
|
| 33 |
+
"graph_bytes": 5898,
|
| 34 |
+
"data_bytes": 16789504
|
| 35 |
+
}
|
| 36 |
+
}
|
provenance/convert_fp16.py
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Store the d1 browser-decision graphs with FP16 weights and FP32 arithmetic.
|
| 2 |
+
|
| 3 |
+
Input is the published FP32 package (decision, vision and projector graphs with
|
| 4 |
+
external data). Every large FP32 initializer is rounded to FP16 once and cast
|
| 5 |
+
back to FP32 where it is used, so the graphs compute exactly as before except
|
| 6 |
+
for that one rounding of the weights. Activations, attention scores, softmax
|
| 7 |
+
and accumulation stay FP32. The token-embedding table is the exception: its
|
| 8 |
+
Gather reads the FP16 table and casts only the gathered rows, so the 256 MiB
|
| 9 |
+
FP32 table becomes a 128 MiB buffer on the GPU.
|
| 10 |
+
|
| 11 |
+
ONNX Runtime folds the other weight casts at session creation, so GPU memory
|
| 12 |
+
for those weights is unchanged; the download and the browser cache halve.
|
| 13 |
+
|
| 14 |
+
python scripts/models/d1/convert_fp16.py <fp32-package-dir> <out-dir>
|
| 15 |
+
"""
|
| 16 |
+
import argparse
|
| 17 |
+
import json
|
| 18 |
+
import sys
|
| 19 |
+
from collections import Counter
|
| 20 |
+
from pathlib import Path
|
| 21 |
+
|
| 22 |
+
import numpy as np
|
| 23 |
+
import onnx
|
| 24 |
+
from onnx import TensorProto, helper, numpy_helper
|
| 25 |
+
|
| 26 |
+
GRAPHS = ("decision", "vision", "projector")
|
| 27 |
+
# Small tensors (norm scales, biases, position tables) stay FP32: they are a
|
| 28 |
+
# negligible share of the bytes and the most sensitive to rounding.
|
| 29 |
+
MIN_ELEMENTS = 4096
|
| 30 |
+
FP16_MAX = 65504.0
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
def convert(source: Path, target: Path):
|
| 34 |
+
model = onnx.load(str(source), load_external_data=True)
|
| 35 |
+
graph = model.graph
|
| 36 |
+
if any(node.op_type in ("If", "Loop", "Scan") for node in graph.node) or model.functions:
|
| 37 |
+
raise SystemExit(f"{source.name}: nested graphs are not expected in the d1 package")
|
| 38 |
+
consumers = {}
|
| 39 |
+
for node in graph.node:
|
| 40 |
+
for index, name in enumerate(node.input):
|
| 41 |
+
consumers.setdefault(name, []).append((node, index))
|
| 42 |
+
casts, gather_casts, report = [], {}, Counter()
|
| 43 |
+
for initializer in graph.initializer:
|
| 44 |
+
if initializer.data_type != TensorProto.FLOAT:
|
| 45 |
+
continue
|
| 46 |
+
values = numpy_helper.to_array(initializer)
|
| 47 |
+
if values.size < MIN_ELEMENTS:
|
| 48 |
+
report["kept_small_fp32"] += 1
|
| 49 |
+
continue
|
| 50 |
+
if not np.isfinite(values).all() or np.abs(values).max() >= FP16_MAX:
|
| 51 |
+
report["kept_out_of_range_fp32"] += 1
|
| 52 |
+
continue
|
| 53 |
+
half = values.astype(np.float16)
|
| 54 |
+
uses = consumers.get(initializer.name, [])
|
| 55 |
+
name = initializer.name
|
| 56 |
+
if uses and all(node.op_type == "Gather" and index == 0 for node, index in uses):
|
| 57 |
+
# Gather the FP16 rows, then cast just those rows.
|
| 58 |
+
initializer.CopyFrom(numpy_helper.from_array(half, name))
|
| 59 |
+
for node, _ in uses:
|
| 60 |
+
gathered = node.output[0]
|
| 61 |
+
node.output[0] = gathered + "__fp16"
|
| 62 |
+
gather_casts[node.name] = helper.make_node(
|
| 63 |
+
"Cast", [node.output[0]], [gathered], name=node.name + "/FP32", to=TensorProto.FLOAT)
|
| 64 |
+
report["fp16_gather_tables"] += 1
|
| 65 |
+
else:
|
| 66 |
+
stored = name + "__fp16"
|
| 67 |
+
initializer.CopyFrom(numpy_helper.from_array(half, stored))
|
| 68 |
+
casts.append(helper.make_node("Cast", [stored], [name], name=stored + "/FP32", to=TensorProto.FLOAT))
|
| 69 |
+
report["fp16_weights"] += 1
|
| 70 |
+
report["fp16_elements"] += int(values.size)
|
| 71 |
+
nodes = list(casts)
|
| 72 |
+
for node in graph.node:
|
| 73 |
+
nodes.append(node)
|
| 74 |
+
if node.name in gather_casts:
|
| 75 |
+
nodes.append(gather_casts[node.name])
|
| 76 |
+
del graph.node[:]
|
| 77 |
+
graph.node.extend(nodes)
|
| 78 |
+
del graph.value_info[:]
|
| 79 |
+
data = target.with_suffix(".data")
|
| 80 |
+
if data.exists():
|
| 81 |
+
data.unlink()
|
| 82 |
+
onnx.save_model(model, str(target), save_as_external_data=True, all_tensors_to_one_file=True,
|
| 83 |
+
location=data.name, size_threshold=1024, convert_attribute=False)
|
| 84 |
+
onnx.checker.check_model(str(target))
|
| 85 |
+
stored_types = Counter(TensorProto.DataType.Name(t.data_type)
|
| 86 |
+
for t in onnx.load(str(target), load_external_data=False).graph.initializer)
|
| 87 |
+
return dict(report, initializer_types=dict(stored_types),
|
| 88 |
+
graph_bytes=target.stat().st_size, data_bytes=data.stat().st_size)
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
def main():
|
| 92 |
+
parser = argparse.ArgumentParser()
|
| 93 |
+
parser.add_argument("source", type=Path)
|
| 94 |
+
parser.add_argument("target", type=Path)
|
| 95 |
+
args = parser.parse_args()
|
| 96 |
+
(args.target / "onnx").mkdir(parents=True, exist_ok=True)
|
| 97 |
+
reports = {}
|
| 98 |
+
for role in GRAPHS:
|
| 99 |
+
reports[role] = convert(args.source / "onnx" / f"{role}.onnx", args.target / "onnx" / f"{role}.onnx")
|
| 100 |
+
print(role, json.dumps(reports[role]), flush=True)
|
| 101 |
+
(args.target / "conversion-report.json").write_text(json.dumps(reports, indent=2) + "\n")
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
if __name__ == "__main__":
|
| 105 |
+
sys.exit(main())
|
provenance/decision-metrics.mjs
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Scoring for decision answers in the d1 answer shape ({ type, choice,
|
| 2 |
+
// probabilities } / { type, noul } / { type, score, probabilities }) against
|
| 3 |
+
// the balanced-V3 test labels. Used by the CPU parity check and the hardware
|
| 4 |
+
// eval so both report the same numbers as the d1 model card.
|
| 5 |
+
|
| 6 |
+
export function questionsOf(request) {
|
| 7 |
+
return Object.fromEntries(request.questions.map(entry => [entry.id, entry.question]));
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
function optionProbabilities(answer, question) {
|
| 11 |
+
if (question.type === 'noul') return { yes: answer.noul, no: 1 - answer.noul };
|
| 12 |
+
return answer.probabilities || {};
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
export function predicted(answer, question) {
|
| 16 |
+
if (question.type === 'noul') return answer.noul >= 0.5 ? 'yes' : 'no';
|
| 17 |
+
if (question.type === 'choice') return answer.choice;
|
| 18 |
+
return String(Math.round(answer.score));
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
export function scoreAnswers(requests, answersById) {
|
| 22 |
+
const totals = { categorical: 0, correct: 0, completionPositives: 0, completionNegatives: 0, tp: 0, fp: 0, unknownTotal: 0, unknownCorrect: 0, scoreCount: 0, scoreAbsError: 0, truthProbability: 0, labelled: 0, missing: 0 };
|
| 23 |
+
const byType = {};
|
| 24 |
+
for (const request of requests) {
|
| 25 |
+
for (const entry of request.questions) {
|
| 26 |
+
const answer = answersById[entry.id];
|
| 27 |
+
const question = entry.question;
|
| 28 |
+
if (!answer) { totals.missing += 1; continue; }
|
| 29 |
+
totals.labelled += 1;
|
| 30 |
+
const label = entry.label;
|
| 31 |
+
const type = byType[question.type] ||= { total: 0, correct: 0 };
|
| 32 |
+
type.total += 1;
|
| 33 |
+
const probabilities = optionProbabilities(answer, question);
|
| 34 |
+
if (question.type === 'score') {
|
| 35 |
+
totals.scoreCount += 1;
|
| 36 |
+
totals.scoreAbsError += Math.abs(answer.score - label.expected_level);
|
| 37 |
+
totals.truthProbability += Number(probabilities[String(label.selected_index)] ?? 0);
|
| 38 |
+
if (Math.round(answer.score) === label.expected_level) type.correct += 1;
|
| 39 |
+
continue;
|
| 40 |
+
}
|
| 41 |
+
totals.categorical += 1;
|
| 42 |
+
const guess = predicted(answer, question);
|
| 43 |
+
const right = guess === label.selected_option;
|
| 44 |
+
if (right) { totals.correct += 1; type.correct += 1; }
|
| 45 |
+
totals.truthProbability += Number(probabilities[label.selected_option] ?? 0);
|
| 46 |
+
if (entry.is_completion_claim) {
|
| 47 |
+
const positive = (entry.completion_positive_options || []).includes(label.selected_option);
|
| 48 |
+
const claimed = (entry.completion_positive_options || []).includes(guess);
|
| 49 |
+
if (positive) { totals.completionPositives += 1; if (claimed) totals.tp += 1; }
|
| 50 |
+
else { totals.completionNegatives += 1; if (claimed) totals.fp += 1; }
|
| 51 |
+
const unknown = entry.uncertainty_metadata?.unknown_option;
|
| 52 |
+
if (unknown && label.selected_option === unknown) { totals.unknownTotal += 1; if (right) totals.unknownCorrect += 1; }
|
| 53 |
+
}
|
| 54 |
+
}
|
| 55 |
+
}
|
| 56 |
+
return {
|
| 57 |
+
categorical: `${totals.correct}/${totals.categorical}`,
|
| 58 |
+
categoricalAccuracy: totals.categorical ? totals.correct / totals.categorical : null,
|
| 59 |
+
completion: { tp: totals.tp, positives: totals.completionPositives, fp: totals.fp, negatives: totals.completionNegatives,
|
| 60 |
+
precision: totals.tp + totals.fp ? totals.tp / (totals.tp + totals.fp) : null,
|
| 61 |
+
recall: totals.completionPositives ? totals.tp / totals.completionPositives : null },
|
| 62 |
+
unknown: `${totals.unknownCorrect}/${totals.unknownTotal}`,
|
| 63 |
+
scoreMae: totals.scoreCount ? totals.scoreAbsError / totals.scoreCount : null,
|
| 64 |
+
meanTruthProbability: totals.labelled ? totals.truthProbability / totals.labelled : null,
|
| 65 |
+
byType,
|
| 66 |
+
missing: totals.missing,
|
| 67 |
+
};
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
// Largest per-option probability difference and decision agreement between two
|
| 71 |
+
// answer sets for the same questions.
|
| 72 |
+
export function compareAnswers(requests, left, right) {
|
| 73 |
+
let maxProbability = 0, maxScore = 0, agree = 0, total = 0, worst = null;
|
| 74 |
+
for (const request of requests) {
|
| 75 |
+
for (const entry of request.questions) {
|
| 76 |
+
const a = left[entry.id], b = right[entry.id];
|
| 77 |
+
if (!a || !b) continue;
|
| 78 |
+
total += 1;
|
| 79 |
+
const pa = optionProbabilities(a, entry.question), pb = optionProbabilities(b, entry.question);
|
| 80 |
+
for (const key of Object.keys(pa)) {
|
| 81 |
+
const difference = Math.abs(Number(pa[key]) - Number(pb[key]));
|
| 82 |
+
if (difference > maxProbability) { maxProbability = difference; worst = entry.id; }
|
| 83 |
+
}
|
| 84 |
+
if (entry.question.type === 'score') maxScore = Math.max(maxScore, Math.abs(a.score - b.score));
|
| 85 |
+
if (predicted(a, entry.question) === predicted(b, entry.question)) agree += 1;
|
| 86 |
+
}
|
| 87 |
+
}
|
| 88 |
+
return { questions: total, decisionAgreement: `${agree}/${total}`, maxProbabilityDifference: maxProbability, maxExpectedScoreDifference: maxScore, worstQuestion: worst };
|
| 89 |
+
}
|
provenance/parity-cpu.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"startedAt": "2026-10-17T16:10:58.602Z",
|
| 3 |
+
"requests": 72,
|
| 4 |
+
"packages": {
|
| 5 |
+
"left": {
|
| 6 |
+
"dir": "/tmp/claude-0/-home-claude/90a37dde-3bb4-5598-a15b-321beb1e27f7/scratchpad/d1pkg/fp32",
|
| 7 |
+
"seconds": 1292.726,
|
| 8 |
+
"categorical": "92/126",
|
| 9 |
+
"categoricalAccuracy": 0.7301587301587301,
|
| 10 |
+
"completion": {
|
| 11 |
+
"tp": 22,
|
| 12 |
+
"positives": 24,
|
| 13 |
+
"fp": 1,
|
| 14 |
+
"negatives": 48,
|
| 15 |
+
"precision": 0.9565217391304348,
|
| 16 |
+
"recall": 0.9166666666666666
|
| 17 |
+
},
|
| 18 |
+
"unknown": "23/24",
|
| 19 |
+
"scoreMae": 0.5742397139717748,
|
| 20 |
+
"meanTruthProbability": 0.6952328595141978,
|
| 21 |
+
"byType": {
|
| 22 |
+
"choice": {
|
| 23 |
+
"total": 108,
|
| 24 |
+
"correct": 79
|
| 25 |
+
},
|
| 26 |
+
"noul": {
|
| 27 |
+
"total": 18,
|
| 28 |
+
"correct": 13
|
| 29 |
+
},
|
| 30 |
+
"score": {
|
| 31 |
+
"total": 18,
|
| 32 |
+
"correct": 10
|
| 33 |
+
}
|
| 34 |
+
},
|
| 35 |
+
"missing": 0
|
| 36 |
+
},
|
| 37 |
+
"right": {
|
| 38 |
+
"dir": "/tmp/claude-0/-home-claude/90a37dde-3bb4-5598-a15b-321beb1e27f7/scratchpad/d1pkg/fp16",
|
| 39 |
+
"seconds": 1249.803,
|
| 40 |
+
"categorical": "92/126",
|
| 41 |
+
"categoricalAccuracy": 0.7301587301587301,
|
| 42 |
+
"completion": {
|
| 43 |
+
"tp": 22,
|
| 44 |
+
"positives": 24,
|
| 45 |
+
"fp": 1,
|
| 46 |
+
"negatives": 48,
|
| 47 |
+
"precision": 0.9565217391304348,
|
| 48 |
+
"recall": 0.9166666666666666
|
| 49 |
+
},
|
| 50 |
+
"unknown": "23/24",
|
| 51 |
+
"scoreMae": 0.5727678203696358,
|
| 52 |
+
"meanTruthProbability": 0.6951776640168207,
|
| 53 |
+
"byType": {
|
| 54 |
+
"choice": {
|
| 55 |
+
"total": 108,
|
| 56 |
+
"correct": 79
|
| 57 |
+
},
|
| 58 |
+
"noul": {
|
| 59 |
+
"total": 18,
|
| 60 |
+
"correct": 13
|
| 61 |
+
},
|
| 62 |
+
"score": {
|
| 63 |
+
"total": 18,
|
| 64 |
+
"correct": 10
|
| 65 |
+
}
|
| 66 |
+
},
|
| 67 |
+
"missing": 0
|
| 68 |
+
}
|
| 69 |
+
},
|
| 70 |
+
"comparison": {
|
| 71 |
+
"questions": 144,
|
| 72 |
+
"decisionAgreement": "144/144",
|
| 73 |
+
"maxProbabilityDifference": 0.010175764560699463,
|
| 74 |
+
"maxExpectedScoreDifference": 0.017800092697143555,
|
| 75 |
+
"worstQuestion": "final_test-compliance_notice-desktop-completed/auxiliary"
|
| 76 |
+
}
|
| 77 |
+
}
|
provenance/parity-cpu.mjs
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// CPU parity for two d1 packages through the extension's own runtime
|
| 2 |
+
// (src/chrome/src/providers/d1-runtime.js, CPU tensor path) and preprocessing,
|
| 3 |
+
// with onnxruntime-node. Runs the balanced-V3 final test (72 screenshots, 144
|
| 4 |
+
// questions), scores both packages against the labels and reports the largest
|
| 5 |
+
// per-option probability difference between them.
|
| 6 |
+
//
|
| 7 |
+
// npm install --no-save onnxruntime-node@1.24.1 pngjs@7.0.0 (outside the repo is fine)
|
| 8 |
+
// node scripts/models/d1/parity-cpu.mjs --left <fp32-package> --right <fp16-package> \
|
| 9 |
+
// --test <final_test.json> --images <images dir> --modules <dir with node_modules> --output parity.json
|
| 10 |
+
import fs from 'node:fs/promises';
|
| 11 |
+
import path from 'node:path';
|
| 12 |
+
import { createRequire } from 'node:module';
|
| 13 |
+
import { fileURLToPath } from 'node:url';
|
| 14 |
+
import { scoreAnswers, compareAnswers, questionsOf } from './decision-metrics.mjs';
|
| 15 |
+
|
| 16 |
+
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../..');
|
| 17 |
+
const args = process.argv.slice(2);
|
| 18 |
+
const option = (name, fallback) => { const i = args.indexOf(name); return i < 0 ? fallback : args[i + 1]; };
|
| 19 |
+
const require = createRequire(path.join(path.resolve(option('--modules', '.')), 'node_modules', 'x.js'));
|
| 20 |
+
const ort = require('onnxruntime-node');
|
| 21 |
+
const { PNG } = require('pngjs');
|
| 22 |
+
|
| 23 |
+
// The preprocessing decodes screenshots with browser APIs; give it the same
|
| 24 |
+
// RGBA pixels from a PNG decoder.
|
| 25 |
+
globalThis.createImageBitmap = async blob => {
|
| 26 |
+
const png = PNG.sync.read(Buffer.from(await blob.arrayBuffer()));
|
| 27 |
+
return { width: png.width, height: png.height, data: png.data, close() {} };
|
| 28 |
+
};
|
| 29 |
+
globalThis.OffscreenCanvas = class {
|
| 30 |
+
getContext() {
|
| 31 |
+
let bitmap;
|
| 32 |
+
return { drawImage: image => { bitmap = image; }, getImageData: () => ({ data: bitmap.data }) };
|
| 33 |
+
}
|
| 34 |
+
};
|
| 35 |
+
|
| 36 |
+
const { createD1Runtime } = await import(path.join(root, 'src/chrome/src/providers/d1-runtime.js'));
|
| 37 |
+
const { PreTrainedTokenizer } = await import(path.join(root, 'src/chrome/vendor/d1/transformers.web.js'));
|
| 38 |
+
|
| 39 |
+
async function load(dir) {
|
| 40 |
+
const json = async name => JSON.parse(await fs.readFile(path.join(dir, name), 'utf8'));
|
| 41 |
+
const tokenizer = new PreTrainedTokenizer(await json('tokenizer.json'), await json('tokenizer_config.json'));
|
| 42 |
+
const sessions = {};
|
| 43 |
+
for (const role of ['decision', 'vision', 'projector']) {
|
| 44 |
+
sessions[role] = await ort.InferenceSession.create(path.join(dir, 'onnx', `${role}.onnx`), { graphOptimizationLevel: 'basic', intraOpNumThreads: Number(option('--threads', 8)) });
|
| 45 |
+
}
|
| 46 |
+
return createD1Runtime({ ort, tokenizer, config: await json('config.json'), ratios: await json('tiling-ratios.json'), sessions, model: dir });
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
const test = JSON.parse(await fs.readFile(option('--test'), 'utf8'));
|
| 50 |
+
const limit = Number(option('--limit', test.requests.length));
|
| 51 |
+
const requests = test.requests.slice(0, limit);
|
| 52 |
+
const images = option('--images');
|
| 53 |
+
const result = { startedAt: new Date().toISOString(), requests: requests.length, packages: {} };
|
| 54 |
+
const answers = {};
|
| 55 |
+
for (const [label, dir] of [['left', option('--left')], ['right', option('--right')]]) {
|
| 56 |
+
const runtime = await load(path.resolve(dir));
|
| 57 |
+
answers[label] = {};
|
| 58 |
+
const started = Date.now();
|
| 59 |
+
for (const request of requests) {
|
| 60 |
+
const urls = [];
|
| 61 |
+
for (const image of request.images) {
|
| 62 |
+
const bytes = await fs.readFile(path.join(images, path.basename(image)));
|
| 63 |
+
urls.push(`data:image/png;base64,${bytes.toString('base64')}`);
|
| 64 |
+
}
|
| 65 |
+
const output = await runtime.evaluate({ state: request.state, images: urls, questions: questionsOf(request) });
|
| 66 |
+
Object.assign(answers[label], output.answers);
|
| 67 |
+
}
|
| 68 |
+
await runtime.dispose();
|
| 69 |
+
result.packages[label] = { dir, seconds: (Date.now() - started) / 1000, ...scoreAnswers(requests, answers[label]) };
|
| 70 |
+
console.log(label, JSON.stringify(result.packages[label]));
|
| 71 |
+
}
|
| 72 |
+
result.comparison = compareAnswers(requests, answers.left, answers.right);
|
| 73 |
+
result.answers = answers;
|
| 74 |
+
console.log(JSON.stringify(result.comparison));
|
| 75 |
+
await fs.writeFile(option('--output', 'parity.json'), JSON.stringify(result, null, 2));
|
provenance/source-package.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_id": "webbrain-one/d1-browser-decision-fp32",
|
| 3 |
+
"revision": "71866f0ccab0b9fa92c6df64d1c34eacf2a7b2b8",
|
| 4 |
+
"package_manifest_sha256": "47b3a9efa02ce2cacf6da8c19607cc1179a8a2b7a339aebf3db05f2237151dbb",
|
| 5 |
+
"graphs_from": [
|
| 6 |
+
"onnx/decision.onnx",
|
| 7 |
+
"onnx/vision.onnx",
|
| 8 |
+
"onnx/projector.onnx"
|
| 9 |
+
]
|
| 10 |
+
}
|
runtime/d1-preprocess.js
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export const f32=Math.fround;
|
| 2 |
+
export function pyJSON(value) {
|
| 3 |
+
if(Array.isArray(value)) return '['+value.map(pyJSON).join(', ')+']';
|
| 4 |
+
if(value!==null && typeof value==='object') return '{'+Object.entries(value).map(([k,v])=>JSON.stringify(k)+': '+pyJSON(v)).join(', ')+'}';
|
| 5 |
+
if(typeof value==='number') {
|
| 6 |
+
if(!Number.isFinite(value)) throw new Error('D1 JSON numbers must be finite');
|
| 7 |
+
if(!Number.isInteger(value)&&Math.abs(value)<1e-4) return value.toExponential().replace(/e([+-])(\d+)$/,(all,sign,digits)=>'e'+sign+digits.padStart(2,'0'));
|
| 8 |
+
}
|
| 9 |
+
return JSON.stringify(value);
|
| 10 |
+
}
|
| 11 |
+
export function roundEven(x) {
|
| 12 |
+
const n=Math.floor(x),r=x-n;
|
| 13 |
+
return r===0.5 ? n+(n%2) : Math.round(x);
|
| 14 |
+
}
|
| 15 |
+
const escape=s=>s.replace(/<\|([A-Za-z0-9_]+)\|>/g,'<\u00a6$1\u00a6>');
|
| 16 |
+
const criterion=v=>typeof v==='string'?v:pyJSON(v);
|
| 17 |
+
export function renderOptions(q,image=false) {
|
| 18 |
+
if(q.type==='choice') return Object.entries(q.criteria).map(([k,v])=>v==null||v===''?k:`${k}: ${criterion(v)}`);
|
| 19 |
+
if(q.type==='score') return q.criteria.map((c,i)=>`level ${i}: ${criterion(c)}`);
|
| 20 |
+
const c=q.criteria&&Object.keys(q.criteria).length?q.criteria:(image?{false:'no',true:'yes'}:{});
|
| 21 |
+
const no=Object.hasOwn(c,'false')?c.false:c.no,yes=Object.hasOwn(c,'true')?c.true:c.yes;
|
| 22 |
+
return ['false: '+(no!=null&&no!==''?criterion(no):'no, the statement does not hold'),'true: '+(yes!=null&&yes!==''?criterion(yes):'yes, the statement holds')];
|
| 23 |
+
}
|
| 24 |
+
export function encode(tokenizer,state,q,maxLen,image=false) {
|
| 25 |
+
if(!['choice','noul','score'].includes(q.type)||typeof q.instructions!=='string')throw new Error('Invalid question type or instructions');
|
| 26 |
+
if(q.type==='choice'&&(!q.criteria||Array.isArray(q.criteria)||Object.keys(q.criteria).length<2))throw new Error('A choice requires at least two named criteria');
|
| 27 |
+
if(q.type==='score'&&(!Array.isArray(q.criteria)||q.criteria.length<2||q.criteria.length>10))throw new Error('A score requires 2 to 10 levels');
|
| 28 |
+
if(q.type==='noul'&&q.criteria!=null&&(Array.isArray(q.criteria)||typeof q.criteria!=='object'))throw new Error('noul criteria must be an object');
|
| 29 |
+
const id=s=>tokenizer.convert_tokens_to_ids(s);
|
| 30 |
+
const enc=s=>Array.from(tokenizer.encode(escape(s),{add_special_tokens:false}));
|
| 31 |
+
const options=renderOptions(q,image);
|
| 32 |
+
const budget=Math.max(96,Math.min(options.length*24+32,Math.floor(maxLen/2)));
|
| 33 |
+
const per=Math.max(2,Math.floor((budget-3*options.length)/options.length));
|
| 34 |
+
const question=[id('<|reserved_8|>'),...enc(q.instructions)].slice(0,Math.max(16,budget));
|
| 35 |
+
const markers=[];
|
| 36 |
+
for(const option of options) {
|
| 37 |
+
markers.push(question.length+1);
|
| 38 |
+
question.push(id('<|reserved_9|>'),id('<|mask|>'),...enc(' '+option).slice(0,per),id('<|reserved_10|>'));
|
| 39 |
+
}
|
| 40 |
+
question.push(id('<|reserved_11|>'));
|
| 41 |
+
const room=Math.max(0,maxLen-question.length-2);
|
| 42 |
+
const stateIds=[id('<|reserved_7|>'),...enc(typeof state==='string'?state:pyJSON(state)).slice(0,room)];
|
| 43 |
+
const ids=[tokenizer.bos_token_id,...stateIds,...question].slice(0,maxLen);
|
| 44 |
+
const positions=markers.map(m=>m+1+stateIds.length);
|
| 45 |
+
if(positions.at(-1)>=maxLen) throw new Error('Options do not fit in context');
|
| 46 |
+
return {input_ids:ids,markers:positions};
|
| 47 |
+
}
|
| 48 |
+
export function temperature(q,config,image=false) {
|
| 49 |
+
if(image) return 1;
|
| 50 |
+
const n=q.type==='noul'?2:Object.keys(q.criteria).length;
|
| 51 |
+
const key=q.type+':'+(n<=2?'2':n<=5?'3-5':n<=10?'6-10':'11+');
|
| 52 |
+
return config.temperatures[key] ?? config.temperatures[q.type] ?? 1;
|
| 53 |
+
}
|
| 54 |
+
export function layout(width,height,ratios) {
|
| 55 |
+
if(Math.min(width,height)<1) throw new Error('Empty image');
|
| 56 |
+
let h=Math.max(32,roundEven(height/32)*32),w=Math.max(32,roundEven(width/32)*32);
|
| 57 |
+
if(h*w>262144) {const beta=Math.sqrt(height*width/262144);h=Math.max(32,Math.floor(height/beta/32)*32);w=Math.max(32,Math.floor(width/beta/32)*32);}
|
| 58 |
+
else if(h*w<65536) {const beta=Math.sqrt(65536/(height*width));h=Math.ceil(height*beta/32)*32;w=Math.ceil(width*beta/32)*32;}
|
| 59 |
+
const tiled=Math.max(16,roundEven(height/32)*32)*Math.max(16,roundEven(width/32)*32)>524288;
|
| 60 |
+
let grid=[1,1];
|
| 61 |
+
if(tiled) {let best=Infinity;for(const r of ratios) {const diff=Math.abs(width/height-r[0]/r[1]);if(diff<best || (diff===best && width*height>0.5*512*512*r[0]*r[1])) {grid=r;best=diff;}}}
|
| 62 |
+
return {grid,thumbnail:[h,w],tiled};
|
| 63 |
+
}
|
| 64 |
+
function resizeWeights(input,output) {
|
| 65 |
+
const scale=input/output,support=Math.max(1,scale),rows=[];
|
| 66 |
+
let largest=0;
|
| 67 |
+
for(let i=0;i<output;i++) {
|
| 68 |
+
const center=scale*(i+0.5);
|
| 69 |
+
const start=Math.max(0,Math.trunc(center-support+0.5));
|
| 70 |
+
const end=Math.min(input,Math.trunc(center+support+0.5));
|
| 71 |
+
let weights=Array.from({length:end-start},(_,j)=>Math.max(0,1-Math.abs((j+start-center+0.5)/support)));
|
| 72 |
+
const total=weights.reduce((a,b)=>a+b,0);
|
| 73 |
+
weights=weights.map(w=>w/total);
|
| 74 |
+
largest=Math.max(largest,...weights);
|
| 75 |
+
rows.push({start,weights});
|
| 76 |
+
}
|
| 77 |
+
let precision=0;
|
| 78 |
+
for(;precision<22;precision++) if(Math.trunc(0.5+largest*2**(precision+1))>=32768) break;
|
| 79 |
+
const unit=2**precision;
|
| 80 |
+
for(const row of rows) row.weights=row.weights.map(w=>Math.trunc(0.5+w*unit));
|
| 81 |
+
return {rows,unit};
|
| 82 |
+
}
|
| 83 |
+
// Torch's uint8 antialias path rounds fixed-point horizontal and vertical passes.
|
| 84 |
+
export function resizeRGB(rgb,width,height,newWidth,newHeight) {
|
| 85 |
+
let temp=rgb;
|
| 86 |
+
if(width!==newWidth) {
|
| 87 |
+
const {rows,unit}=resizeWeights(width,newWidth);
|
| 88 |
+
temp=new Uint8Array(newWidth*height*3);
|
| 89 |
+
for(let y=0;y<height;y++) for(let x=0;x<newWidth;x++) for(let c=0;c<3;c++) {
|
| 90 |
+
const row=rows[x];let sum=unit/2;
|
| 91 |
+
for(let j=0;j<row.weights.length;j++) sum+=rgb[(y*width+row.start+j)*3+c]*row.weights[j];
|
| 92 |
+
temp[(y*newWidth+x)*3+c]=Math.max(0,Math.min(255,Math.floor(sum/unit)));
|
| 93 |
+
}
|
| 94 |
+
}
|
| 95 |
+
if(height===newHeight) return temp;
|
| 96 |
+
const {rows,unit}=resizeWeights(height,newHeight),out=new Uint8Array(newWidth*newHeight*3);
|
| 97 |
+
for(let y=0;y<newHeight;y++) for(let x=0;x<newWidth;x++) for(let c=0;c<3;c++) {
|
| 98 |
+
const row=rows[y];let sum=unit/2;
|
| 99 |
+
for(let j=0;j<row.weights.length;j++) sum+=temp[((row.start+j)*newWidth+x)*3+c]*row.weights[j];
|
| 100 |
+
out[(y*newWidth+x)*3+c]=Math.max(0,Math.min(255,Math.floor(sum/unit)));
|
| 101 |
+
}
|
| 102 |
+
return out;
|
| 103 |
+
}
|
| 104 |
+
export async function imageInputs(url,ratios) {
|
| 105 |
+
const blob=await (await fetch(url)).blob(),bitmap=await createImageBitmap(blob,{colorSpaceConversion:'none'});
|
| 106 |
+
const {width,height}=bitmap;
|
| 107 |
+
const canvas=new OffscreenCanvas(width,height),ctx=canvas.getContext('2d',{willReadFrequently:true});
|
| 108 |
+
ctx.drawImage(bitmap,0,0);
|
| 109 |
+
const rgba=ctx.getImageData(0,0,width,height).data,rgb=new Uint8Array(width*height*3);
|
| 110 |
+
for(let i=0;i<width*height;i++) rgb.set(rgba.subarray(i*4,i*4+3),i*3);
|
| 111 |
+
bitmap.close();
|
| 112 |
+
const plan=layout(width,height,ratios),crops=[];
|
| 113 |
+
if(plan.tiled) {
|
| 114 |
+
const [gw,gh]=plan.grid,big=resizeRGB(rgb,width,height,gw*512,gh*512);
|
| 115 |
+
for(let r=0;r<gh;r++) for(let c=0;c<gw;c++) {
|
| 116 |
+
const pixels=new Uint8Array(512*512*3);
|
| 117 |
+
for(let y=0;y<512;y++) pixels.set(big.subarray(((r*512+y)*gw*512+c*512)*3,((r*512+y)*gw*512+c*512+512)*3),y*512*3);
|
| 118 |
+
crops.push({rgb:pixels,h:512,w:512});
|
| 119 |
+
}
|
| 120 |
+
}
|
| 121 |
+
const [h,w]=plan.thumbnail;
|
| 122 |
+
crops.push({rgb:resizeRGB(rgb,width,height,w,h),h,w});
|
| 123 |
+
const pixels=new Float32Array(crops.length*1024*768),mask=new Int32Array(crops.length*1024),shapes=[];
|
| 124 |
+
crops.forEach((crop,i)=>{
|
| 125 |
+
const ph=crop.h/16,pw=crop.w/16;
|
| 126 |
+
shapes.push([ph,pw]);mask.fill(1,i*1024,i*1024+ph*pw);
|
| 127 |
+
for(let r=0;r<ph;r++) for(let c=0;c<pw;c++) for(let y=0;y<16;y++) for(let x=0;x<16;x++) for(let ch=0;ch<3;ch++) {
|
| 128 |
+
const v=crop.rgb[((r*16+y)*crop.w+c*16+x)*3+ch];
|
| 129 |
+
pixels[(i*1024+r*pw+c)*768+(y*16+x)*3+ch]=f32(f32(v-127.5)/127.5);
|
| 130 |
+
}
|
| 131 |
+
});
|
| 132 |
+
return {plan,pixels,mask,shapes};
|
| 133 |
+
}
|
| 134 |
+
export function positionMatrix(h,w) {
|
| 135 |
+
const matrix=new Float32Array(1024*256);
|
| 136 |
+
const weights=(input,output)=>Array.from({length:output},(_,i)=>{
|
| 137 |
+
const scale=f32(input/output),support=Math.max(1,scale),center=f32(scale*f32(i+0.5));
|
| 138 |
+
const start=Math.max(0,Math.trunc(f32(f32(center-support)+0.5))),end=Math.min(input,Math.trunc(f32(f32(center+support)+0.5)));
|
| 139 |
+
const inv=scale>=1?f32(1/scale):1;
|
| 140 |
+
const a=[];let sum=0;
|
| 141 |
+
for(let j=start;j<end;j++){const v=f32(Math.max(0,f32(1-Math.abs(f32(f32(f32(j-center)+0.5)*inv)))));a.push([j,v]);sum=f32(sum+v);}
|
| 142 |
+
return a.map(([j,v])=>[j,f32(v/sum)]);
|
| 143 |
+
});
|
| 144 |
+
const wy=weights(16,h),wx=weights(16,w);
|
| 145 |
+
for(let y=0;y<h;y++) for(let x=0;x<w;x++) {
|
| 146 |
+
const row=(y*w+x)*256;
|
| 147 |
+
for(const [iy,vy] of wy[y]) for(const [ix,vx] of wx[x]) matrix[row+iy*16+ix]=f32(vy*vx);
|
| 148 |
+
}
|
| 149 |
+
for(let i=h*w;i<1024;i++) matrix.set(matrix.subarray(0,256),i*256);
|
| 150 |
+
return matrix;
|
| 151 |
+
}
|
| 152 |
+
const bits=new DataView(new ArrayBuffer(4));
|
| 153 |
+
export function toHalf(v) {
|
| 154 |
+
bits.setFloat32(0,v,true);const x=bits.getUint32(0,true),sign=(x>>>16)&0x8000,exponent=(x>>>23)&255,mantissa=x&0x7fffff;
|
| 155 |
+
if(exponent===255) return sign|0x7c00|(mantissa?0x200:0);
|
| 156 |
+
const e=exponent-127;
|
| 157 |
+
if(e>15) return sign|0x7c00;
|
| 158 |
+
if(e < -25) return sign;
|
| 159 |
+
const shift=e < -14 ? -e-1 : 13;
|
| 160 |
+
const m=e < -14 ? mantissa|0x800000 : mantissa;
|
| 161 |
+
const base=m>>>shift,rem=m&(2**shift-1),half=2**(shift-1);
|
| 162 |
+
const rounded=base+(rem>half || (rem===half && (base&1))?1:0);
|
| 163 |
+
return sign | (e < -14 ? rounded : ((e+15)<<10)+rounded);
|
| 164 |
+
}
|
| 165 |
+
export function fromHalf(x) {
|
| 166 |
+
const sign=x&0x8000?-1:1,e=(x>>10)&31,m=x&1023;
|
| 167 |
+
return e===0?sign*m*2**-24:e===31?(m?NaN:sign*Infinity):sign*(1+m/1024)*2**(e-15);
|
| 168 |
+
}
|
| 169 |
+
export const halfArray=a=>Uint16Array.from(a,toHalf);
|
runtime/d1-runtime.js
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { encode, temperature, imageInputs, positionMatrix, pyJSON } from './d1-preprocess.js';
|
| 2 |
+
|
| 3 |
+
export const D1_PROVIDER = 'webgpu_d1';
|
| 4 |
+
const record = value => value && typeof value === 'object' && !Array.isArray(value);
|
| 5 |
+
const checkAbort = signal => { if (signal?.aborted) throw signal.reason || new Error('D1 request cancelled.'); };
|
| 6 |
+
const dispose = values => { for (const value of Object.values(values || {})) value.dispose?.(); };
|
| 7 |
+
|
| 8 |
+
// Media blocks are data, never fetched from a page-chosen network URL.
|
| 9 |
+
export function splitD1State(state, images = []) {
|
| 10 |
+
const media = [...images];
|
| 11 |
+
let text = state == null ? '' : state;
|
| 12 |
+
if (Array.isArray(state)) {
|
| 13 |
+
text = state.filter(part => {
|
| 14 |
+
if (part?.type !== 'image_url') return true;
|
| 15 |
+
media.push(part.image_url?.url); return false;
|
| 16 |
+
});
|
| 17 |
+
if (!text.length) text = '';
|
| 18 |
+
}
|
| 19 |
+
if (media.length > 4 || media.some(url => typeof url !== 'string' || !/^data:image\/(png|jpeg|webp);base64,[A-Za-z0-9+/=]+$/.test(url))) {
|
| 20 |
+
throw new Error('D1 accepts at most four inline PNG/JPEG/WebP screenshots; remote image URLs are not allowed.');
|
| 21 |
+
}
|
| 22 |
+
if (new TextEncoder().encode(JSON.stringify([text, media])).length > 8 * 1024 * 1024) throw new Error('D1 input exceeds 8 MiB.');
|
| 23 |
+
return { state: text, images: media };
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
export function d1Answers(questions, probabilities, width) {
|
| 27 |
+
const answers = Object.create(null);
|
| 28 |
+
const entries = Array.isArray(questions) ? questions : Object.entries(questions);
|
| 29 |
+
entries.forEach(([id, question], row) => {
|
| 30 |
+
const names = question.type === 'noul' ? ['no', 'yes'] : question.type === 'score' ? question.criteria.map((_, i) => String(i)) : Object.keys(question.criteria);
|
| 31 |
+
const values = Array.from(probabilities.slice(row * width, row * width + names.length), Number);
|
| 32 |
+
if (values.length !== names.length || values.some(value => !Number.isFinite(value) || value < 0 || value > 1) || Math.abs(values.reduce((a, b) => a + b, 0) - 1) > .001) throw new Error('Invalid D1 probability output.');
|
| 33 |
+
const selected = values.indexOf(Math.max(...values));
|
| 34 |
+
if (question.type === 'noul') answers[id] = { type: 'noul', noul: values[1] };
|
| 35 |
+
else {
|
| 36 |
+
const common = { type: question.type, confidence: values[selected], probabilities: Object.fromEntries(names.map((name, i) => [name, values[i]])) };
|
| 37 |
+
answers[id] = question.type === 'choice' ? { ...common, choice: names[selected] } : { ...common, score: values.reduce((sum, p, i) => sum + p * i, 0), legend: Object.fromEntries(names.map((name, i) => [name, typeof question.criteria[i] === 'string' ? question.criteria[i] : pyJSON(question.criteria[i])])) };
|
| 38 |
+
}
|
| 39 |
+
});
|
| 40 |
+
return answers;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
// The encoder's six full-attention layers are dense: each one materializes a
|
| 44 |
+
// heads × length × length FP32 score tensor per row (plus elementwise copies
|
| 45 |
+
// of it), so memory grows with the square of the row length, not with the
|
| 46 |
+
// token count. Batches are bounded by that tensor, and text-only rows are
|
| 47 |
+
// capped on WebGPU; the source truncates the state, never the question, when
|
| 48 |
+
// a row is over the cap.
|
| 49 |
+
export const D1_ATTENTION_HEADS = 16;
|
| 50 |
+
export const D1_ATTENTION_BUDGET_BYTES = 256 * 1024 * 1024;
|
| 51 |
+
export const D1_WEBGPU_MAX_TEXT_TOKENS = 2048;
|
| 52 |
+
export const d1AttentionBytes = (rows, length) => rows * D1_ATTENTION_HEADS * length * length * 4;
|
| 53 |
+
|
| 54 |
+
export function d1RowBatches(rows, mediaLength, { maxTokens = 65536, budgetBytes = D1_ATTENTION_BUDGET_BYTES } = {}) {
|
| 55 |
+
const order = rows.map((_, i) => i).sort((a, b) => rows[b].input_ids.length - rows[a].input_ids.length), batches = [];
|
| 56 |
+
while (order.length) {
|
| 57 |
+
const longest = rows[order[0]].input_ids.length + mediaLength;
|
| 58 |
+
let size = 1;
|
| 59 |
+
while (size < order.length && (size + 1) * longest <= maxTokens && d1AttentionBytes(size + 1, longest) <= budgetBytes) size++;
|
| 60 |
+
batches.push(order.splice(0, size));
|
| 61 |
+
}
|
| 62 |
+
return batches;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
const HIDDEN = 768, PATCHES = 1024, WIDTH = 1024, FLOAT_BYTES = 4, VISION_HEADS = 12;
|
| 66 |
+
|
| 67 |
+
export function createD1Runtime({ ort, tokenizer, config, ratios, sessions, device, model, dtype = 'float32' }) {
|
| 68 |
+
if (!sessions?.decision || !sessions?.vision || !sessions?.projector) throw new Error('D1 requires all three sessions.');
|
| 69 |
+
const tensor = (type, data, shape) => new ort.Tensor(type, data, shape);
|
| 70 |
+
// One score tensor must fit a single storage binding on this adapter.
|
| 71 |
+
const rowLimit = Number(device?.limits?.maxStorageBufferBindingSize) || Infinity;
|
| 72 |
+
const budgetBytes = Math.min(D1_ATTENTION_BUDGET_BYTES, rowLimit);
|
| 73 |
+
const usage = globalThis.GPUBufferUsage ? GPUBufferUsage.STORAGE | GPUBufferUsage.COPY_SRC | GPUBufferUsage.COPY_DST : 0;
|
| 74 |
+
const gpuTensor = (bytes, dims) => {
|
| 75 |
+
const buffer = device.createBuffer({ size: Math.max(16, Math.ceil(bytes / 16) * 16), usage });
|
| 76 |
+
return { buffer, tensor: ort.Tensor.fromGpuBuffer(buffer, { dataType: 'float32', dims, dispose: () => buffer.destroy() }) };
|
| 77 |
+
};
|
| 78 |
+
const copy = (pairs) => {
|
| 79 |
+
const encoder = device.createCommandEncoder();
|
| 80 |
+
for (const [source, sourceOffset, target, targetOffset, bytes] of pairs) encoder.copyBufferToBuffer(source, sourceOffset, target, targetOffset, bytes);
|
| 81 |
+
device.queue.submit([encoder.finish()]);
|
| 82 |
+
};
|
| 83 |
+
// Vision and projector outputs stay on the GPU when the sessions return
|
| 84 |
+
// gpu-buffer tensors: each crop is copied into the projector input and each
|
| 85 |
+
// projected chunk into every row of the decision input, without a readback.
|
| 86 |
+
async function mediaPrefix(images, signal) {
|
| 87 |
+
const chunks = [], layouts = [];
|
| 88 |
+
try {
|
| 89 |
+
for (const url of images) {
|
| 90 |
+
checkAbort(signal);
|
| 91 |
+
const image = await imageInputs(url, ratios), crops = image.shapes.length;
|
| 92 |
+
// The vision tower's attention is dense too (12 heads × 1024² per crop),
|
| 93 |
+
// so a tiled screenshot runs in crop groups that fit the same budget.
|
| 94 |
+
const group = Math.max(1, Math.floor(budgetBytes / (VISION_HEADS * PATCHES * PATCHES * FLOAT_BYTES)));
|
| 95 |
+
for (let first = 0; first < crops; first += group) {
|
| 96 |
+
const count = Math.min(group, crops - first);
|
| 97 |
+
const positions = new Float32Array(count * PATCHES * 256);
|
| 98 |
+
for (let i = 0; i < count; i++) positions.set(positionMatrix(...image.shapes[first + i]), i * PATCHES * 256);
|
| 99 |
+
const feeds = {
|
| 100 |
+
pixel_values: tensor('float32', image.pixels.slice(first * PATCHES * HIDDEN, (first + count) * PATCHES * HIDDEN), [count, PATCHES, HIDDEN]),
|
| 101 |
+
pixel_mask: tensor('bool', Uint8Array.from(image.mask.slice(first * PATCHES, (first + count) * PATCHES)), [count, PATCHES]),
|
| 102 |
+
position_matrix: tensor('float32', positions, [count, PATCHES, 256]),
|
| 103 |
+
};
|
| 104 |
+
let output;
|
| 105 |
+
try {
|
| 106 |
+
output = await sessions.vision.run(feeds); checkAbort(signal);
|
| 107 |
+
const gpu = output.hidden.location === 'gpu-buffer' && !!device;
|
| 108 |
+
const hidden = gpu ? null : await output.hidden.getData();
|
| 109 |
+
for (let crop = 0; crop < count; crop++) {
|
| 110 |
+
const [h, w] = image.shapes[first + crop], bytes = h * w * HIDDEN * FLOAT_BYTES;
|
| 111 |
+
let input, buffer, projected;
|
| 112 |
+
if (gpu) ({ tensor: input, buffer } = gpuTensor(bytes, [1, h, w, HIDDEN]));
|
| 113 |
+
else input = tensor('float32', hidden.slice(crop * PATCHES * HIDDEN, crop * PATCHES * HIDDEN + h * w * HIDDEN), [1, h, w, HIDDEN]);
|
| 114 |
+
try {
|
| 115 |
+
if (gpu) copy([[output.hidden.gpuBuffer, crop * PATCHES * HIDDEN * FLOAT_BYTES, buffer, 0, bytes]]);
|
| 116 |
+
projected = await sessions.projector.run({ hidden: input }); checkAbort(signal);
|
| 117 |
+
if (gpu && projected.prefix.location === 'gpu-buffer') { chunks.push({ tensor: projected.prefix, rows: projected.prefix.dims[1] }); projected = null; }
|
| 118 |
+
else { const data = new Float32Array(await projected.prefix.getData()); chunks.push({ data, rows: data.length / WIDTH }); }
|
| 119 |
+
} finally { input.dispose?.(); dispose(projected); }
|
| 120 |
+
}
|
| 121 |
+
} finally { dispose(feeds); dispose(output); }
|
| 122 |
+
}
|
| 123 |
+
layouts.push({ ...image.plan, shapes: image.shapes });
|
| 124 |
+
}
|
| 125 |
+
} catch (error) { for (const chunk of chunks) chunk.tensor?.dispose?.(); throw error; }
|
| 126 |
+
return { chunks, layouts, mediaLength: chunks.reduce((n, chunk) => n + chunk.rows, 0) };
|
| 127 |
+
}
|
| 128 |
+
function mediaFeed(chunks, mediaLength, batch) {
|
| 129 |
+
if (!mediaLength || !chunks.some(chunk => chunk.tensor)) {
|
| 130 |
+
const prefix = new Float32Array(mediaLength * WIDTH);
|
| 131 |
+
let offset = 0; for (const chunk of chunks) { prefix.set(chunk.data, offset); offset += chunk.data.length; }
|
| 132 |
+
const media = new Float32Array(batch * prefix.length);
|
| 133 |
+
for (let row = 0; row < batch; row++) media.set(prefix, row * prefix.length);
|
| 134 |
+
return tensor('float32', media, [batch, mediaLength, WIDTH]);
|
| 135 |
+
}
|
| 136 |
+
const rowBytes = mediaLength * WIDTH * FLOAT_BYTES, { tensor: media, buffer } = gpuTensor(batch * rowBytes, [batch, mediaLength, WIDTH]), pairs = [];
|
| 137 |
+
for (let row = 0; row < batch; row++) {
|
| 138 |
+
let offset = row * rowBytes;
|
| 139 |
+
for (const chunk of chunks) {
|
| 140 |
+
const bytes = chunk.rows * WIDTH * FLOAT_BYTES;
|
| 141 |
+
if (chunk.tensor) pairs.push([chunk.tensor.gpuBuffer, 0, buffer, offset, bytes]);
|
| 142 |
+
else device.queue.writeBuffer(buffer, offset, chunk.data);
|
| 143 |
+
offset += bytes;
|
| 144 |
+
}
|
| 145 |
+
}
|
| 146 |
+
copy(pairs);
|
| 147 |
+
return media;
|
| 148 |
+
}
|
| 149 |
+
return {
|
| 150 |
+
async evaluate({ state = '', images = [], questions, signal } = {}) {
|
| 151 |
+
checkAbort(signal);
|
| 152 |
+
if (!record(questions) || !Object.keys(questions).length || Object.keys(questions).length > 32) throw new Error('D1 requires 1 to 32 named questions.');
|
| 153 |
+
const input = splitD1State(state, images);
|
| 154 |
+
const { chunks, layouts, mediaLength } = await mediaPrefix(input.images, signal);
|
| 155 |
+
try {
|
| 156 |
+
// The longest row whose score tensor still fits one storage binding.
|
| 157 |
+
const maxRow = Math.floor(Math.sqrt(rowLimit / (D1_ATTENTION_HEADS * FLOAT_BYTES)));
|
| 158 |
+
const textCap = input.images.length ? config.image_text_length : Math.min(config.max_length, D1_WEBGPU_MAX_TEXT_TOKENS);
|
| 159 |
+
const limit = Math.min(textCap, config.max_length - mediaLength, maxRow - mediaLength);
|
| 160 |
+
if (!Number.isInteger(mediaLength) || config.max_length - mediaLength < 64) throw new Error('D1 media exceed the source context budget.');
|
| 161 |
+
if (limit < 64) throw new Error(`D1 input is too large for this GPU: ${mediaLength} screenshot positions. Send fewer or smaller screenshots.`);
|
| 162 |
+
const entries = Object.entries(questions), rows = entries.map(([, q]) => encode(tokenizer, input.state, q, limit, input.images.length > 0));
|
| 163 |
+
const longest = Math.max(...rows.map(row => row.input_ids.length)) + mediaLength;
|
| 164 |
+
if (d1AttentionBytes(1, longest) > rowLimit) throw new Error(`D1 input is too large for this GPU: ${longest} tokens including screenshots. Send fewer or smaller screenshots.`);
|
| 165 |
+
const answers = Object.create(null), batches = [];
|
| 166 |
+
for (const indices of d1RowBatches(rows, mediaLength, { budgetBytes })) {
|
| 167 |
+
const selectedRows = indices.map(i => rows[i]), selectedEntries = indices.map(i => entries[i]);
|
| 168 |
+
const batch = selectedRows.length, length = Math.max(...selectedRows.map(row => row.input_ids.length)), width = Math.max(...selectedRows.map(row => row.markers.length));
|
| 169 |
+
const ids = new BigInt64Array(batch * length), mask = new Uint8Array(batch * length), markers = new BigInt64Array(batch * width), markerMask = new Uint8Array(batch * width);
|
| 170 |
+
ids.fill(BigInt(tokenizer.pad_token_id ?? 0));
|
| 171 |
+
selectedRows.forEach((row, i) => {
|
| 172 |
+
ids.set(row.input_ids.map(BigInt), i * length); mask.fill(1, i * length, i * length + row.input_ids.length);
|
| 173 |
+
markers.set(row.markers.map(BigInt), i * width); markerMask.fill(1, i * width, i * width + row.markers.length);
|
| 174 |
+
});
|
| 175 |
+
const feeds = { input_ids: tensor('int64', ids, [batch, length]), text_mask: tensor('bool', mask, [batch, length]), marker_pos: tensor('int64', markers, [batch, width]), marker_mask: tensor('bool', markerMask, [batch, width]), qtype: tensor('int64', BigInt64Array.from(selectedEntries, ([, q]) => BigInt({ choice: 0, score: 1, noul: 2 }[q.type])), [batch]), temperature: tensor('float32', Float32Array.from(selectedEntries, ([, q]) => temperature(q, config, input.images.length > 0)), [batch]), media_prefix: mediaFeed(chunks, mediaLength, batch) };
|
| 176 |
+
let output;
|
| 177 |
+
try {
|
| 178 |
+
checkAbort(signal); output = await sessions.decision.run(feeds);
|
| 179 |
+
const probabilities = await output.probabilities.getData(); await device?.queue.onSubmittedWorkDone(); checkAbort(signal);
|
| 180 |
+
Object.assign(answers, d1Answers(selectedEntries, probabilities, width));
|
| 181 |
+
batches.push({ question_ids: selectedEntries.map(([id]) => id), batch, text_length: length, options: width, attention_bytes: d1AttentionBytes(batch, length + mediaLength) });
|
| 182 |
+
} finally { dispose(feeds); dispose(output); }
|
| 183 |
+
}
|
| 184 |
+
return { model, provider: D1_PROVIDER, answers: Object.fromEntries(entries.map(([id]) => [id, answers[id]])), usage: { input_tokens: rows.reduce((sum, row) => sum + row.input_ids.length + mediaLength, 0), output_tokens: 0 }, diagnostics: { dtype, generated_tokens: 0, batch: rows.length, text_length: Math.max(...rows.map(row => row.input_ids.length)), media_length: mediaLength, media_on_gpu: chunks.some(chunk => chunk.tensor), layouts, batches, attention_budget_bytes: budgetBytes, cpu_fallback_policy: 'CPU/WASM control/shape operators allowed; actual placement requires a separate profile.' } };
|
| 185 |
+
} finally { for (const chunk of chunks) chunk.tensor?.dispose?.(); }
|
| 186 |
+
},
|
| 187 |
+
async dispose() { for (const session of Object.values(sessions)) await session.release(); device?.destroy(); },
|
| 188 |
+
};
|
| 189 |
+
}
|
tiling-ratios.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
[
|
| 3 |
+
1,
|
| 4 |
+
2
|
| 5 |
+
],
|
| 6 |
+
[
|
| 7 |
+
2,
|
| 8 |
+
1
|
| 9 |
+
],
|
| 10 |
+
[
|
| 11 |
+
3,
|
| 12 |
+
1
|
| 13 |
+
],
|
| 14 |
+
[
|
| 15 |
+
1,
|
| 16 |
+
3
|
| 17 |
+
],
|
| 18 |
+
[
|
| 19 |
+
2,
|
| 20 |
+
2
|
| 21 |
+
],
|
| 22 |
+
[
|
| 23 |
+
4,
|
| 24 |
+
1
|
| 25 |
+
],
|
| 26 |
+
[
|
| 27 |
+
1,
|
| 28 |
+
4
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
5,
|
| 32 |
+
1
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
1,
|
| 36 |
+
5
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
1,
|
| 40 |
+
6
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
6,
|
| 44 |
+
1
|
| 45 |
+
],
|
| 46 |
+
[
|
| 47 |
+
3,
|
| 48 |
+
2
|
| 49 |
+
],
|
| 50 |
+
[
|
| 51 |
+
2,
|
| 52 |
+
3
|
| 53 |
+
],
|
| 54 |
+
[
|
| 55 |
+
7,
|
| 56 |
+
1
|
| 57 |
+
],
|
| 58 |
+
[
|
| 59 |
+
1,
|
| 60 |
+
7
|
| 61 |
+
],
|
| 62 |
+
[
|
| 63 |
+
4,
|
| 64 |
+
2
|
| 65 |
+
],
|
| 66 |
+
[
|
| 67 |
+
2,
|
| 68 |
+
4
|
| 69 |
+
],
|
| 70 |
+
[
|
| 71 |
+
1,
|
| 72 |
+
8
|
| 73 |
+
],
|
| 74 |
+
[
|
| 75 |
+
8,
|
| 76 |
+
1
|
| 77 |
+
],
|
| 78 |
+
[
|
| 79 |
+
1,
|
| 80 |
+
9
|
| 81 |
+
],
|
| 82 |
+
[
|
| 83 |
+
3,
|
| 84 |
+
3
|
| 85 |
+
],
|
| 86 |
+
[
|
| 87 |
+
9,
|
| 88 |
+
1
|
| 89 |
+
],
|
| 90 |
+
[
|
| 91 |
+
2,
|
| 92 |
+
5
|
| 93 |
+
],
|
| 94 |
+
[
|
| 95 |
+
5,
|
| 96 |
+
2
|
| 97 |
+
],
|
| 98 |
+
[
|
| 99 |
+
10,
|
| 100 |
+
1
|
| 101 |
+
],
|
| 102 |
+
[
|
| 103 |
+
1,
|
| 104 |
+
10
|
| 105 |
+
]
|
| 106 |
+
]
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<|startoftext|>",
|
| 4 |
+
"eos_token": "<|im_end|>",
|
| 5 |
+
"pad_token": "<|pad|>",
|
| 6 |
+
"mask_token": "<|mask|>",
|
| 7 |
+
"clean_up_tokenization_spaces": false,
|
| 8 |
+
"model_max_length": 16384,
|
| 9 |
+
"tokenizer_class": "TokenizersBackend"
|
| 10 |
+
}
|