noeminaepli
commited on
Commit
•
ac33016
1
Parent(s):
f4343c5
Update README.md
Browse files
README.md
CHANGED
@@ -19,7 +19,7 @@ The **swiss_german_pos_model** is a part-of-speech tagging model for Swiss Germa
|
|
19 |
|
20 |
### Usage
|
21 |
|
22 |
-
```
|
23 |
from transformers import AutoTokenizer, AutoModelForTokenClassification, pipeline
|
24 |
|
25 |
model = AutoModelForTokenClassification.from_pretrained("noeminaepli/swiss_german_pos_model")
|
@@ -32,7 +32,7 @@ tokens = pos_tagger("Worum söu mes ned chönne?")
|
|
32 |
|
33 |
Output:
|
34 |
|
35 |
-
```
|
36 |
[{'entity_group': 'ADV',
|
37 |
'score': 0.9627313,
|
38 |
'word': 'Worum',
|
|
|
19 |
|
20 |
### Usage
|
21 |
|
22 |
+
```python
|
23 |
from transformers import AutoTokenizer, AutoModelForTokenClassification, pipeline
|
24 |
|
25 |
model = AutoModelForTokenClassification.from_pretrained("noeminaepli/swiss_german_pos_model")
|
|
|
32 |
|
33 |
Output:
|
34 |
|
35 |
+
```json
|
36 |
[{'entity_group': 'ADV',
|
37 |
'score': 0.9627313,
|
38 |
'word': 'Worum',
|