microsoft / rat-sql

A relation-aware semantic parsing model from English to SQL
https://arxiv.org/abs/1911.04942
MIT License
406 stars 117 forks source link

Error in RATSQL BERT #52

Closed jayetri closed 2 years ago

jayetri commented 3 years ago

When I am training the model using BERT, it runs till 80,990th step. But when i run the eval command, I am running across an exception- 'Attempting to infer on untrained model'. Kindly please help me to resolve this issue. Any help will be really appreciated.

senthurRam33 commented 3 years ago

I think you might be having only one model. But the way in which the expression in eval_steps from spider-bert-run.jsonnet is it will eval a series of models. You might have to change that expression into a particular model step you are having like [80000].

This might not be the solution but if you post the error here, we can understand the source of the problem.