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

bhadresh-savani
/
albert-base-v2-emotion

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
English
albert
emotion
Model card Files Files and versions
xet
Community
1

Instructions to use bhadresh-savani/albert-base-v2-emotion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use bhadresh-savani/albert-base-v2-emotion with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="bhadresh-savani/albert-base-v2-emotion")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("bhadresh-savani/albert-base-v2-emotion")
    model = AutoModelForSequenceClassification.from_pretrained("bhadresh-savani/albert-base-v2-emotion")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
albert-base-v2-emotion
142 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
bhadresh-savani's picture
bhadresh-savani
added tensorflow and flax models
4812613 over 4 years ago
  • .gitattributes
    690 Bytes
    initial commit almost 5 years ago
  • README.md
    2.63 kB
    Update README.md almost 5 years ago
  • config.json
    1.1 kB
    added tensorflow and flax models over 4 years ago
  • convert_flax_to_pytorch.py
    168 Bytes
    added tensorflow and flax models over 4 years ago
  • convert_pytorch_to_flax.py
    174 Bytes
    added tensorflow and flax models over 4 years ago
  • convert_pytorch_to_tensorflow.py
    170 Bytes
    added tensorflow and flax models over 4 years ago
  • flax_model.msgpack
    46.8 MB
    xet
    added tensorflow and flax models over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch.LongStorage",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    46.8 MB
    xet
    add model almost 5 years ago
  • special_tokens_map.json
    245 Bytes
    add model almost 5 years ago
  • tf_model.h5
    46.8 MB
    xet
    added tensorflow and flax models over 4 years ago
  • tokenizer.json
    1.31 MB
    add model almost 5 years ago
  • tokenizer_config.json
    428 Bytes
    add model almost 5 years ago