Downloads · 30 days
1
4% of all-time downloads
rsvalerio/unixcoder-base-coreml
unixcoder-base-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 mit.
CoreML conversion of microsoft/unixcoder-base for native Apple Neural Engine / GPU inference on macOS and iOS.
Downloads · 30 days
1
4% of all-time downloads
All-time downloads
28
Public
Repo size
251 MB
Likes
1
Public
Click a slice to open those files.
.bin251 MB · 99%
From the Hugging Face model README
CoreML conversion of microsoft/unixcoder-base 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/unixcoder-base-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