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: 127 Bytes
9126eb2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1 oid sha256:9e76a7c5c8abab91cc199ce0c753fc89f811a01df41dfc14721bd29e88451743 size 55 |