naver / sqlova

Apache License 2.0
632 stars 168 forks source link

How can I evaluate the pre-trained model on WikiSQL? #75

Open geajack opened 2 years ago

geajack commented 2 years ago

I'm trying to evaluate the pre-trained model on WikiSQL, but the instructions in the README seem to be outdated. What I've tried to do is run

python3 train.py --trained

after uncommenting lines 657-664 in train.py. But I get:

FileNotFoundError: [Errno 2] No such file or directory: './data_and_model/test_tok.jsonl'

I'm not sure where to get the test_tok.jsonl file.

YiQuanMarx commented 1 year ago

I'm trying to evaluate the pre-trained model on WikiSQL, but the instructions in the README seem to be outdated. What I've tried to do is run

python3 train.py --trained

after uncommenting lines 657-664 in train.py. But I get:

FileNotFoundError: [Errno 2] No such file or directory: './data_and_model/test_tok.jsonl'

I'm not sure where to get the test_tok.jsonl file.

You can find someone else ask the same question in the history:https://github.com/naver/sqlova/issues/4