File size: 1,825 Bytes
60efffb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | ---
license: cc-by-nc-4.0
library_name: coreml
tags:
- coreml
- embeddings
- feature-extraction
- jina-embeddings-v5
- apple-silicon
- ane
---
# jina-code-embeddings-0.5b — Core ML bundle
On-device Core ML conversion of **[jinaai/jina-code-embeddings-0.5b](https://huggingface.co/jinaai/jina-code-embeddings-0.5b)**,
produced by the [Glossematics](https://huggingface.co/1of2) conversion pipeline. The repository
root is a valid **model bundle** (`manifest.json`, formatVersion 2) consumed directly by the
Glossematics Swift package — download the snapshot and point `GlossModelBundle` at it.
- Embedding dimension: **896** (Matryoshka: [64, 128, 256, 512, 896])
- Towers: text
- Text buckets: [32, 64, 128, 256, 512] + batch-4 functions at [32, 64, 128]
- Bidirectional text tower with explicit attention mask: False
## Usage (Swift, macOS 15 / iOS 18)
```swift
import Glossematics
let bundle = try await GlossModelBundle(hub: "1of2/jina-code-embeddings-0.5b-coreml")
let gloss = GlossOmniEmbedder(bundle: bundle)
let q = try await gloss.embed(text: "What is the capital of France?", prompt: .query)
```
## License
The source model weights are **CC-BY-NC-4.0** (© Jina AI) and this converted artifact is a
derivative work distributed under the same license: **non-commercial use only**, with
attribution. Commercial use requires a license from Jina AI. See the
[source model card](https://huggingface.co/jinaai/jina-code-embeddings-0.5b) for details.
## Provenance & validation
- Source: `jinaai/jina-code-embeddings-0.5b` revision `4db235132dafbe56a8b9c5f59b59795ecf58a4a7`
- Converter: `jina_convert` 0.2.0 (commit 01a393b)
- Validated against fp32 references captured from the source model (per-modality cosine parity
gates; end-to-end through the public Swift API via `gloss-bundle-smoke`).
|