Fix path in docker model upload example (#726)

This commit is contained in:
David Kyle 2024-10-01 08:53:28 +01:00 committed by GitHub
parent 5253501704
commit 03af8a6319
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -140,10 +140,10 @@ the model directory, so the container can read the files:
[source,bash] [source,bash]
---- ----
docker run --mount type=bind,source=/PATH/TO/MODELS,destination=/models,readonly -it --rm docker.elastic.co/eland/eland \ docker run --mount type=bind,source=/PATH/TO/MODEL,destination=/model,readonly -it --rm docker.elastic.co/eland/eland \
eland_import_hub_model \ eland_import_hub_model \
--url 'XXXX' \ --url 'XXXX' \
--hub-model-id /models/bert-base-NER \ --hub-model-id /model \
--task-type ner \ --task-type ner \
--es-username elastic --es-password XXX \ --es-username elastic --es-password XXX \
--es-model-id bert-base-ner --es-model-id bert-base-ner