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

anonymousjqd
/
uk-campaign-sentiment-roberta

Text Classification
Transformers
Safetensors
English
roberta
sentiment-analysis
twitter
political-communication
uk-election
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use anonymousjqd/uk-campaign-sentiment-roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use anonymousjqd/uk-campaign-sentiment-roberta with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="anonymousjqd/uk-campaign-sentiment-roberta")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("anonymousjqd/uk-campaign-sentiment-roberta")
    model = AutoModelForSequenceClassification.from_pretrained("anonymousjqd/uk-campaign-sentiment-roberta", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
uk-campaign-sentiment-roberta
503 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
anonymousjqd's picture
anonymousjqd
Update README.md
f424203 verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    1.62 kB
    Update README.md about 1 year ago
  • config.json
    946 Bytes
    Upload RobertaForSequenceClassification over 1 year ago
  • merges.txt
    456 kB
    Upload tokenizer over 1 year ago
  • model.safetensors
    499 MB
    xet
    Upload RobertaForSequenceClassification over 1 year ago
  • special_tokens_map.json
    958 Bytes
    Upload tokenizer over 1 year ago
  • tokenizer.json
    3.56 MB
    Upload tokenizer over 1 year ago
  • tokenizer_config.json
    1.47 kB
    Upload tokenizer over 1 year ago
  • vocab.json
    798 kB
    Upload tokenizer over 1 year ago