competitions/aiornot
Viewer • Updated • 62.1k • 20 • 32
How to use Binyamin/Hybrid_1 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("Binyamin/Hybrid_1")