Instructions to use Muhammad7777/e5-small-v2-sentiment-twitter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Muhammad7777/e5-small-v2-sentiment-twitter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Muhammad7777/e5-small-v2-sentiment-twitter")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Muhammad7777/e5-small-v2-sentiment-twitter") model = AutoModelForSequenceClassification.from_pretrained("Muhammad7777/e5-small-v2-sentiment-twitter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
612fe1c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:271dcaa78133386591779b8cd05b30dbff98dbd0a38f45c8747f7bcaae23410d
size 5841
|