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

CatBarks
/
gpt2-spam-analysis-model

Text Classification
Transformers
Safetensors
gpt2
Model card Files Files and versions
xet
Community

Instructions to use CatBarks/gpt2-spam-analysis-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use CatBarks/gpt2-spam-analysis-model with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="CatBarks/gpt2-spam-analysis-model")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("CatBarks/gpt2-spam-analysis-model")
    model = AutoModelForSequenceClassification.from_pretrained("CatBarks/gpt2-spam-analysis-model")
  • Notebooks
  • Google Colab
  • Kaggle
gpt2-spam-analysis-model
498 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
CatBarks's picture
CatBarks
Upload GPT2ForSequenceClassification
46568ad verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • config.json
    995 Bytes
    Upload GPT2ForSequenceClassification over 2 years ago
  • model.safetensors
    498 MB
    xet
    Upload GPT2ForSequenceClassification over 2 years ago