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

  • Log In
  • Sign Up

keras-io
/
sentiment-analysis

Text Classification
Transformers
google-tensorflow TensorFlow
TensorBoard
distilbert
generated_from_keras_callback
text-embeddings-inference
Model card Files Files and versions
xet
Metrics Training metrics Community
1

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

  • Libraries
  • Transformers

    How to use keras-io/sentiment-analysis with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="keras-io/sentiment-analysis")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("keras-io/sentiment-analysis")
    model = AutoModelForSequenceClassification.from_pretrained("keras-io/sentiment-analysis")
  • Notebooks
  • Google Colab
  • Kaggle
sentiment-analysis
273 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 17 commits
vumichien's picture
vumichien
librarian-bot's picture
librarian-bot
Librarian Bot: Add base_model information to model (#1)
40dce37 over 2 years ago
  • logs
    Training in progress epoch 1 over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    1.63 kB
    Librarian Bot: Add base_model information to model (#1) over 2 years ago
  • config.json
    538 Bytes
    Training in progress epoch 0 over 4 years ago
  • special_tokens_map.json
    112 Bytes
    Training in progress epoch 0 over 4 years ago
  • tf_model.h5
    268 MB
    xet
    End of training over 4 years ago
  • tokenizer.json
    711 kB
    Training in progress epoch 0 over 4 years ago
  • tokenizer_config.json
    333 Bytes
    Training in progress epoch 0 over 4 years ago
  • vocab.txt
    232 kB
    Training in progress epoch 0 over 4 years ago