Instructions to use yurijmikhalevich/rclip-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use yurijmikhalevich/rclip-models with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:yurijmikhalevich/rclip-models') tokenizer = open_clip.get_tokenizer('hf-hub:yurijmikhalevich/rclip-models') - Notebooks
- Google Colab
- Kaggle
rclip model artifacts
This repository contains the inference artifacts downloaded by
rclip. They are ONNX and Core ML
format conversions of OpenCLIP's ViT-B-32-256 checkpoint
datacomp_s34b_b86k; the learned model is not fine-tuned or otherwise changed.
Provenance and attribution
The source checkpoint is
laion/CLIP-ViT-B-32-256x256-DataComp-s34B-b86K,
trained by Mehdi Cherti on the DataComp-1B dataset using
mlfoundations/open_clip. The
tokenizer vocabulary originates from OpenAI CLIP through OpenCLIP.
See THIRD_PARTY_NOTICES.md for the complete
attribution and LICENSE and
OPENAI-CLIP-MIT.txt for the applicable MIT notices.
Files
ViT-B-32-256-datacomp_s34b_b86k/visual.onnx: visual encoder for ONNX RuntimeViT-B-32-256-datacomp_s34b_b86k/textual.onnx: text encoder for ONNX RuntimeViT-B-32-256-datacomp_s34b_b86k/visual.mlpackage: visual encoder for Core MLtokenizer/bpe_simple_vocab_16e6.txt.gz: CLIP BPE vocabulary
Uses and limitations
The model supports image and text retrieval and zero-shot image classification. The upstream model card recommends task-specific testing and warns against untested deployment, surveillance, and facial-recognition uses. Review its full intended-use, limitation, bias, and training-data disclosures before using these artifacts outside rclip's local image-search workflow.
References
- Downloads last month
- 99