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

jgigivjry
/
threads-comment-risk-bert

Text Classification
Transformers
Safetensors
Chinese
bert
traditional-chinese
context-aware-classification
threads
harassment
cyberbullying
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use jgigivjry/threads-comment-risk-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use jgigivjry/threads-comment-risk-bert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="jgigivjry/threads-comment-risk-bert")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("jgigivjry/threads-comment-risk-bert")
    model = AutoModelForSequenceClassification.from_pretrained("jgigivjry/threads-comment-risk-bert", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
threads-comment-risk-bert
410 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
jgigivjry's picture
jgigivjry
Update README.md
11baf97 verified 9 days ago
  • .gitattributes
    1.52 kB
    initial commit 10 days ago
  • README.md
    5.27 kB
    Update README.md 9 days ago
  • config.json
    1.22 kB
    Upload folder using huggingface_hub 10 days ago
  • model.safetensors
    409 MB
    xet
    Upload folder using huggingface_hub 10 days ago
  • tokenizer.json
    440 kB
    Upload folder using huggingface_hub 10 days ago
  • tokenizer_config.json
    426 Bytes
    Upload folder using huggingface_hub 10 days ago
  • training_args.bin
    5.33 kB
    xet
    Upload folder using huggingface_hub 10 days ago