Chinese-CLIP provides Chinese image-text models, training scripts, and APIs for cross-modal retrieval, similarity scoring, and zero-shot image classification.
Overview
Chinese-CLIP is a Chinese counterpart to CLIP, trained on large-scale Chinese image-text pairs for cross-modal tasks. The project releases multiple model scales from ResNet-50 through ViT-H/14, with checkpoints hosted on Hugging Face and ModelScope.
It builds on the openclip project with optimizations for Chinese data. Capabilities described include image-text feature extraction, similarity computation, cross-modal retrieval, and zero-shot classification, with reported benchmarks on Chinese retrieval and ELEVATER-style classification sets.
Training code, fine-tuning support, gradient accumulation for larger effective batches, feature extraction APIs, and a CoreML conversion script for deployment are included in the project. Integration with Hugging Face transformers is noted for inference workflows.
Key features
- Multiple Chinese CLIP model sizes
- Image-text feature and similarity APIs
- Cross-modal retrieval training code
- Zero-shot classification evaluation
- Hugging Face and ModelScope checkpoints
- Fine-tuning and gradient accumulation
- CoreML conversion script
- Transformers integration
Use cases
- Chinese image-text search pipelines
- Zero-shot image labeling in Chinese
- Fine-tuning retrieval on custom corpora
- Embedding features for multimodal apps