Skip to content

Commit

Permalink
Add allennlp version for elmo embedding doc
Browse files Browse the repository at this point in the history
Added version 0.9.0 of allennlp in docs for easier debugging of allennlp issues. Referenced here: flairNLP#1729 and flairNLP#1734
  • Loading branch information
atakanokan authored Feb 20, 2021
1 parent 9a53e4c commit 4476973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/docs/embeddings/ELMO_EMBEDDINGS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
a bidirectional recurrent neural network to predict the next word in a text.
We are using the implementation of [AllenNLP](https://allennlp.org/elmo). As this implementation comes with a lot of
sub-dependencies, which we don't want to include in Flair, you need to first install the library via
`pip install allennlp` before you can use it in Flair.
`pip install allennlp==0.9.0` before you can use it in Flair.
Using the embeddings is as simple as using any other embedding type:

```python
Expand Down

0 comments on commit 4476973

Please sign in to comment.