When the terminal asks me if I want to train my bot, I get this message error
Do you want to train an initial model? Yes
Training an initial model…
The configuration for policies and pipeline was chosen automatically. It was written into the config file at ‘./config.yml’.
Training NLU model…
2020-10-06 11:39:43 INFO absl - Using /var/folders/8g/t5lj9bvj77j8qkr115n6zlp80000gn/T/tfhub_modules to cache modules.
2020-10-06 11:39:43 INFO absl - Downloading TF-Hub Module ‘https://github.com/PolyAI-LDN/polyai-models/releases/download/v1.0/model.tar.gz’.
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/utils/train_utils.py”, line 142, in load_tf_hub_model
return tfhub.load(model_url)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/module_v2.py”, line 97, in load
module_path = resolve(handle)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/module_v2.py”, line 53, in resolve
return registry.resolver(handle)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/registry.py”, line 42, in call
return impl(*args, **kwargs)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/compressed_module_resolver.py”, line 88, in call
self._lock_file_timeout_sec())
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/resolver.py”, line 415, in atomic_download
download_fn(handle, tmp_dir)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/compressed_module_resolver.py”, line 83, in download
response = self._call_urlopen(request)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/compressed_module_resolver.py”, line 96, in _call_urlopen
return url.urlopen(request)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
return opener.open(url, data, timeout)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 531, in open
response = meth(req, response)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 641, in http_response
‘http’, request, response, code, msg, hdrs)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 569, in error
return self._call_chain(*args)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
result = func(*args)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File “/Library/Frameworks/Python.framework/Versions/3.7/bin/rasa”, line 10, in sys.exit(main()) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/main.py”, line 113, in main cmdline_arguments.func(cmdline_arguments) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/cli/scaffold.py”, line 218, in run init_project(args, path) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/cli/scaffold.py”, line 128, in init_project print_train_or_instructions(args, path) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/cli/scaffold.py”, line 68, in print_train_or_instructions args.model = rasa.train(domain, config, training_files, output) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/train.py”, line 55, in train loop, File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/utils/common.py”, line 300, in run_in_loop result = loop.run_until_complete(f) File “uvloop/loop.pyx”, line 1456, in uvloop.loop.Loop.run_until_complete File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/train.py”, line 110, in train_async nlu_additional_arguments=nlu_additional_arguments, File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/train.py”, line 207, in _train_async_internal old_model_zip_path=old_model, File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/train.py”, line 246, in _do_training additional_arguments=nlu_additional_arguments, File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/train.py”, line 543, in _train_nlu_with_validated_data **additional_arguments, File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/nlu/train.py”, line 97, in train trainer = Trainer(nlu_config, component_builder) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/nlu/model.py”, line 159, in init self.pipeline = self._build_pipeline(cfg, component_builder) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/nlu/model.py”, line 171, in _build_pipeline component = component_builder.create_component(component_cfg, cfg) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/nlu/components.py”, line 760, in create_component component = registry.create_component_by_config(component_config, cfg) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/nlu/registry.py”, line 163, in create_component_by_config return component_class.create(component_config, config) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/nlu/components.py”, line 464, in create return cls(component_config) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/nlu/tokenizers/convert_tokenizer.py”, line 44, in init self.module = train_utils.load_tf_hub_model(self.model_url) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasa/utils/train_utils.py”, line 146, in load_tf_hub_model return tfhub.load(model_url) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/module_v2.py”, line 97, in load module_path = resolve(handle) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/module_v2.py”, line 53, in resolve return registry.resolver(handle) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/registry.py”, line 42, in call return impl(*args, **kwargs) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/compressed_module_resolver.py”, line 88, in call self._lock_file_timeout_sec()) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/resolver.py”, line 415, in atomic_download download_fn(handle, tmp_dir) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/compressed_module_resolver.py”, line 83, in download response = self._call_urlopen(request) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow_hub/compressed_module_resolver.py”, line 96, in _call_urlopen return url.urlopen(request) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen return opener.open(url, data, timeout) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 531, in open response = meth(req, response) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 641, in http_response ‘http’, request, response, code, msg, hdrs) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 569, in error return self._call_chain(*args) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain result = func(*args) File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found
Can someone help me?