I use RASA 3 for Chinese chatbot. But when training, some error message appear. Is there somebody can help?
2021-12-09 17:15:15 DEBUG urllib3.connectionpool - https://huggingface.co:443 "HEAD /bert-base-chinese/resolve/main/config.json HTTP/1.1" 200 0
2021-12-09 17:15:15 DEBUG urllib3.connectionpool - Starting new HTTPS connection (1): huggingface.co:443
2021-12-09 17:15:16 DEBUG urllib3.connectionpool - https://huggingface.co:443 "HEAD /bert-base-chinese/resolve/main/tf_model.h5 HTTP/1.1" 302 0
Some layers from the model checkpoint at bert-base-chinese were not used when initializing TFBertModel: ['nsp___cls', 'mlm___cls']
- This IS expected if you are initializing TFBertModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing TFBertModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
All the layers of TFBertModel were initialized from the model checkpoint at bert-base-chinese.
If your task is similar to the task the model of the checkpoint was trained on, you can already use TFBertModel for predictions without further training.
2021-12-09 17:15:19 DEBUG rasa.engine.graph - Node 'run_LanguageModelFeaturizer1' running 'LanguageModelFeaturizer.process_training_data'.
Traceback (most recent call last):
File "/root/miniconda/envs/rasa301/lib/python3.8/site-packages/rasa/engine/graph.py", line 461, in __call__
output = self._fn(self._component, **run_kwargs)
File "/root/miniconda/envs/rasa301/lib/python3.8/site-packages/rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py", line 731, in process_training_data
batch_docs = self._get_docs_for_batch(batch_messages, attribute)
File "/root/miniconda/envs/rasa301/lib/python3.8/site-packages/rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py", line 688, in _get_docs_for_batch
2021-12-09 17:15:19 DEBUG urllib3.connectionpool - Starting new HTTPS connection (1): o251570.ingest.sentry.io:443
) = self._get_model_features_for_batch(
File "/root/miniconda/envs/rasa301/lib/python3.8/site-packages/rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py", line 619, in _get_model_features_for_batch
sequence_hidden_states = self._compute_batch_sequence_features(
File "/root/miniconda/envs/rasa301/lib/python3.8/site-packages/rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py", line 469, in _compute_batch_sequence_features
model_outputs = self.model(
File "/root/miniconda/envs/rasa301/lib/python3.8/site-packages/keras/engine/base_layer.py", line 1037, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/root/miniconda/envs/rasa301/lib/python3.8/site-packages/transformers/models/bert/modeling_tf_bert.py", line 1129, in call
outputs = self.bert(
File "/root/miniconda/envs/rasa301/lib/python3.8/site-packages/keras/engine/base_layer.py", line 1037, in __call__