Downloads · 30 days
0
unum-cloud/uform-coreml-onnx
uform-coreml-onnx is a machine learning model from unum-cloud. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
<h1 align="center"UForm</h1 <h3 align="center" Multi-Modal Inference Library<br/ For Semantic Search Applications<br/ </h3
Downloads · 30 days
0
Access
Public
Updated Aug 17, 2023
Repo size
3.6 GB
Likes
7
Public
Click a slice to open those files.
.zip1.9 GB · 71%
From the Hugging Face model README
UForm is a Multi-Modal Modal Inference package, designed to encode Multi-Lingual Texts, Images, and, soon, Audio, Video, and Documents, into a shared vector space!
This is the repository of English and multilingual UForm models converted to CoreML MLProgram format. Currently, only unimodal parts of models are converted.
Each model is separated into two parts: image-encoder and text-encoder:
Each checkpoint is a zip archive with an MLProgram of the corresponding encoder.
Text encoders have the following input fields:
input_ids: int32attention_mask: int32and support flexible batch size.
Image encoders has a single input field image: float32 and support only batch of single image (due to CoreML bug).
Both encoders return:
features: float32embeddings: float32If you want to convert a model with other parameters (i.e fp16 precision or other batch size range), you can use convert.py.