Instructions to use Etelis/Sentiment140_XLNET_5E with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Etelis/Sentiment140_XLNET_5E with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Etelis/Sentiment140_XLNET_5E")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Etelis/Sentiment140_XLNET_5E") model = AutoModelForSequenceClassification.from_pretrained("Etelis/Sentiment140_XLNET_5E", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
ac2d0a8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f493e785caf58f1e88274e75e778daa4babb29c5232fda282cc56ae63fa28505
size 469311765
|