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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ViFortune-AI
/
Viguardrail-toxicity

Text Classification
Transformers
ONNX
Safetensors
xlm-roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use ViFortune-AI/Viguardrail-toxicity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ViFortune-AI/Viguardrail-toxicity with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="ViFortune-AI/Viguardrail-toxicity")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("ViFortune-AI/Viguardrail-toxicity")
    model = AutoModelForSequenceClassification.from_pretrained("ViFortune-AI/Viguardrail-toxicity", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Viguardrail-toxicity
1.56 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
Tnt3o5's picture
Tnt3o5
Upload scheduler.pt with huggingface_hub
10326e6 verified 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    5.17 kB
    Upload XLMRobertaForSequenceClassification 11 months ago
  • config.json
    830 Bytes
    Upload XLMRobertaForSequenceClassification 11 months ago
  • model.onnx
    391 MB
    xet
    Upload model.onnx with huggingface_hub 10 months ago
  • model.safetensors
    390 MB
    xet
    Upload XLMRobertaForSequenceClassification 10 months ago
  • optimizer.pt
    781 MB
    xet
    Upload optimizer.pt with huggingface_hub 10 months ago
  • rng_state.pth
    14.2 kB
    xet
    Upload rng_state.pth with huggingface_hub 10 months ago
  • scaler.pt
    988 Bytes
    xet
    Upload scaler.pt with huggingface_hub 10 months ago
  • scheduler.pt
    1.06 kB
    xet
    Upload scheduler.pt with huggingface_hub 10 months ago
  • sentencepiece.bpe.model
    471 kB
    xet
    Upload tokenizer 11 months ago
  • special_tokens_map.json
    964 Bytes
    Upload tokenizer 11 months ago
  • tokenizer.json
    1.8 MB
    Upload tokenizer 11 months ago
  • tokenizer_config.json
    1.39 kB
    Upload tokenizer 11 months ago