mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-05 06:00:36 +03:00
Port over changes and add note on compat (see #1445)
This commit is contained in:
parent
2d85ee6b5d
commit
c646365e2f
|
@ -3,6 +3,11 @@
|
||||||
# A decomposable attention model for Natural Language Inference
|
# A decomposable attention model for Natural Language Inference
|
||||||
**by Matthew Honnibal, [@honnibal](https://github.com/honnibal)**
|
**by Matthew Honnibal, [@honnibal](https://github.com/honnibal)**
|
||||||
|
|
||||||
|
> ⚠️ **IMPORTANT NOTE:** This example is currently only compatible with spaCy
|
||||||
|
> v1.x. We're working on porting the example over to Keras v2.x and spaCy v2.x.
|
||||||
|
> See [#1445](https://github.com/explosion/spaCy/issues/1445) for details –
|
||||||
|
> contributions welcome!
|
||||||
|
|
||||||
This directory contains an implementation of the entailment prediction model described
|
This directory contains an implementation of the entailment prediction model described
|
||||||
by [Parikh et al. (2016)](https://arxiv.org/pdf/1606.01933.pdf). The model is notable
|
by [Parikh et al. (2016)](https://arxiv.org/pdf/1606.01933.pdf). The model is notable
|
||||||
for its competitive performance with very few parameters.
|
for its competitive performance with very few parameters.
|
||||||
|
@ -47,13 +52,13 @@ First, install [Keras](https://keras.io/), [spaCy](https://spacy.io) and the spa
|
||||||
English models (about 1GB of data):
|
English models (about 1GB of data):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install https://github.com/fchollet/keras/archive/master.zip
|
pip install https://github.com/fchollet/keras/archive/1.2.2.zip
|
||||||
pip install spacy
|
pip install spacy
|
||||||
python -m spacy.en.download
|
python -m spacy.en.download
|
||||||
```
|
```
|
||||||
|
|
||||||
⚠️ **Important:** In order for the example to run, you'll need to install Keras from
|
⚠️ **Important:** In order for the example to run, you'll need to install Keras from
|
||||||
the master branch (and not via `pip install keras`). For more info on this, see
|
the 1.2.2 release (and not via `pip install keras`). For more info on this, see
|
||||||
[#727](https://github.com/explosion/spaCy/issues/727).
|
[#727](https://github.com/explosion/spaCy/issues/727).
|
||||||
|
|
||||||
You'll also want to get Keras working on your GPU. This will depend on your
|
You'll also want to get Keras working on your GPU. This will depend on your
|
||||||
|
|
Loading…
Reference in New Issue
Block a user