Instructions to use Johnesss/Toxic-Comment-Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Johnesss/Toxic-Comment-Classification 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://Johnesss/Toxic-Comment-Classification") - Notebooks
- Google Colab
- Kaggle
Push Keras model using huggingface_hub.
Browse files- fingerprint.pb +2 -2
- keras_metadata.pb +2 -2
- model.png +0 -0
- saved_model.pb +2 -2
- variables/variables.data-00000-of-00001 +0 -0
- variables/variables.index +0 -0
fingerprint.pb
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0265ecf94cb7be4bf4fcf5f5c6c8b7110f7c9180edca210b764f710e227857ae
|
| 3 |
+
size 55
|
keras_metadata.pb
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bde75f62a0a4951393603b9329f09bf9448abb0c0e6962983194dfb9ac90451
|
| 3 |
+
size 3497
|
model.png
CHANGED
|
|
saved_model.pb
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:689d075aedaa6718ad35fd1f7393b38379f71d8967cb547e7f492a379a9809f7
|
| 3 |
+
size 39919
|
variables/variables.data-00000-of-00001
CHANGED
|
Binary files a/variables/variables.data-00000-of-00001 and b/variables/variables.data-00000-of-00001 differ
|
|
|
variables/variables.index
CHANGED
|
Binary files a/variables/variables.index and b/variables/variables.index differ
|
|
|