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

nkgevorgyan
/
self-harm-classifier

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

Instructions to use nkgevorgyan/self-harm-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use nkgevorgyan/self-harm-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="nkgevorgyan/self-harm-classifier")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("nkgevorgyan/self-harm-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("nkgevorgyan/self-harm-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
self-harm-classifier
1.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
nkgevorgyan's picture
nkgevorgyan
Upload tokenizer
d3a44d4 verified 6 months ago
  • .gitattributes
    1.57 kB
    Upload tokenizer 6 months ago
  • README.md
    5.17 kB
    Upload XLMRobertaForSequenceClassification 6 months ago
  • config.json
    676 Bytes
    Upload XLMRobertaForSequenceClassification 6 months ago
  • model.safetensors
    1.11 GB
    xet
    Upload XLMRobertaForSequenceClassification 6 months ago
  • special_tokens_map.json
    964 Bytes
    Upload tokenizer 6 months ago
  • tokenizer.json
    17.1 MB
    xet
    Upload tokenizer 6 months ago
  • tokenizer_config.json
    1.29 kB
    Upload tokenizer 6 months ago