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
|
@@ -10,7 +10,8 @@ Model config:
|
|
| 10 |
* **dropout:** 0.1
|
| 11 |
* **max_sequence_length:** 512
|
| 12 |
* **num_segments:** 2
|
| 13 |
-
This model card has been generated automatically and -
|
|
|
|
| 14 |
tags:
|
| 15 |
- keras-nlp
|
| 16 |
---
|
|
|
|
| 10 |
* **dropout:** 0.1
|
| 11 |
* **max_sequence_length:** 512
|
| 12 |
* **num_segments:** 2
|
| 13 |
+
This model card has been generated automatically and should be completed by the model author. See https://huggingface.co/docs/hub/model-cards
|
| 14 |
+
---
|
| 15 |
tags:
|
| 16 |
- keras-nlp
|
| 17 |
---
|