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

seanbenhur
/
kanglish-offensive-language-identification

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

Instructions to use seanbenhur/kanglish-offensive-language-identification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use seanbenhur/kanglish-offensive-language-identification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="seanbenhur/kanglish-offensive-language-identification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("seanbenhur/kanglish-offensive-language-identification")
    model = AutoModelForSequenceClassification.from_pretrained("seanbenhur/kanglish-offensive-language-identification", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
kanglish-offensive-language-identification
970 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
seanbenhur's picture
seanbenhur
Create README.md
1a2c56c almost 5 years ago
  • .gitattributes
    1.18 kB
    initial commit almost 5 years ago
  • README.md
    22 Bytes
    Create README.md almost 5 years ago
  • config.json
    759 Bytes
    push almost 5 years ago
  • kanglish_offensive.onnx
    481 MB
    xet
    push almost 5 years ago
  • merges.txt
    1.35 MB
    push almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    481 MB
    xet
    push almost 5 years ago
  • special_tokens_map.json
    772 Bytes
    push almost 5 years ago
  • tokenizer.json
    3.59 MB
    push almost 5 years ago
  • tokenizer_config.json
    1.12 kB
    push almost 5 years ago
  • vocab.json
    2.04 MB
    push almost 5 years ago