How does one resolve this issue when you train a Bert model in one docker environment, and then curl that resulting model to Rasa X in a different docker container?
So I have set up Rasa-X on an AWS EC2 instance and all was going well until I started using ‘HFTransformersNLP’. Now I get errors saying:
File “/opt/venv/lib/python3.6/site-packages/transformers/tokenization_utils.py”, line 400, in _from_pretrained
raise EnvironmentError(msg)
OSError: Couldn’t reach server at ‘{}’ to download vocabulary files.
and
File "/usr/local/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
from th…