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

oelbourki
/
twitter-bert-sentiment-analysis

Text Classification
Transformers
Safetensors
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use oelbourki/twitter-bert-sentiment-analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use oelbourki/twitter-bert-sentiment-analysis with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="oelbourki/twitter-bert-sentiment-analysis")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("oelbourki/twitter-bert-sentiment-analysis")
    model = AutoModelForSequenceClassification.from_pretrained("oelbourki/twitter-bert-sentiment-analysis")
  • Notebooks
  • Google Colab
  • Kaggle
twitter-bert-sentiment-analysis
1.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
oelbourki's picture
oelbourki
Upload tokenizer
ec356dc over 2 years ago
  • .gitattributes
    1.57 kB
    Upload tokenizer over 2 years ago
  • config.json
    924 Bytes
    Upload BertForSequenceClassification over 2 years ago
  • model.safetensors
    1.12 GB
    xet
    Upload BertForSequenceClassification over 2 years ago
  • special_tokens_map.json
    280 Bytes
    Upload tokenizer over 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    Upload tokenizer over 2 years ago
  • tokenizer_config.json
    1.18 kB
    Upload tokenizer over 2 years ago