ONNX 模型库
返回模型

说明文档

Qdrant/Unicom-ViT-B-32

来自 open-metric-learningUnicom 模型的 ONNX 移植版本。

该模型旨在用于相似性搜索。

用法

以下是使用 FastEmbed 进行模型推理的示例。

from fastembed import ImageEmbedding

images = [
    "./path/to/image1.jpg",
    "./path/to/image2.jpg",
]

model = ImageEmbedding(model_name="Qdrant/Unicom-ViT-B-32")
embeddings = list(model.embed(images))

# [
#   array([ 0.04177791,  0.0550059 ,  0.00025418,  0.0252876 , ..., dtype=float32),
#   array([2.23932182e-03,  4.68995124e-02,  3.28772422e-03,  7.57176951e-02, ...], dtype=float32)
# ]

Qdrant/Unicom-ViT-B-32

作者 Qdrant

image-feature-extraction
↓ 0 ♥ 4

创建时间: 2024-07-10 12:48:39+00:00

更新时间: 2024-07-15 15:10:36+00:00

在 Hugging Face 上查看

文件 (4)

.gitattributes
README.md
model.onnx ONNX
preprocessor_config.json