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
File size: 130 Bytes
64e7155 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:de16ffd0c075c084f4a8f5a3c62eb2a2f6d5d932a79b56d9c621d2bbd9320409
size 39615
|