saattrupdan
commited on
Commit
•
79f3df3
1
Parent(s):
dc6cdba
Update README.md
Browse files
README.md
CHANGED
@@ -22,11 +22,10 @@ Here is how to use the model:
|
|
22 |
```python
|
23 |
from transformers import BertTokenizer, BertForSequenceClassification
|
24 |
|
25 |
-
model = BertForSequenceClassification.from_pretrained("
|
26 |
-
tokenizer = BertTokenizer.from_pretrained("
|
27 |
```
|
28 |
|
29 |
## Training data
|
30 |
|
31 |
-
The data used for training come from the [Twitter Sentiment](https://danlp-alexandra.readthedocs.io/en/latest/docs/datasets.html#twitsent) and [EuroParl sentiment 2](https://danlp-alexandra.readthedocs.io/en/latest/docs/datasets.html#europarl-sentiment2) datasets.
|
32 |
-
|
|
|
22 |
```python
|
23 |
from transformers import BertTokenizer, BertForSequenceClassification
|
24 |
|
25 |
+
model = BertForSequenceClassification.from_pretrained("alexandrainst/da-bert-tone-subjective-objective")
|
26 |
+
tokenizer = BertTokenizer.from_pretrained("alexandrainst/da-bert-tone-subjective-objective")
|
27 |
```
|
28 |
|
29 |
## Training data
|
30 |
|
31 |
+
The data used for training come from the [Twitter Sentiment](https://danlp-alexandra.readthedocs.io/en/latest/docs/datasets.html#twitsent) and [EuroParl sentiment 2](https://danlp-alexandra.readthedocs.io/en/latest/docs/datasets.html#europarl-sentiment2) datasets.
|
|