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:677decc353bf28fa7dafbf7d4ac79881a54c353237162c11e776885ab3ce78b7
|
| 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:4adfce35236172ff83a14f531c131af9ce7a18901e8c976cff6ed8af49669e41
|
| 3 |
+
size 3519
|
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:7a29d7853a786d6cd802ae48cbb86e5620a69d111c02a5636975e3b32ecd52c3
|
| 3 |
+
size 40442
|
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
|
|
|