arca-models / README.md
pjuangph's picture
Remove unused mirrors (yunet, yolox_tiny); card lists only what Arca loads
7e17d64 verified
|
Raw
History Blame Contribute Delete
3.62 kB
---
license: other
license_name: mixed-permissive
license_link: https://huggingface.co/umbml/arca-models/blob/main/LICENSES.md
library_name: onnx
tags:
- onnx
- clip
- face-recognition
- mirror
---
# arca-models
Pinned ONNX mirrors of third-party models used for **on-device** inference in
[Arca](https://arca.umbml.com). Nothing here is trained by us β€” every file is a
byte-for-byte copy of an upstream release, re-hosted so that:
1. **Downloads are immutable.** Arca pins each file by commit SHA and verifies a
SHA-256 before use. Fetching upstream `main` gave us a moving target: two of
our source URLs 404'd after upstream repos were restructured, silently
breaking on-device features with nothing able to detect the drift.
2. **Upstream repos aren't used as a CDN.** Pulling a 261 MB file from a
`github.com/.../raw/main/` URL on every client install is not what that
endpoint is for.
If you want these models, please prefer the original sources below β€” they are
the authoritative, maintained copies.
## Contents
Every file here is live in Arca. Nothing is staged "for later" β€” an unused model
in a mirror is just a file nobody can explain a year from now.
| File | Bytes | Upstream source | License |
| --- | --- | --- | --- |
| `arcface.onnx` | 261,036,388 | [onnx/models](https://github.com/onnx/models/tree/main/validated/vision/body_analysis/arcface) β€” `arcfaceresnet100-8.onnx` | Apache-2.0 |
| `clip-vit-b32-image.onnx` | 351,686,194 | [Qdrant/clip-ViT-B-32-vision](https://huggingface.co/Qdrant/clip-ViT-B-32-vision) | MIT |
| `clip-vit-b32-text.onnx` | 254,102,519 | [Qdrant/clip-ViT-B-32-text](https://huggingface.co/Qdrant/clip-ViT-B-32-text) | MIT |
| `bpe_simple_vocab_16e6.txt.gz` | 1,356,917 | [openai/CLIP](https://github.com/openai/CLIP) | MIT |
### SHA-256
```
f3a6bc281e72f88862f5748b53be3d76b3b48f8f1ab1f4a537941bdc4e1b01da arcface.onnx
c68d3d9a200ddd2a8c8a5510b576d4c94d1ae383bf8b36dd8c084f94e1fb4d63 clip-vit-b32-image.onnx
4dbe762b11e36488304471e439cde89da053ad7acaddbf9e096745d142ec8d8b clip-vit-b32-text.onnx
924691ac288e54409236115652ad4aa250f48203de50a9e4722a6ecd48d6804a bpe_simple_vocab_16e6.txt.gz
```
## Note on the CLIP pair
`clip-vit-b32-image.onnx` and `clip-vit-b32-text.onnx` come from the **same
export family** (both PyTorch 2.3.0 exports of `clip-ViT-B-32`) and therefore
share one 512-d embedding space. Mixing an image encoder from one port with a
text encoder from another puts the vectors in different spaces and makes cosine
similarity meaningless. Treat the two as a single atomic unit.
## Previously here, removed
Both were removed from `main` by a normal commit, so earlier pinned
`resolve/<sha>/` URLs still resolve β€” nothing that referenced them breaks.
- **`yunet.onnx`** (face detection, MIT) β€” Arca uses the OS
`Windows.Media.FaceAnalysis.FaceDetector` for detection, so this was never
loaded. `arcface.onnx` (the 512-d embedder) is the only ONNX face model.
- **`yolox_tiny.onnx`** (object detection, Apache-2.0) β€” mirrored in
anticipation of an object-detection feature that doesn't exist yet, then
removed rather than left sitting here unused. If it comes back, it will be
re-uploaded alongside the code that actually calls it.
## Licensing
Each file keeps its upstream license; see the table above and `LICENSES.md`.
The `license: other` / `mixed-permissive` marker reflects that this repo
aggregates MIT and Apache-2.0 files rather than being under one single license.
No copyleft-licensed weights are hosted here β€” see `LICENSES.md` for why
Ultralytics YOLO in particular can never be.