Instructions to use NightPrince/Toxic_Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use NightPrince/Toxic_Classification 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("NightPrince/Toxic_Classification") - Keras
How to use NightPrince/Toxic_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://NightPrince/Toxic_Classification") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature3951155 -
Upload README.md
Verified signature9b57c88 -
Update pipeline.py
Verified signature3a6bc73 -
Upload label_map.json
Verified signature0fec660 -
Update pipeline.py
Verified signaturef7710cc -
Update pipeline.py
Verified signatureeb0dc26 -
Create pipeline.py
Verified signature175924e -
Delete pipeline.py
Verified signature8ef9ae3 -
Upload tokenizer.json
Verified signature6bee166 -
Create pipeline.py
Verified signature54f4e1a -
Update README.md
Verified signature09b2010 -
Upload folder using huggingface_hub
Verified signature0ebf33b -
initial commit
Verified signature34892c4