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: 132 Bytes
9126eb2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1 oid sha256:7557d17131ba63437b36a7e9a122edf6231c2691049f4e4214dfac9904ab5f13 size 4384648 |