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")# 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
File size: 134 Bytes
881e0f7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6111cbe3013a25a577987dd7ffdb0039be3c469e066a374a42741f8cd7bc4ccf
size 498780220
|