Giter Club home page Giter Club logo

Comments (4)

ryanzhumich avatar ryanzhumich commented on August 18, 2024

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.

longxudou avatar longxudou commented on August 18, 2024

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.

ryanzhumich avatar ryanzhumich commented on August 18, 2024

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.

longxudou avatar longxudou commented on August 18, 2024

Thanks for your job!

from editsql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.