---
title: clip_onnx
canonical_url: "https://www.modelscope.cn/models/deepghs/clip_onnx"
md_url: "https://www.modelscope.cn/models/deepghs/clip_onnx.md"
repository: deepghs/clip_onnx
last_updated: 2025-01-29
pipeline_tag: zero-shot-classification
tasks:
  - zero-shot-classification
base_model:
  - openai/clip-vit-base-patch16
  - openai/clip-vit-base-patch32
  - openai/clip-vit-large-patch14
  - openai/clip-vit-large-patch14-336
base_model_relation: finetune
library_name:
  - onnx
language:
  - en
downloads: 905
stars: 1
tags:
  - transformers
  - clip
  - image
  - dghs-realutils
---

# clip_onnx

> clip_onnx - deepghs 在 ModelScope 开源的模型。ONNX exported version of CLIP models.

deepghs/clip_onnx 是 ModelScope 魔搭社区上的zero-shot-classification模型，基于 openai/clip-vit-base-patch16、openai/clip-vit-base-patch32、openai/clip-vit-large-patch14 构建。

- **Repository**: deepghs/clip_onnx
- **Tasks**: zero-shot-classification
- **Base model**: openai/clip-vit-base-patch16, openai/clip-vit-base-patch32, openai/clip-vit-large-patch14, openai/clip-vit-large-patch14-336
- **Tags**: transformers, clip, image, dghs-realutils
- **Downloads**: 905
- **Stars**: 1
- **Last updated**: 2025-01-29

Source: https://www.modelscope.cn/models/deepghs/clip_onnx

---

ONNX exported version of CLIP models.

# Models

4 models exported in total.

| Name                                                                                          | Image (Params/FLOPS)   |   Image Size | Image Width (Enc/Emb)   | Text (Params/FLOPS)   | Text Width (Enc/Emb)   | Created At   |
|:----------------------------------------------------------------------------------------------|:-----------------------|-------------:|:------------------------|:----------------------|:-----------------------|:-------------|
| [openai/clip-vit-large-patch14-336](https://huggingface.co/openai/clip-vit-large-patch14-336) | 302.9M / 174.7G        |          336 | 1024 / 768              | 85.1M / 1.2G          | 768 / 768              | 2022-04-22   |
| [openai/clip-vit-large-patch14](https://huggingface.co/openai/clip-vit-large-patch14)         | 302.9M / 77.8G         |          224 | 1024 / 768              | 85.1M / 1.2G          | 768 / 768              | 2022-03-03   |
| [openai/clip-vit-base-patch16](https://huggingface.co/openai/clip-vit-base-patch16)           | 85.6M / 16.9G          |          224 | 768 / 512               | 37.8M / 529.2M        | 512 / 512              | 2022-03-03   |
| [openai/clip-vit-base-patch32](https://huggingface.co/openai/clip-vit-base-patch32)           | 87.4M / 4.4G           |          224 | 768 / 512               | 37.8M / 529.2M        | 512 / 512              | 2022-03-03   |
