Instructions to use sachin/debug-text-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sachin/debug-text-model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import TinyCLIPTextEncoder model = TinyCLIPTextEncoder.from_pretrained("sachin/debug-text-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from sachin/debug-text-model: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/sachin/debug-text-model/resolve/main/config.json
- Command line
-
hf download hf://sachin/debug-text-model/config.json
-
curl -L -o config.json https://huggingface.co/sachin/debug-text-model/resolve/main/config.json
286 Bytes
| { | |
| "architectures": [ | |
| "TinyCLIPTextEncoder" | |
| ], | |
| "cls_type": true, | |
| "embed_dims": 512, | |
| "max_len": 128, | |
| "model_type": "text", | |
| "projection_layers": 3, | |
| "text_model": "microsoft/xtremedistil-l6-h256-uncased", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.39.2" | |
| } | |