Instructions to use ConvLLaVA/LAION-CLIP-ConvNeXt-Large-512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use ConvLLaVA/LAION-CLIP-ConvNeXt-Large-512 with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:ConvLLaVA/LAION-CLIP-ConvNeXt-Large-512') tokenizer = open_clip.get_tokenizer('hf-hub:ConvLLaVA/LAION-CLIP-ConvNeXt-Large-512') - Notebooks
- Google Colab
- Kaggle
| { | |
| "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 | |
| } | |
| } | |