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

rinapch
/
distilbert-media-bias

Text Classification
Transformers
PyTorch
Safetensors
distilbert
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use rinapch/distilbert-media-bias with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use rinapch/distilbert-media-bias with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="rinapch/distilbert-media-bias")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("rinapch/distilbert-media-bias")
    model = AutoModelForSequenceClassification.from_pretrained("rinapch/distilbert-media-bias", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-media-bias
536 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
rinapch's picture
rinapch
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
7d456af about 3 years ago
  • .gitattributes
    1.27 kB
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • README.md
    30 Bytes
    initial commit over 4 years ago
  • config.json
    836 Bytes
    add model over 4 years ago
  • model.safetensors
    268 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • pytorch_model.bin
    268 MB
    xet
    add model over 4 years ago
  • tokenizer.json
    712 kB
    Upload tokenizer.json over 4 years ago
  • tokenizer_config.json
    333 Bytes
    Upload tokenizer_config.json over 4 years ago