Instructions to use ashm/test-doc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use ashm/test-doc with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:ashm/test-doc') tokenizer = open_clip.get_tokenizer('hf-hub:ashm/test-doc') - Notebooks
- Google Colab
- Kaggle
Download open_clip_preprocessor_config.json from ashm/test-doc: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/ashm/test-doc/resolve/main/open_clip_preprocessor_config.json
- Command line
-
hf download hf://ashm/test-doc/open_clip_preprocessor_config.json
-
curl -L -o open_clip_preprocessor_config.json https://huggingface.co/ashm/test-doc/resolve/main/open_clip_preprocessor_config.json
253 Bytes
| { | |
| "do_normalize": true, | |
| "do_resize": true, | |
| "feature_extractor_type": "CLIPFeatureExtractor", | |
| "image_mean": [ | |
| 0.48145466, | |
| 0.4578275, | |
| 0.40821073 | |
| ], | |
| "image_std": [ | |
| 0.26862954, | |
| 0.26130258, | |
| 0.27577711 | |
| ], | |
| "size": 224 | |
| } | |