Text Classification
Transformers
Safetensors
Icelandic
roberta
icelandic
sentiment-analysis
sequence-classification
social-media
text-embeddings-inference
Instructions to use AMBJ24/icelandic-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AMBJ24/icelandic-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AMBJ24/icelandic-sentiment")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AMBJ24/icelandic-sentiment") model = AutoModelForSequenceClassification.from_pretrained("AMBJ24/icelandic-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from AMBJ24/icelandic-sentiment: direct link, hf CLI and curl.
- Browser
- Download file 935 kB
-
https://huggingface.co/AMBJ24/icelandic-sentiment/resolve/main/vocab.json
- Command line
-
hf download hf://AMBJ24/icelandic-sentiment/vocab.json
-
curl -L -o vocab.json https://huggingface.co/AMBJ24/icelandic-sentiment/resolve/main/vocab.json
935 kB
File too large to display, you can check the raw version instead.