Instructions to use SandyTheAdventurer/spam-classify with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use SandyTheAdventurer/spam-classify 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("SandyTheAdventurer/spam-classify") - Notebooks
- Google Colab
- Kaggle
Sandeep Suresh commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,4 +7,8 @@ widget:
|
|
| 7 |
- text: "you have won 50000 cash!"
|
| 8 |
example_title: "Spam Classifier"
|
| 9 |
pipeline_tag: text-classification
|
| 10 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
- text: "you have won 50000 cash!"
|
| 8 |
example_title: "Spam Classifier"
|
| 9 |
pipeline_tag: text-classification
|
| 10 |
+
---
|
| 11 |
+
Use this model by using:
|
| 12 |
+
model=tf.keras.models.load_model('model.keras')
|
| 13 |
+
|
| 14 |
+
This model Uses LSTM to predict if the given text is spam or not.
|