Instructions to use philschmid/distilbert-base-uncased-emotion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philschmid/distilbert-base-uncased-emotion with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="philschmid/distilbert-base-uncased-emotion")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("philschmid/distilbert-base-uncased-emotion") model = AutoModelForSequenceClassification.from_pretrained("philschmid/distilbert-base-uncased-emotion", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update requirements.txt
d12ff2a -
add custom handler
3ed65c3 -
Delete pipeline.py
bb62ee0 -
Delete __pycache__/pipeline.cpython-37.pyc
64ce9ea
-
Update README.md
4ac4581 -
add custom pipeline
07b4bca -
Delete tf_model.h5
394ddf5 -
Delete convert_pytorch_to_tensorflow.py
9f12928 -
Delete convert_pytorch_to_flax.py
37eff80 -
Delete convert_flax_to_pytorch.py
bff6889 -
Delete flax_model.msgpack
3390c8d -
Update README.md
2683e51 -
Upload vocab.txt
3560b32 -
Upload tokenizer_config.json
7ce5055 -
Upload tf_model.h5 with git-lfs
899fe86 -
Upload special_tokens_map.json
e51cb39 -
Upload pytorch_model.bin with git-lfs
2028d91 -
Upload flax_model.msgpack with git-lfs
419e74d -
Upload convert_pytorch_to_tensorflow.py
6b12af7 -
Upload convert_pytorch_to_flax.py
8b41d3d -
Upload convert_flax_to_pytorch.py
8e2a3c8 -
Upload config.json
c1d3270 -
Upload README.md
5e3ec76 -
initial commit
d52e6c0