Instructions to use alexandrainst/da-emotion-classification-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alexandrainst/da-emotion-classification-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alexandrainst/da-emotion-classification-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("alexandrainst/da-emotion-classification-base") model = AutoModelForSequenceClassification.from_pretrained("alexandrainst/da-emotion-classification-base") - Notebooks
- Google Colab
- Kaggle
Commit ·
673d12b
1
Parent(s): 60e8e70
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- da
|
| 4 |
-
license:
|
| 5 |
widget:
|
| 6 |
- text: Jeg ejer en rød bil og det er en god bil.
|
| 7 |
---
|
|
@@ -35,5 +35,4 @@ tokenizer = BertTokenizer.from_pretrained("alexandrainst/da-emotion-classificati
|
|
| 35 |
|
| 36 |
## Training data
|
| 37 |
|
| 38 |
-
The data used for training has not been made publicly available. It consists of social media data manually annotated in collaboration with Danmarks Radio.
|
| 39 |
-
|
|
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- da
|
| 4 |
+
license: apache-2.0
|
| 5 |
widget:
|
| 6 |
- text: Jeg ejer en rød bil og det er en god bil.
|
| 7 |
---
|
|
|
|
| 35 |
|
| 36 |
## Training data
|
| 37 |
|
| 38 |
+
The data used for training has not been made publicly available. It consists of social media data manually annotated in collaboration with Danmarks Radio.
|
|
|