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 +1 -1
- 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 56
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a11f0fc3d971fcdb881b45188958ebca869c743a36026053e9594afc821f217
|
| 3 |
size 56
|
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:aa4c14a15a9355b14a75a1c921983bd8c70f96c827f611b229d7a5df51d06627
|
| 3 |
+
size 4475
|
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:79b8399f72f850ed2fbb167ccb81e0ac39456cfb66709eb97ad840cdc77be8a8
|
| 3 |
+
size 39884
|
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
|
|
|