Instructions to use theaiinstitute/theia-tiny-patch16-224-cddsv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use theaiinstitute/theia-tiny-patch16-224-cddsv with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="theaiinstitute/theia-tiny-patch16-224-cddsv", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("theaiinstitute/theia-tiny-patch16-224-cddsv", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "TheiaModel" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "theia_model.TheiaConfig", | |
| "AutoModel": "theia_model.TheiaModel" | |
| }, | |
| "backbone": "facebook/deit-tiny-patch16-224", | |
| "feature_neck": false, | |
| "feature_neck_hidden_dim": 256, | |
| "feature_neck_nonlinearity": "relu", | |
| "feature_reduce_method": null, | |
| "forward_neck": false, | |
| "image_size": 224, | |
| "num_reg_tokens": 0, | |
| "pretrained": false, | |
| "target_feature_sizes": { | |
| "LiheYoung/depth-anything-large-hf": [ | |
| 32, | |
| 64, | |
| 64 | |
| ], | |
| "facebook/dinov2-large": [ | |
| 1024, | |
| 16, | |
| 16 | |
| ], | |
| "facebook/sam-vit-huge": [ | |
| 256, | |
| 64, | |
| 64 | |
| ], | |
| "google/vit-huge-patch14-224-in21k": [ | |
| 1280, | |
| 16, | |
| 16 | |
| ], | |
| "openai/clip-vit-large-patch14": [ | |
| 1024, | |
| 16, | |
| 16 | |
| ] | |
| }, | |
| "target_loss_weights": null, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.41.2", | |
| "translator_hidden_size_factor": 1.0, | |
| "translator_type": "lconv" | |
| } | |