Instructions to use RecordedFuture/Swedish-Sentiment-Fear with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RecordedFuture/Swedish-Sentiment-Fear with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="RecordedFuture/Swedish-Sentiment-Fear")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("RecordedFuture/Swedish-Sentiment-Fear") model = AutoModelForSequenceClassification.from_pretrained("RecordedFuture/Swedish-Sentiment-Fear", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
upload flax model
7764733 -
allow flax
86f0fe2
-
updated path in config to RecordedFuture
7b65a45
-
another readme fix
800f871 -
fix to loading classifier example in readme
b6a482b -
fix to license identifer
ba30f5b -
added mit licence identifier
2602142
-
fix to readme
c4fd6b1 -
R1
c6ee0a4 -
initial commit
d603bba