saattrupdan
commited on
Commit
•
d2638f7
1
Parent(s):
cb877ad
Update README.md
Browse files
README.md
CHANGED
@@ -15,8 +15,8 @@ Here is how to use the model:
|
|
15 |
```python
|
16 |
from transformers import XLMRobertaTokenizer, XLMRobertaForSequenceClassification
|
17 |
|
18 |
-
model = XLMRobertaForSequenceClassification.from_pretrained("alexandrainst/da-
|
19 |
-
tokenizer = XLMRobertaTokenizer.from_pretrained("alexandrainst/da-
|
20 |
```
|
21 |
|
22 |
The tokenizer takes 2 strings has input: the sentence and the knowledge graph (KG) context.
|
|
|
15 |
```python
|
16 |
from transformers import XLMRobertaTokenizer, XLMRobertaForSequenceClassification
|
17 |
|
18 |
+
model = XLMRobertaForSequenceClassification.from_pretrained("alexandrainst/da-ned-base")
|
19 |
+
tokenizer = XLMRobertaTokenizer.from_pretrained("alexandrainst/da-ned-base")
|
20 |
```
|
21 |
|
22 |
The tokenizer takes 2 strings has input: the sentence and the knowledge graph (KG) context.
|