Instructions to use RecordedFuture/Swedish-Sentiment-Violence with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RecordedFuture/Swedish-Sentiment-Violence with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="RecordedFuture/Swedish-Sentiment-Violence")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("RecordedFuture/Swedish-Sentiment-Violence") model = AutoModelForSequenceClassification.from_pretrained("RecordedFuture/Swedish-Sentiment-Violence", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
upload flax model
881e0f7 -
allow flax
eebb6c8
-
updated path in config to RecordedFuture
bc523c7
-
another readmefix
3dee1e7 -
fix to classifier loading example in readme
7a9cd8d -
fix to license identifier
0825fd1 -
Added mit licence to readme
7d2e69d
-
fix to readme
a060131 -
r1
8e69bdd -
initial commit
64684cb