Downloads · 30 days
0
0% of all-time downloads
rsvalerio/starencoder-coreml
starencoder-coreml is a feature extraction model from rsvalerio. Use it when you need embeddings to search or compare text. It is set up for coremltools. The card lists the license as apache-2.0.
CoreML conversion of bigcode/starencoder for native Apple Neural Engine / GPU inference on macOS and iOS.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
32
Public
Repo size
247 MB
Likes
1
Public
Click a slice to open those files.
.bin247 MB · 99%
From the Hugging Face model README
CoreML conversion of bigcode/starencoder for native Apple Neural Engine / GPU inference on macOS and iOS.
| File | Description |
|---|---|
model.mlpackage/ | CoreML model (FP16, flexible shapes) |
tokenizer.json | HF fast tokenizer |
.all — CoreML schedules across ANE, GPU, and CPUcai index --embed-backend swift --embed-model "rsvalerio/starencoder-coreml"
The Swift backend downloads the .mlpackage from this repo, compiles it to .mlmodelc on first run (~30-60s), and caches the compiled model for subsequent runs.
Converted using rsvalerio/models CI pipeline with coremltools.
pip install coremltools transformers torch
python convert.py