Hi,
I trained a rasa nlu model(using command $rasa train nlu --nlu train_test_split/training_data.yml --domain domains --config all_configs/config_exp.yaml
) and tested the trained model against the same dataset(using command rasa test nlu --nlu train_test_split/training_data.yml --config all_configs/config_exp.yaml --out results/
) to get performance on training set.
I find the intent_errors.json to produce different results when compared to running the same rasa model on command line (using command rasa shell nlu
)
E.g.:
In results/intent_errors.json
....
{
"text": "see you back",
"intent": "nlu_fallback",
"intent_prediction": {
"name": "goodbye",
"confidence": 0.03028026781976223
}
…
On command line:
Next message:
see you back
{
"text": "see you back",
"intent": {
"id": 8927892910707661214,
"name": "nlu_fallback",
"confidence": 0.9697197675704956
},
"entities": [],
"intent_ranking": [
{
"id": 8927892910707661214,
"name": "nlu_fallback",
"confidence": 0.9697197675704956
},
{
"id": -3812479436477113040,
"name": "goodbye",
"confidence": 0.03028026781976223
},
On the command line I get nlu_fallback as the intent with highest confidence but in /intent_errors.json “goodbye” is predicted. Let me know if I am missing something.
Thanks!