mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Fix path in docker model upload example (#726)
This commit is contained in:
parent
5253501704
commit
03af8a6319
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user