Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

Jayi2424
/
mhdc-modernbert

Text Classification
Transformers
Safetensors
English
modernbert
mental-health
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Jayi2424/mhdc-modernbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Jayi2424/mhdc-modernbert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Jayi2424/mhdc-modernbert")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Jayi2424/mhdc-modernbert")
    model = AutoModelForSequenceClassification.from_pretrained("Jayi2424/mhdc-modernbert", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
mhdc-modernbert
602 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Jayi2424's picture
Jayi2424
Replace the converted checkpoint with the retrained model.
1f3e1ae verified 15 days ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    1.17 kB
    Replace the converted checkpoint with the retrained model. 15 days ago
  • classification_report.txt
    870 Bytes
    Replace the converted checkpoint with the retrained model. 15 days ago
  • config.json
    1.75 kB
    Replace the converted checkpoint with the retrained model. 15 days ago
  • metrics.json
    2.53 kB
    Replace the converted checkpoint with the retrained model. 15 days ago
  • model.safetensors
    598 MB
    xet
    Replace the converted checkpoint with the retrained model. 15 days ago
  • special_tokens_map.json
    694 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • tokenizer.json
    3.58 MB
    Replace the converted checkpoint with the retrained model. 15 days ago
  • tokenizer_config.json
    20.8 kB
    Upload folder using huggingface_hub about 1 month ago