Instructions to use tr3cks/2LabelsSentimentAnalysisSpanish with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tr3cks/2LabelsSentimentAnalysisSpanish with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tr3cks/2LabelsSentimentAnalysisSpanish")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tr3cks/2LabelsSentimentAnalysisSpanish") model = AutoModelForSequenceClassification.from_pretrained("tr3cks/2LabelsSentimentAnalysisSpanish", 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.f9e0e99
-
upload flax model
6ce31c4 -
allow flax
5a555ff
-
Update vocab.txt
699d45f -
Update tokenizer_config.json
a730386 -
Update special_tokens_map.json
6c8a834 -
Update pytorch_model.bin
78d7fc6 -
Update config.json
3567dea -
Update config.json
3b43b15 -
initial commit
0f203f6