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

alexgshaw
/
hyperpartisan-classifier

Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use alexgshaw/hyperpartisan-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="alexgshaw/hyperpartisan-classifier")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("alexgshaw/hyperpartisan-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("alexgshaw/hyperpartisan-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
hyperpartisan-classifier
269 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
alexgshaw's picture
alexgshaw
update model card README.md
09f7266 over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • .gitignore
    13 Bytes
    Model save over 3 years ago
  • README.md
    4.59 kB
    update model card README.md over 3 years ago
  • config.json
    748 Bytes
    Model save over 3 years ago
  • emissions.csv
    297 Bytes
    Model save over 3 years ago
  • pytorch_model.bin
    268 MB
    xet
    Model save over 3 years ago
  • special_tokens_map.json
    125 Bytes
    Model save over 3 years ago
  • tokenizer.json
    711 kB
    Model save over 3 years ago
  • tokenizer_config.json
    315 Bytes
    Model save over 3 years ago
  • training_args.bin
    3.58 kB
    xet
    Model save over 3 years ago
  • vocab.txt
    232 kB
    Model save over 3 years ago