Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use marcelcastrobr/sagemaker-distilbert-emotion-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use marcelcastrobr/sagemaker-distilbert-emotion-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="marcelcastrobr/sagemaker-distilbert-emotion-2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("marcelcastrobr/sagemaker-distilbert-emotion-2") model = AutoModelForSequenceClassification.from_pretrained("marcelcastrobr/sagemaker-distilbert-emotion-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
e148650 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:590ea92be874becebbc4326548b36910da9c64156bec9847fc9bbc1a53464f21
size 2991
|