Docker | How can i use docker correctly, is there some detail docs?

[root@localhost multiplition]# docker run -it -v $(pwd):/app/multiplition -v $(pwd)/models/dialogue:/app/multiplition/models/dialogue rasa/rasa_core:latest run python -m rasa_core_sdk.endpoint --actions actions & python -m rasa_core.run -d models/dialogue --debug --endpoints endpoints.yml [15] 33724 2019-02-23 12:04:13 INFO root - Rasa process starting 2019-02-23 12:04:18.672489: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-02-23 12:04:20 DEBUG rasa_core.utils - Available web server routes: static HEAD, OPTIONS, GET /static/[filename] custom_webhook_CmdlineInput.health HEAD, OPTIONS, GET /webhooks/rest/ custom_webhook_CmdlineInput.receive OPTIONS, POST /webhooks/rest/webhook 2019-02-23 12:04:20 INFO root - Rasa Core server is up and running on http://localhost:5005 Bot loaded. Type a message and press enter (use ‘/stop’ to exit): [13] killed python -m rasa_core.run -d models/dialogue --debug --endpoints endpoints.yml

[15]- stoped docker run -it -v $(pwd):/app/multiplition -v $(pwd)/models/dialogue:/app/multiplition/models/dialogue rasa/rasa_core:latest run python -m rasa_core_sdk.endpoint --actions actions

[16]+ stoped python -m rasa_core.run -d models/dialogue --debug --endpoints endpoints.yml

[root@localhost multiplition]# docker run -it -v $(pwd):/app/multiplition -v $(pwd)/models/nlu:/app/multiplition/models/nlu rasa/rasa_nlu:latest run python -m rasa_nlu.train -c multiplition/config_jieba_mitie_sklearn.yml --fixed_model_name current --data multiplition/data/nlu/ -o models --project nlu --verbose Error loading MITIE model file: data/total_word_feature_extractor_zh.dat Unable to open data/total_word_feature_extractor_zh.dat for reading. Traceback (most recent call last): File “/usr/local/lib/python3.6/runpy.py”, line 193, in _run_module_as_main “main”, mod_spec) File “/usr/local/lib/python3.6/runpy.py”, line 85, in _run_code exec(code, run_globals) File “/app/rasa_nlu/train.py”, line 170, in num_threads=cmdline_args.num_threads) File “/app/rasa_nlu/train.py”, line 133, in do_train trainer = Trainer(cfg, component_builder) File “/app/rasa_nlu/model.py”, line 144, in init self.pipeline = self._build_pipeline(cfg, component_builder) File “/app/rasa_nlu/model.py”, line 156, in _build_pipeline component_name, cfg) File “/app/rasa_nlu/components.py”, line 422, in create_component cfg) File “/app/rasa_nlu/registry.py”, line 134, in create_component_by_name return component_clz.create(config) File “/app/rasa_nlu/utils/mitie_utils.py”, line 51, in create extractor = mitie.total_word_feature_extractor(model_file) File “/usr/local/lib/python3.6/site-packages/mitie/mitie.py”, line 831, in init raise Exception("Unable to load total_word_feature_extractor detector from " + to_default_str_type(filename)) Exception: Unable to load total_word_feature_extractor detector from data/total_word_feature_extractor_zh.dat

I can’t download anything from this link. Could you explain it more to me. I really want to know about it. Thank you so much - manitgames.

My pipeline:

language: “zh”

pipeline:

  • name: “nlp_mitie”
  • model: “data/total_word_feature_extractor_zh.dat
  • name: “tokenizer_jieba”
  • name: “ner_mitie”
  • name: “ner_synonyms”
  • name: “intent_entity_featurizer_regex”
  • name: “intent_featurizer_mitie”
  • name: “intent_classifier_sklearn”

command: docker run -it -v $(pwd):/app/multiplition -v $(pwd)/models/nlu:/app/multiplition/models/nlu rasa/rasa_nlu:latest run python -m rasa_nlu.train -c multiplition/config_jieba_mitie_sklearn.yml --fixed_model_name current --data multiplition/data/nlu/ -o models --project nlu --verbose

Get Error: Unable to load total_word_feature_extractor detector from data/total_word_feature_extractor_zh.dat

I solved it.

how did you solve the problem

do the right path