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

galthran
/
twitter-roberta-base-sentiment-amazon

Text Classification
Transformers
PyTorch
roberta
Model card Files Files and versions
xet
Community
1

Instructions to use galthran/twitter-roberta-base-sentiment-amazon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use galthran/twitter-roberta-base-sentiment-amazon with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="galthran/twitter-roberta-base-sentiment-amazon")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("galthran/twitter-roberta-base-sentiment-amazon")
    model = AutoModelForSequenceClassification.from_pretrained("galthran/twitter-roberta-base-sentiment-amazon", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
twitter-roberta-base-sentiment-amazon
503 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
galthran's picture
galthran
model
a51d52a over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • config.json
    953 Bytes
    model over 3 years ago
  • optimizer.pt
    4.75 MB
    xet
    model over 3 years ago
  • pytorch_model.bin
    499 MB
    xet
    model over 3 years ago
  • rng_state.pth
    14.6 kB
    xet
    model over 3 years ago
  • scheduler.pt
    627 Bytes
    xet
    model over 3 years ago
  • trainer_state.json
    889 Bytes
    model over 3 years ago
  • training_args.bin
    3.52 kB
    xet
    model over 3 years ago