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

  • Log In
  • Sign Up

poom-sci
/
bert-base-uncased-multi-emotion

Translation
Transformers
PyTorch
TensorBoard
English
bert
text-classification
Model card Files Files and versions
xet
Metrics Training metrics Community
1

Instructions to use poom-sci/bert-base-uncased-multi-emotion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use poom-sci/bert-base-uncased-multi-emotion with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "translation" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("translation", model="poom-sci/bert-base-uncased-multi-emotion")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("poom-sci/bert-base-uncased-multi-emotion")
    model = AutoModelForSequenceClassification.from_pretrained("poom-sci/bert-base-uncased-multi-emotion")
  • Notebooks
  • Google Colab
  • Kaggle
bert-base-uncased-multi-emotion
877 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
07551c7 almost 3 years ago
  • logs
    initial commit over 4 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model almost 3 years ago
  • README.md
    105 Bytes
    Update README.md over 4 years ago
  • config.json
    1.83 kB
    Update config.json over 4 years ago
  • model.safetensors
    438 MB
    xet
    Adding `safetensors` variant of this model almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    438 MB
    xet
    initial commit over 4 years ago
  • special_tokens_map.json
    112 Bytes
    initial commit over 4 years ago
  • tokenizer.json
    466 kB
    initial commit over 4 years ago
  • tokenizer_config.json
    321 Bytes
    initial commit over 4 years ago
  • training_args.bin

    Detected Pickle imports (5)

    • "torch.device",
    • "transformers.training_args.TrainingArguments",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.trainer_utils.HubStrategy"

    How to fix it?

    2.86 kB
    xet
    initial commit over 4 years ago
  • vocab.txt
    232 kB
    initial commit over 4 years ago