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

BeketML
/
suicide-detection-text

Text Classification
Transformers
Safetensors
English
Russian
xlm-roberta
suicide
Model card Files Files and versions
xet
Community

Instructions to use BeketML/suicide-detection-text with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use BeketML/suicide-detection-text with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="BeketML/suicide-detection-text")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("BeketML/suicide-detection-text")
    model = AutoModelForSequenceClassification.from_pretrained("BeketML/suicide-detection-text", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
suicide-detection-text / checkpoint-8000
3.34 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
BeketML's picture
BeketML
Upload folder using huggingface_hub
a305e62 verified 8 months ago
  • config.json
    725 Bytes
    Upload folder using huggingface_hub 8 months ago
  • model.safetensors
    1.11 GB
    xet
    Upload folder using huggingface_hub 8 months ago
  • optimizer.pt
    2.22 GB
    xet
    Upload folder using huggingface_hub 8 months ago
  • rng_state.pth
    14.6 kB
    xet
    Upload folder using huggingface_hub 8 months ago
  • scaler.pt
    1.38 kB
    xet
    Upload folder using huggingface_hub 8 months ago
  • scheduler.pt
    1.47 kB
    xet
    Upload folder using huggingface_hub 8 months ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Upload folder using huggingface_hub 8 months ago
  • special_tokens_map.json
    280 Bytes
    Upload folder using huggingface_hub 8 months ago
  • tokenizer_config.json
    1.2 kB
    Upload folder using huggingface_hub 8 months ago
  • trainer_state.json
    21.1 kB
    Upload folder using huggingface_hub 8 months ago
  • training_args.bin
    5.78 kB
    xet
    Upload folder using huggingface_hub 8 months ago