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

mshenoda
/
roberta-spam

Text Classification
Transformers
PyTorch
Safetensors
English
roberta
Model card Files Files and versions
xet
Community
3

Instructions to use mshenoda/roberta-spam with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mshenoda/roberta-spam with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="mshenoda/roberta-spam")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("mshenoda/roberta-spam")
    model = AutoModelForSequenceClassification.from_pretrained("mshenoda/roberta-spam")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
roberta-spam / plots
186 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
mshenoda's picture
mshenoda
Added plots
6986f04 over 2 years ago
  • confusion_matrix.png
    21.7 kB
    Added plots over 2 years ago
  • evaluate_metrics.txt
    70 Bytes
    Added plots over 2 years ago
  • test_set_distribution.jpg
    25.6 kB
    Added plots over 2 years ago
  • train_losses.txt
    211 Bytes
    Added plots over 2 years ago
  • train_set_distribution.jpg
    25.4 kB
    Added plots over 2 years ago
  • train_validation_loss.jpg
    29.3 kB
    Added plots over 2 years ago
  • val_accuracies.txt
    184 Bytes
    Added plots over 2 years ago
  • val_f1_scores.txt
    189 Bytes
    Added plots over 2 years ago
  • val_losses.txt
    217 Bytes
    Added plots over 2 years ago
  • val_precisions.txt
    189 Bytes
    Added plots over 2 years ago
  • val_recalls.txt
    173 Bytes
    Added plots over 2 years ago
  • val_set_distribution.jpg
    25.4 kB
    Added plots over 2 years ago
  • validation_accuracy.jpg
    25.8 kB
    Added plots over 2 years ago
  • validation_precision_recall.jpg
    31.3 kB
    Added plots over 2 years ago