mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
[DOCS] Adds important note about PyTorch version compatibility. (#487)
This commit is contained in:
parent
c97e69410d
commit
fbb01e5698
@ -54,6 +54,8 @@ $ conda install -c conda-forge eland
|
|||||||
If you are using the NLP with PyTorch feature make sure your Eland minor version matches the minor
|
If you are using the NLP with PyTorch feature make sure your Eland minor version matches the minor
|
||||||
version of your Elasticsearch cluster. For all other features it is sufficient for the major versions
|
version of your Elasticsearch cluster. For all other features it is sufficient for the major versions
|
||||||
to match.
|
to match.
|
||||||
|
- You need to use PyTorch `1.11.0` or earlier to import an NLP model.
|
||||||
|
Run `pip install torch==1.11` to install the aproppriate version of PyTorch.
|
||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
|
@ -38,6 +38,10 @@ model in {es}.
|
|||||||
[[ml-nlp-pytorch]]
|
[[ml-nlp-pytorch]]
|
||||||
=== Natural language processing (NLP) with PyTorch
|
=== Natural language processing (NLP) with PyTorch
|
||||||
|
|
||||||
|
|
||||||
|
IMPORTANT: You need to use PyTorch `1.11.0` or earlier to import an NLP model.
|
||||||
|
Run `pip install torch==1.11` to install the aproppriate version of PyTorch.
|
||||||
|
|
||||||
For NLP tasks, Eland enables you to import PyTorch trained BERT models into {es}.
|
For NLP tasks, Eland enables you to import PyTorch trained BERT models into {es}.
|
||||||
Models can be either plain PyTorch models, or supported
|
Models can be either plain PyTorch models, or supported
|
||||||
https://huggingface.co/transformers[transformers] models from the
|
https://huggingface.co/transformers[transformers] models from the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user