saattrupdan
commited on
Commit
•
f7057d7
1
Parent(s):
9fe6e24
Update README.md
Browse files
README.md
CHANGED
@@ -1,16 +1,9 @@
|
|
1 |
---
|
2 |
language:
|
3 |
- da
|
4 |
-
tags:
|
5 |
-
- ner
|
6 |
-
- bert
|
7 |
-
- pytorch
|
8 |
-
- transformers
|
9 |
license: cc-by-sa-4.0
|
10 |
datasets:
|
11 |
-
-
|
12 |
-
metrics:
|
13 |
-
- f1
|
14 |
widget:
|
15 |
- text: "Jens Peter Hansen kommer fra Danmark"
|
16 |
---
|
@@ -27,8 +20,8 @@ Here is how to use the model:
|
|
27 |
```python
|
28 |
from transformers import BertTokenizer, BertForTokenClassification
|
29 |
|
30 |
-
model = BertForTokenClassification.from_pretrained("
|
31 |
-
tokenizer = BertTokenizer.from_pretrained("
|
32 |
```
|
33 |
|
34 |
## Training Data
|
|
|
1 |
---
|
2 |
language:
|
3 |
- da
|
|
|
|
|
|
|
|
|
|
|
4 |
license: cc-by-sa-4.0
|
5 |
datasets:
|
6 |
+
- dane
|
|
|
|
|
7 |
widget:
|
8 |
- text: "Jens Peter Hansen kommer fra Danmark"
|
9 |
---
|
|
|
20 |
```python
|
21 |
from transformers import BertTokenizer, BertForTokenClassification
|
22 |
|
23 |
+
model = BertForTokenClassification.from_pretrained("alexandrainst/da-bert-ner")
|
24 |
+
tokenizer = BertTokenizer.from_pretrained("alexandrainst/da-bert-ner")
|
25 |
```
|
26 |
|
27 |
## Training Data
|