Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates model deployment commands using Eland and Docker #2651

Merged
merged 2 commits into from
Jan 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions docs/en/stack/ml/nlp/ml-nlp-deploy-models.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ eland_import_hub_model
--cloud-id <cloud-id> \ <1>
-u <username> -p <password> \ <2>
--hub-model-id elastic/distilbert-base-cased-finetuned-conll03-english \ <3>
--task-type ner \ <4>
--task-type ner <4>
--------------------------------------------------
// NOTCONSOLE
--
Expand All @@ -103,20 +103,10 @@ https://www.elastic.co/guide/en/elasticsearch/client/eland/current/machine-learn
[[ml-nlp-import-docker]]
=== Import with Docker

IMPORTANT: To use the Docker container, you need to clone the Eland repository:
https://github.com/elastic/eland

If you want to use Eland without installing it, clone the Eland repository and
from the root directory run the following to build the Docker image:

```bash
$ docker build -t elastic/eland .
```

You can now use the container interactively:
If you want to use Eland without installing it, run the following command:

```bash
$ docker run -it --rm --network host elastic/eland
$ docker run -it --rm --network host docker.elastic.co/eland/eland
```

The `eland_import_hub_model` script can be run directly in the docker command:
Expand Down