Invalid syntax error while training rasa

regarding an issue in training the rasa model

from rasa_nlu.training_data import load_data from rasa_nlu.config import RasaNLUModelConfig from rasa_nlu.model import Trainer from rasa_nlu import config

training_data = load_data(“data/”)

trainer = Trainer(config.load(“config.yaml”))

interpreter = trainer.train(training_data)

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

import json

def print(o): print(json.dumps(o, indent=2))

Getting a invalid syntax: syntax error at interpreter=trainer.train(training_data)

Please help me with this as soon as possible.