模型介绍
中文整理Taiyi-CLIP-Roberta-large-326M-Chinese
Github: Fengshenbang-LM
Docs: Fengshenbang-Docs
简介 Brief Introduction
首个开源的中文CLIP模型,1.23亿图文对上进行预训练的文本端RoBERTa-large。
The first open source Chinese CLIP, pre-training on 123M image-text pairs, the text encoder: RoBERTa-large.
模型分类 Model Taxonomy
需求 Demand 任务 Task 系列 Series 模型 Model 参数 Parameter 额外 Extra
:----: :----: :----: :----: :----: :----:
特殊 Special 多模态 Multimodal 太乙 Taiyi CLIP (RoBERTa) 326M 中文 Chinese
模型信息 Model Information
我们遵循CLIP的实验设置,以获得强大的视觉-语言表征。在训练中文版的CLIP时,我们使用chinese-roberta-wwm-large作为语言的编码器,并将CLIP中的**ViT-L-14**应用于视觉的编码器。为了快速且稳定地进行预训练,我们冻结了视觉编码器并且只微调语言编码器。此外,我们将Noah-Wukong数据集(100M)和Zero数据集(23M)用作预训练的数据集。我们先在悟空数据集上预训练了10轮,然后接着在悟空数据集和zero数据集上预训练12轮, 在A100x16上训练了7天。据我们所知,我们的Taiyi-CLIP是目前Huggingface社区中首个的开源中文CLIP。
We follow the experimental setup of CLIP to obtain powerful visual-language intelligence. To obtain the CLIP for Chinese, we employ chinese-roberta-wwm-large for the language encoder, and apply the **ViT-L-14** in CLIP for the vision encoder. We freeze the vision encoder and tune the language encoder to speed up and stabilize the pre-training process. Moreover, we apply Noah-Wukong dataset (100M) and Zero dataset (23M) as the pre-training datasets. The model was first trained 10 epochs on wukong and then train another 12 epochs on wukong and zero, which takes about 14 days to train on A100x16. To the best of our knowledge, our TaiyiCLIP is currently the only open-sourced Chinese CLIP in the huggingface community.
下游效果 Performance
Zero-Shot Classification**
model dataset Top1 Top5
- --- ---- ---- ----
Taiyi-CLIP-Roberta-326M-Chinese ImageNet1k-CN 53.05% 79.55%
Zero-Shot Text-to-Image Retrieval**
model dataset Top1 Top5 Top10
- --- ---- ---- ---- ----
Taiyi-CLIP-Roberta-326M-Chinese Flickr30k-CNA-test 54.36% 80.56% 87.90%
Taiyi-CLIP-Roberta-326M-Chinese COCO-CN-test 51.47% 81.00% 90.40%
Taiyi-CLIP-Roberta-326M-Chinese wukong50k 61.18% 90.46% 95.74%
示例代码
引用 Citation
如果您在您的工作中使用了我们的模型,可以引用我们的论文:
If you are using the resource for your work, please cite the our paper:
也可以引用我们的网站:
You can also cite our website:
优先采用原作者提供的中文模型卡片;仅有英文说明时由闲社AI翻译整理。重要参数、许可证和商用范围请以原文为准。
你将获得什么
完整仓库方式包含该固定版本中的权重、配置、分词器及说明文件;指定版本方式只下载所选文件或整组分片。多模态模型的投影文件、配置等依赖,请按作者说明配齐。
完整仓库可能包含多个权重格式,因此需要的磁盘空间可能大于单一格式的模型大小。下载文件不等于完成模型部署。
使用前须知
运行模型需要的设备、工具与依赖,以原作者说明为准。
是否允许商用、修改和分发,请查看模型许可证。
闲社提供资料与镜像下载方法,不代表已运行模型或完成安全审计。下载的代码应先检查,再执行。
Problem with the information or download?
Sign in to submit feedback.
