R Training data format of 'data\stories.yml' is 'unk'

@manojbanoth actions.py (4.8 KB) config.yml (1.3 KB) credentials.yml (980 Bytes) domain.yml (4.9 KB) endpoints.yml (1.4 KB) nlu.yml (4.7 KB) requirements (4.2 KB) stories.yml (888 Bytes) rules.yml (555 Bytes)

If it is running, please close this thread as a solution for others? Thanks

@nik202 Thanks for the help. I learned a lot from the above error

1 Like

@manojbanoth Glad It help you.Good Luck and Keep safe! :slight_smile:

Hi, I’m getting the same error (stories.yml is ‘unk’) + the UserWarning: Issue found while processing ‘data\nlu.yml’: The item contains an example that doesn’t start with a ‘-’ symbol; This training example will be skipped.

I compared your indentation and new lines in the files you posted earlier with my files after which I haven’t found any errors.

please help.nlu.yml (1.6 KB) stories.yml (4.5 KB)

@BornaGajic Ok let me see. @BornaGajic You both the files are correct and even check with yml, please delete all the other models and train the model again and run. If still do share me screenshot of error. Good Luck!

1 Like

I deleted all the models and retrained but unfortunately, the error is still here along with the ‘unk’.

and so on…

@BornaGajic Copy the content delete the file from the folder and create new files with the name nlu.yml and stories.yml and paste the content.

@nik202 prints the same output

@nik202 I think the error is the domain.yml file. That’s what we last solved this type of error

@manojbanoth I was also thinking the same, but I guess there can be some other issue also, as file name is not in nlu format and it should rasa_yml and unk. It can be inter-related error also.

@nik202 @manojbanoth

So I was able to find the problem of the UserWarning where the item didn’t start with the ‘-’ symbol :rofl: image image

Character with the Dec of 45 is the good one

‘unk’ is still here, but is that really a problem? I mean would it pose problems in the future?

@BornaGajic Well personally saying, I never encountered this error, since 2 and half years of working with Rasa Open Source. But, still thanks for the information about this issue.

@nik202 " -" This type of error is mostly due to the type of editor [like notepad++, notepad] one who uses

@nik202 :grin: @manojbanoth yeah I mostly copy pasted the file content from another website so that’s why I was able to find that flaw

Anyhow, is ‘unk’ really a problem?

I am also curious if unk is problem.