Hi Rasa community,
I’m using rasa to build a bot in German language and want to try out BERT in LanguageModelFeaturizer
. From https://huggingface.co/transformers/pretrained_models.html, the model “bert-base-german-cased” works well.
However “bert-base-german-dbmdz-cased”, “bert-base-german-dbmdz-uncased” and “distilbert-base-german-cased” doesn’t work and give me an OSError:
OSError: Can’t load weights for ‘distilbert-base-german-cased’. Make sure that:
- ‘distilbert-base-german-cased’ is a correct model identifier listed on ‘Models - Hugging Face’
- or ‘distilbert-base-german-cased’ is the correct path to a directory containing a file named one of tf_model.h5, pytorch_model.bin.
OSError: Couldn’t reach server at ‘https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-cased-config.json’ to download configuration file or configuration file is not a valid JSON file.
Is there something wrong here? Does anyone face the same issue? Or are those model still not supported by Rasa?
Beside I saw some XLM model which support German language like “xlm-mlm-ende-1024”, but xlm ist not listed in the document of LanguageModelFeaturizer
. So it is still not supported?
Thanks in advance:)