Instructions to use keras-io/shiftvit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use keras-io/shiftvit 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("keras-io/shiftvit") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Set `library_name` to `tf-keras`.
Verified signatureModel 'keras-io/shiftvit' seems to be compatible only with "Keras 2" and not "Keras 3". To distinguish them, models compatible with legacy Keras 2.x should be tagged as `tf-keras` while models compatible with Keras 3.x are tagged as `keras`. This PR updates the model card to replace the explicit `library_name: keras` metadata which is now outdated by `library_name: tf-keras`. Updating this metadata will facilitate its discoverability and usage. For more information about `keras` and `tf-keras` library names, check out this pull request: https://github.com/huggingface/huggingface.js/pull/774.0287ff4
-
Update README.md
33c7409
-
Update README.md
dadfe9f
-
Update README.md
69ac7ef -
Upload Model.png
f077a64 -
Delete Screenshot from 2022-07-29 05-49-45.png
6ef27bd -
Update README.md
d53d2f3 -
uploaded updated model-summary screenshot
977ed26 -
Update README.md
22a528a
-
Update README.md
79a7cee
-
Add model
d98acba
-
Add model
5b629d9 -
Add model
0955857 -
initial commit
0d31182