Closed joffreyvillard closed 5 years ago
@joffreyvillard Thanks for reporting this, I'm investigating the issue.
@joffreyvillard,
This issue has been fixed in the latest release (0.20.0
) of snips-nlu.
This release is model breaking, meaning that the trainings generated with snips-nlu<0.20.0
cannot be loaded with this version. Instead, the NLU engines must be re-trained.
Very nice, thanks for the quick resolution (well noted for the breaking upgrade)!
Hi,
I'm experiencing consistent crash when training on a specific dataset (using Snips-NLU 0.19.7, but got the same results with 0.19.4), with the following error messages:
I've spent hard time reducing the problem to a minimum, and here are the results of my tests:
Entities
I defined 2 custom entities in separate files:
Intent
Then, I defined only 1 intent "query" with 1 or 2 sentences. I found several cases described below:
With only 1 of these sentences, training is successful and fast (<5 seconds on my laptop)
OR
With the 2 sentences above put together, it fails
With a slightly different datetime value for the first sentence, it works well
"in the 2nd quarter of 2015" instead of "2nd quarter 2015"
With a slightly different filter value for the second sentence, it works but takes more than 30 seconds to train
"REF-210000" instead of "REF-2100005"
With yet another different filter value for the second sentence, it works well (<5 seconds)
"REF-2100" instead of "REF-2100005"
Backtrace
As instructed in the error message, I've run the training with
RUST_BACKTRACE=1
, here is the complete output: