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

  • Log In
  • Sign Up

EasthShin
/
Emotion-Classification-bert-base

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

Instructions to use EasthShin/Emotion-Classification-bert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use EasthShin/Emotion-Classification-bert-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="EasthShin/Emotion-Classification-bert-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("EasthShin/Emotion-Classification-bert-base")
    model = AutoModelForSequenceClassification.from_pretrained("EasthShin/Emotion-Classification-bert-base")
  • Notebooks
  • Google Colab
  • Kaggle
Emotion-Classification-bert-base
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
13fdda4 about 3 years ago
  • .gitattributes
    791 Bytes
    Adding `safetensors` variant of this model about 3 years ago
  • config.json
    962 Bytes
    initial commit almost 5 years ago
  • model.safetensors
    433 MB
    xet
    Adding `safetensors` variant of this model about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    433 MB
    xet
    initial commit almost 5 years ago
  • special_tokens_map.json
    112 Bytes
    initial commit almost 5 years ago
  • tokenizer_config.json
    24 Bytes
    Update tokenizer_config.json almost 5 years ago
  • vocab.txt
    213 kB
    initial commit almost 5 years ago