gap-text2sql icon indicating copy to clipboard operation
gap-text2sql copied to clipboard

How to comprehend the evaluation results?

Open yaoyiyao-yao opened this issue 4 years ago • 1 comments

Hello, when I get the evaluation results,I am not sure the meaning of "predicted_parse_error" and "exact".I guess when "predicted_parse_error" is true it means the model can’t produce a predicted sql,is that right?And I found "exact" has 3 possibilities:true,0 and false,I guess when "exact" is true ,it means the predicted sql is right.But what do 0 and false mean? Thank you.

yaoyiyao-yao avatar Feb 07 '21 09:02 yaoyiyao-yao

You can use the official evaluation script https://github.com/taoyds/spider to evaluate the outputs. For customized evaluation in the codebase, "predicted_parse_error": true means the model cannot produce sql. both 0 and false means the predicted sql is wrong.

Impavidity avatar Aug 20 '21 19:08 Impavidity