Error in Train your Machine Learning NLU Model

I created a file nlu_config.yml for configuration and nlu.md for data. I am trying to train the machine. I ran the following command:

cmd: python -m rasa_nlu.train -c /Users/manojkumarteluguntla/Downloads/nlu_config.yml.rtf --data nlu.md -o models --fixed_model_name nlu --project current --verbose

I am getting this error. I am unable to solve this. I request someone to help me out in this issue.

Error: Traceback (most recent call last): File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py”, line 162, in _run_module_as_main “main”, fname, loader, pkg_name) File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py”, line 72, in _run_code exec code in run_globals File “/Users/manojkumarteluguntla/Library/Python/2.7/lib/python/site-packages/rasa_nlu/train.py”, line 177, in do_train(config.load(cmdline_args.config), File “/Users/manojkumarteluguntla/Library/Python/2.7/lib/python/site-packages/rasa_nlu/config.py”, line 47, in load “’{}’. Error: {}”.format(filename, e)) rasa_nlu.config.InvalidConfigError: Failed to read configuration file ‘/Users/manojkumarteluguntla/Downloads/nlu_config.yml.rtf’. Error: while parsing a flow mapping in “”, line 1, column 1: {\rtf1\ansi\ansicpg1252\cocoartf1671 ^ expected ‘,’ or ‘}’, but got ‘{’ in “”, line 2, column 1: {\fonttbl\f0\fswiss\fcharset0 He … ^

Thanks in Advance.

can you show your nlu_config.yml file

Here is the content of nlu_config.yml file

language: en pipeline: tensorflow_embedding

hey @Teluguntla123 try changing the content in this way n check :

language: “en” pipeline: “tensorflow_embedding”

might be u r missing the double quotes :sweat_smile: