Skip to content

Commit 6121ca6

Browse files
committed
Merge branch 'models_and_tutorials' of https://github.com/flairNLP/flair into models_and_tutorials
2 parents 64765fe + fc4aa4f commit 6121ca6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

resources/docs/TUTORIAL_TAGGING_NER.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ To tag a German sentence, just load the appropriate model:
8686
```python
8787

8888
# load model
89-
tagger = Classifier.load('de-ner')
89+
tagger = Classifier.load('de-ner-large')
9090

9191
# make German sentence
9292
sentence = Sentence('George Washington ging nach Washington.')

resources/docs/TUTORIAL_TAGGING_OVERVIEW.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ A common question that gets asked is **how to access these predictions directly*
4747
the `get_labels()` method to iterate over all predictions:
4848

4949
```python
50-
for label in sentence.get_labels('ner'):
50+
for label in sentence.get_labels():
5151
print(label)
5252
```
5353
This should print the two NER predictions:
@@ -87,5 +87,4 @@ the text of label.data_point is: "Washington"
8787

8888
## Next
8989

90-
Now, let us look at how to use different [word embeddings](/resources/docs/TUTORIAL_3_WORD_EMBEDDING.md) to embed your
91-
text.
90+
You can check out all tutorial chapters listed above. We recommend starting with [Tutorial 2.1: How to use **Named Entity Recognition** models](/resources/docs/TUTORIAL_TAGGING_NER.md).

0 commit comments

Comments
 (0)