Feature Extraction
timm
Safetensors
self-supervised
histology
computational-pathology
foundation-model
Instructions to use 1aurent/vit_small_patch8_224.lemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use 1aurent/vit_small_patch8_224.lemon with timm:
import timm model = timm.create_model("hf-hub:1aurent/vit_small_patch8_224.lemon", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Download config.json from 1aurent/vit_small_patch8_224.lemon: direct link, hf CLI and curl.
- Browser
- Download file 775 Bytes
-
https://huggingface.co/1aurent/vit_small_patch8_224.lemon/resolve/main/config.json
- Command line
-
hf download hf://1aurent/vit_small_patch8_224.lemon/config.json
-
curl -L -o config.json https://huggingface.co/1aurent/vit_small_patch8_224.lemon/resolve/main/config.json
775 Bytes
| { | |
| "architecture": "vit_small_patch8_224", | |
| "num_classes": 0, | |
| "num_features": 384, | |
| "global_pool": "token", | |
| "model_args": { | |
| "img_size": 40, | |
| "num_classes": 0 | |
| }, | |
| "pretrained_cfg": { | |
| "hf_hub_id": "1aurent/vit_small_patch8_224.lemon", | |
| "tag": "lemon", | |
| "input_size": [ | |
| 3, | |
| 40, | |
| 40 | |
| ], | |
| "fixed_input_size": true, | |
| "interpolation": "bilinear", | |
| "crop_pct": 1.0, | |
| "crop_mode": "center", | |
| "mean": [ | |
| 0.5626310706138611, | |
| 0.3856309652328491, | |
| 0.5453572869300842 | |
| ], | |
| "std": [ | |
| 0.18103212118148804, | |
| 0.1668265014886856, | |
| 0.13694556057453156 | |
| ], | |
| "num_classes": 0, | |
| "first_conv": "patch_embed.proj", | |
| "classifier": "head", | |
| "license": "mit", | |
| "custom_load": false | |
| } | |
| } |