Getting an Attribute Error

While training the model and installing the dependencies, I keep getting this error :-

AttributeError: module ‘rasa_nlu.config’ has no attribute ‘load’

Here’s a view into the snippet :

Import modules for training

from rasa_nlu.training_data import load_data

!pip install rasa-nlu 0.15.1

==0.11.3

from rasa_nlu.converters import load_data from rasa_nlu.config import RasaNLUConfig from rasa_nlu.model import Trainer

!pip install rasa_nlu 0.11.3

from rasa_nlu import config

loading the nlu training samples

training_data = load_data(“nlu.md”) trainer = Trainer(config.load(“config.yml”))

training the nlu

interpreter = trainer.train(training_data) model_directory = trainer.persist(“./models/nlu”, fixed_model_name=“current”)

Getting this error_

Can someone please help here?