lil-lab / atis

MIT License
46 stars 16 forks source link

Introduction in configuring and running to application #5

Open srikanthneostar opened 5 years ago

srikanthneostar commented 5 years ago

Hi We are intreasted in using this application as part of our development. Wanted to know if you could explain how to setup the application and configure our database to it.. and by the way our database is MSSQL database.

alsuhr-c commented 5 years ago

I think it depends on what data you have already to train a model. We don't provide pretrained models (and those would be specific to ATIS anyway, so probably will not work on your data). If you have data in the correct format (i.e., sequences of utterances paired with queries), you should be able to train a model (see train.sh).

I used MySQL, not MSSQL (and I don't really know the difference) but the main thing you might need to change is how you are executing the queries for evaluation (see sql_util.py, it imports pymysql which is used to execute MySQL queries but I don't know how this works with MSSQL. There might be a Python interface for it.)

You may also want to check if AllenNLP has context-dependent semantic parsing tools available (they have been working on it recently, e.g., Lin et al. 2019 -- https://arxiv.org/abs/1905.13326).