alanakbik commited on
Commit
0f03b85
•
1 Parent(s): 5064d3a

initial model commit

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -58,8 +58,8 @@ for entity in sentence.get_spans('ner'):
58
 
59
  This yields the following output:
60
  ```
61
- Span [1,2]: "George Washington" [− Labels: PER (0.9968)]
62
- Span [5]: "Washington" [− Labels: LOC (0.9994)]
63
  ```
64
 
65
  So, the entities "*George Washington*" (labeled as a **person**) and "*Washington*" (labeled as a **location**) are found in the sentence "*George Washington went to Washington*".
@@ -92,10 +92,10 @@ embedding_types = [
92
  WordEmbeddings('glove'),
93
 
94
  # contextual string embeddings, forward
95
- FlairEmbeddings('news-forward'),
96
 
97
  # contextual string embeddings, backward
98
- FlairEmbeddings('news-backward'),
99
  ]
100
 
101
  # embedding stack consists of Flair and GloVe embeddings
 
58
 
59
  This yields the following output:
60
  ```
61
+ Span [1,2]: "George Washington" [− Labels: PER (0.9515)]
62
+ Span [5]: "Washington" [− Labels: LOC (0.992)]
63
  ```
64
 
65
  So, the entities "*George Washington*" (labeled as a **person**) and "*Washington*" (labeled as a **location**) are found in the sentence "*George Washington went to Washington*".
 
92
  WordEmbeddings('glove'),
93
 
94
  # contextual string embeddings, forward
95
+ FlairEmbeddings('news-forward-fast'),
96
 
97
  # contextual string embeddings, backward
98
+ FlairEmbeddings('news-backward-fast'),
99
  ]
100
 
101
  # embedding stack consists of Flair and GloVe embeddings