Instructions to use tokhey/ViT-caption-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use tokhey/ViT-caption-model with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("tokhey/ViT-caption-model") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.pkl from tokhey/ViT-caption-model: direct link, hf CLI and curl.
- Browser
- Download file 39.6 kB
-
https://huggingface.co/tokhey/ViT-caption-model/resolve/main/tokenizer.pkl
- Command line
-
hf download hf://tokhey/ViT-caption-model/tokenizer.pkl
-
curl -L -o tokenizer.pkl https://huggingface.co/tokhey/ViT-caption-model/resolve/main/tokenizer.pkl
39.6 kB
- Xet hash:
- c817bdc7db6868590c26e56f9cf739ad357a0bfac87ed6882877209e146de4c8
- Size of remote file:
- 39.6 kB
- SHA256:
- de16ffd0c075c084f4a8f5a3c62eb2a2f6d5d932a79b56d9c621d2bbd9320409
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.