When using LanguageModelFeaturizer to load a pre-trained model during rasa train nlu, an error is reported: “Error initializing graph component for node run_LanguageModelFeaturizer1.”
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType rasa.engine.exceptions.GraphComponentException: Error initializing graph component for node run_LanguageModelFeaturizer1.
rasa:3.6 windows
config.yaml recipe: default.v1
language: zh
pipeline:
-
name: JiebaTokenizer
-
name: LanguageModelFeaturizer model_name: “bert” model_weights: “bert-base-chinese”
-
name: “DIETClassifier” epochs: 100
policies: null assistant_id: 20230618-210312-overcast-quetzal