Instructions to use samanehs/test_bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasHub
How to use samanehs/test_bert with KerasHub:
import keras_hub # Create a Backbone model unspecialized for any task backbone = keras_hub.models.Backbone.from_preset("hf://samanehs/test_bert") - Keras
How to use samanehs/test_bert with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://samanehs/test_bert") - Notebooks
- Google Colab
- Kaggle
Commit History
-
keras-hub migration (#1)
Verified signature- keras hub migration (afd7251345842e4b45b6646022edec1a75f52ece) Co-authored-by: Martin Görner <martin-gorner@users.noreply.huggingface.co>ff6b433
-
Upload folder using huggingface_hub
Verified signatureb2ad531 -
initial commit
Verified signaturedd551f0