Comments (4)
Hi, Longxu,
Thanks! Our implementation uses only 1 interaction in the interaction_batch. This is because (1) it is hard to implement batch_size>1 for interactions, and (2) memory could be an issue when batch_size>1.
The batch_size is used to normalize the loss of each example by dividing the batch_size (https://github.com/ryanzhumich/editsql/blob/master/model/schema_interaction_model.py#L466)
Implementing batch_size>1 for Spider (which is not interaction) is possible, but not available yet...
Best,
Rui
from editsql.
Hi, Rui
Thanks for your prompt reply!
And is there an independent model for Spider? Currently, all those three datasets are trained with the model scheme_interaction_model
. The function train_epoch_with_utterances
trains model for a single epoch given batches of utterance data, but no model has been called in run.py
.
Best,
Longxu
from editsql.
You are welcome. You are correct, train_epoch_with_utterances could be used for Spider. But sorry we currently do not have such an implementation.
from editsql.
Thanks for your job!
from editsql.
Related Issues (20)
- verify results HOT 2
- Some problem with logs/logs_spider_editsql/save_12 HOT 5
- Train and dev pickle files not found
- Does editsql also give a prediction on value in SQL conditions ? HOT 1
- Some questions about repeating the results on SParC. HOT 3
- Beam search decoding? HOT 1
- how to pre-process custom data to be the format of being ready to be trained? HOT 5
- About the GPU resource HOT 10
- Testing on custom questions/queries HOT 5
- How to remove OOV and infer text directly to sql HOT 2
- About word_emb file
- Error: unrecognized arguments in logs/logs_sparc_editsql/valid_use_predicted_queries_predictions.json.eval
- what is the removefrom
- Error on running `run_sparc_editsql.sh` HOT 3
- getting actual values in predicted SQL queries HOT 2
- Retraining on spider dataset doesn't reproduce results, `valid gold-passing STRING_ACCURACY = 0.00`.
- How do I make inferences on custom queries? HOT 1
- problems with run_sparc_edistql.sh and test_sparc_editsql.sh HOT 5
- Is this code applicable to Chinese data?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from editsql.