Instructions to use bethgelab/ViT-B-32_cabs-dm_alt_0.8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use bethgelab/ViT-B-32_cabs-dm_alt_0.8 with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:bethgelab/ViT-B-32_cabs-dm_alt_0.8') tokenizer = open_clip.get_tokenizer('hf-hub:bethgelab/ViT-B-32_cabs-dm_alt_0.8') - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": "<|startoftext|>", | |
| "do_lower_case": true, | |
| "eos_token": "<|endoftext|>", | |
| "errors": "replace", | |
| "is_local": false, | |
| "model_max_length": 77, | |
| "pad_token": "<|endoftext|>", | |
| "tokenizer_class": "CLIPTokenizer", | |
| "unk_token": "<|endoftext|>" | |
| } | |