Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

jdleo1
/
tinysafe-2

Text Classification
Transformers
ONNX
English
safety
toxicity
content-moderation
deberta
guard-model
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use jdleo1/tinysafe-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use jdleo1/tinysafe-2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="jdleo1/tinysafe-2")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("jdleo1/tinysafe-2", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
tinysafe-2
1.15 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
jdleo1's picture
jdleo1
Upload README.md with huggingface_hub
fa2b831 verified 2 months ago
  • tokenizer
    Upload folder using huggingface_hub 2 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 2 months ago
  • README.md
    5.59 kB
    Upload README.md with huggingface_hub 2 months ago
  • best_model.pt

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    565 MB
    xet
    Upload folder using huggingface_hub 2 months ago
  • config.json
    2.24 kB
    Upload folder using huggingface_hub 2 months ago
  • model.onnx
    1.26 MB
    xet
    Upload folder using huggingface_hub 2 months ago
  • model.onnx.data
    567 MB
    xet
    Upload folder using huggingface_hub 2 months ago
  • tokenizer.json
    8.66 MB
    Upload tokenizer.json with huggingface_hub 2 months ago