Text Classification
Transformers
PyTorch
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use gsl22/sentiment-analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gsl22/sentiment-analysis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="gsl22/sentiment-analysis")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("gsl22/sentiment-analysis") model = AutoModelForSequenceClassification.from_pretrained("gsl22/sentiment-analysis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.4b01fe8 -
update model card README.md
7533d32 -
End of training
5d2c3e2 -
Training in progress, epoch 10
b3af83b -
Training in progress, epoch 9
6868e1b -
Training in progress, epoch 8
b958f76 -
Training in progress, epoch 7
e9ae389 -
Training in progress, epoch 6
0142481 -
Training in progress, epoch 5
bb4f2fb -
Training in progress, epoch 4
e295bc7 -
Training in progress, epoch 3
f4c8ed8 -
Training in progress, epoch 2
5926651 -
Training in progress, epoch 1
05debc1 -
Training in progress, epoch 1
81834a0 -
Training in progress, epoch 5
ab5dc63 -
Training in progress, epoch 4
d1fd4d9 -
Training in progress, epoch 3
e5f8e0a -
Training in progress, epoch 2
be94bba -
Training in progress, epoch 1
6e8ca99 -
initial commit
7d13452