File size: 1,106 Bytes
c22677e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
library_name: aneforge
license: apache-2.0
base_model: sentence-transformers/all-MiniLM-L6-v2
pipeline_tag: sentence-similarity
tags:
- aneforge
- apple-neural-engine
- sentence-transformers
---

# all-MiniLM-L6-v2 (ANEForge)

An unmodified duplicate of [`sentence-transformers/all-MiniLM-L6-v2`](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2), tagged for use with
[**ANEForge**](https://github.com/sbryngelson/ANEForge) so the weights load and run directly on the
Apple Neural Engine (no CoreML). Weights are byte-identical to the source; see the original repo for
the model details. Licensed `apache-2.0` from the source.

## Use with ANEForge

```python
from aneforge.sentence_transformers import SentenceTransformer

model = SentenceTransformer("aneforge/all-MiniLM-L6-v2")
emb = model.encode(["Hello from the Neural Engine"], normalize_embeddings=True)
```

ANEForge compiles the model's graph into a single ANE program and streams the weights from this repo
via `huggingface_hub`. See the [docs](https://aneforge.readthedocs.io) and the
[paper](https://arxiv.org/abs/2606.17090).