Instructions to use samanehs/bert_tiny_en_uncased_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasHub
How to use samanehs/bert_tiny_en_uncased_classifier with KerasHub:
import keras_hub # Create a Backbone model unspecialized for any task backbone = keras_hub.models.Backbone.from_preset("hf://samanehs/bert_tiny_en_uncased_classifier") - Keras
How to use samanehs/bert_tiny_en_uncased_classifier 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/bert_tiny_en_uncased_classifier") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -3,7 +3,7 @@ tags:
|
|
| 3 |
- keras-nlp
|
| 4 |
---
|
| 5 |
This is a `Bert` model and has been uploaded using the KerasNLP library.
|
| 6 |
-
This
|
| 7 |
|
| 8 |
Model config:
|
| 9 |
* **name:** bert_backbone
|
|
|
|
| 3 |
- keras-nlp
|
| 4 |
---
|
| 5 |
This is a `Bert` model and has been uploaded using the KerasNLP library.
|
| 6 |
+
This model is a `Classifier`.
|
| 7 |
|
| 8 |
Model config:
|
| 9 |
* **name:** bert_backbone
|