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

tdickson17
/
Populism_detection

Summarization
Transformers
Safetensors
bart
text2text-generation
Model card Files Files and versions
xet
Community

Instructions to use tdickson17/Populism_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tdickson17/Populism_detection with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("summarization", model="tdickson17/Populism_detection")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("tdickson17/Populism_detection")
    model = AutoModelForSeq2SeqLM.from_pretrained("tdickson17/Populism_detection")
  • Notebooks
  • Google Colab
  • Kaggle
Populism_detection
717 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
tdickson17's picture
tdickson17
Update README.md
a1022b4 verified 8 months ago
  • .gitattributes
    1.52 kB
    initial commit 9 months ago
  • README.md
    6.64 kB
    Update README.md 8 months ago
  • config.json
    1.68 kB
    Add merged model (v1) 9 months ago
  • generation_config.json
    284 Bytes
    Add merged model (v1) 9 months ago
  • merges.txt
    456 kB
    Add merged model (v1) 9 months ago
  • model.safetensors
    712 MB
    xet
    Add merged model (v1) 9 months ago
  • special_tokens_map.json
    279 Bytes
    Add merged model (v1) 9 months ago
  • test_model.ipynb
    5.72 kB
    Upload test_model.ipynb with huggingface_hub 9 months ago
  • tokenizer.json
    3.56 MB
    Add merged model (v1) 9 months ago
  • tokenizer_config.json
    1.27 kB
    Add merged model (v1) 9 months ago
  • vocab.json
    798 kB
    Add merged model (v1) 9 months ago