[DOCS] Adds important note about PyTorch version compatibility. (#487)

This commit is contained in:
István Zoltán Szabó 2022-07-13 12:41:35 +02:00 committed by GitHub
parent c97e69410d
commit fbb01e5698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -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
version of your Elasticsearch cluster. For all other features it is sufficient for the major versions
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

View File

@ -38,6 +38,10 @@ model in {es}.
[[ml-nlp-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}.
Models can be either plain PyTorch models, or supported
https://huggingface.co/transformers[transformers] models from the