Instructions to use Joshi2312/SUPIR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use Joshi2312/SUPIR with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:Joshi2312/SUPIR') tokenizer = open_clip.get_tokenizer('hf-hub:Joshi2312/SUPIR') - Notebooks
- Google Colab
- Kaggle
| { | |
| "unk_token": { | |
| "content": "<|endoftext|>", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": true, | |
| "__type": "AddedToken" | |
| }, | |
| "bos_token": { | |
| "content": "<|startoftext|>", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": true, | |
| "__type": "AddedToken" | |
| }, | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": true, | |
| "__type": "AddedToken" | |
| }, | |
| "pad_token": "<|endoftext|>", | |
| "add_prefix_space": false, | |
| "errors": "replace", | |
| "do_lower_case": true, | |
| "name_or_path": "openai/clip-vit-base-patch32", | |
| "model_max_length": 77, | |
| "special_tokens_map_file": "./special_tokens_map.json", | |
| "tokenizer_class": "CLIPTokenizer" | |
| } | |