Instructions to use thaottn/OpenCLIP-resnet50-YFCC15M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use thaottn/OpenCLIP-resnet50-YFCC15M with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:thaottn/OpenCLIP-resnet50-YFCC15M') tokenizer = open_clip.get_tokenizer('hf-hub:thaottn/OpenCLIP-resnet50-YFCC15M') - Notebooks
- Google Colab
- Kaggle
Add model
Browse filesFiles changed (9)
- README.mdAdded+8
- merges.txtAdded
- open_clip_config.jsonAdded+35
- open_clip_model.safetensorsAdded+3
- open_clip_pytorch_model.binAdded+3
- special_tokens_map.jsonAdded+24
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+33
- vocab.jsonAdded
12345678---tags:- cliplibrary_name: open_clippipeline_tag: zero-shot-image-classificationlicense: mit---# Model card for OpenCLIP-resnet50-YFCC15M1234567891011121314151617181920212223242526272829303132333435{ "model_cfg": { "embed_dim": 1024, "vision_cfg": { "image_size": 224, "layers": [ 3, 4, 6, 3 ], "width": 64, "patch_size": null }, "text_cfg": { "context_length": 77, "vocab_size": 49408, "width": 512, "heads": 8, "layers": 12 } }, "preprocess_cfg": { "mean": [ 0.48145466, 0.4578275, 0.40821073 ], "std": [ 0.26862954, 0.26130258, 0.27577711 ] }}123version https://git-lfs.github.com/spec/v1oid sha256:5a32b5fbd6c69217deb09529e52362d3db8235d23ee0bd0326ef3ea8f309c6edsize 408291932123version https://git-lfs.github.com/spec/v1oid sha256:d76c13cde9cb24bb8936f5e20428f1cad3d90c248a5ce4ef8865e4d1f0412882size 408415839123456789101112131415161718192021222324{ "bos_token": { "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": "<|endoftext|>", "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233{ "add_prefix_space": false, "bos_token": { "__type": "AddedToken", "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "clean_up_tokenization_spaces": true, "do_lower_case": true, "eos_token": { "__type": "AddedToken", "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "errors": "replace", "model_max_length": 77, "pad_token": "<|endoftext|>", "tokenizer_class": "CLIPTokenizer", "unk_token": { "__type": "AddedToken", "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}README.mdAdded+8
merges.txtAdded
open_clip_config.jsonAdded+35
open_clip_model.safetensorsAdded+3
open_clip_pytorch_model.binAdded+3
special_tokens_map.jsonAdded+24
tokenizer.jsonAdded
tokenizer_config.jsonAdded+33
vocab.jsonAdded