Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

finiteautomata
/
bertweet-base-sentiment-analysis

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
English
roberta
sentiment-analysis
Model card Files Files and versions
xet
Community
8

Instructions to use finiteautomata/bertweet-base-sentiment-analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use finiteautomata/bertweet-base-sentiment-analysis with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="finiteautomata/bertweet-base-sentiment-analysis")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("finiteautomata/bertweet-base-sentiment-analysis")
    model = AutoModelForSequenceClassification.from_pretrained("finiteautomata/bertweet-base-sentiment-analysis")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

This code is good

1
#8 opened about 1 month ago by
binazas

Adding `safetensors` variant of this model

#7 opened 12 months ago by
SFconvertbot

[AUTOMATED] Model Memory Requirements

#6 opened about 2 years ago by
model-sizer-bot

[AUTOMATED] Model Memory Requirements

#5 opened about 2 years ago by
model-sizer-bot

Adding `safetensors` variant of this model

#3 opened about 3 years ago by
SFconvertbot

ImportError: cannot import name 'expand_1d' from 'keras.engine.data_adapter'

2
#2 opened over 3 years ago by
hipples
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs