Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

NightPrince
/
Toxic_Classification

Text Classification
TF-Keras
Keras
English
toxic-content
tensorflow
deep-learning
safety
multiclass
Model card Files Files and versions
xet
Community

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)
    # See https://github.com/keras-team/tf-keras for more details.
    from huggingface_hub import from_pretrained_keras
    
    model = from_pretrained_keras("NightPrince/Toxic_Classification")
    
  • Keras

    How to use NightPrince/Toxic_Classification with Keras:

    # Available backend options are: "jax", "torch", "tensorflow".
    import os
    os.environ["KERAS_BACKEND"] = "jax"
    
    import keras
    
    model = keras.saving.load_model("hf://NightPrince/Toxic_Classification")
    
  • Notebooks
  • Google Colab
  • Kaggle
Toxic_Classification / variables
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
NightPrince's picture
NightPrince
Upload folder using huggingface_hub
0ebf33b verified 11 months ago
  • variables.data-00000-of-00001
    11.1 MB
    xet
    Upload folder using huggingface_hub 11 months ago
  • variables.index
    1.62 kB
    Upload folder using huggingface_hub 11 months ago