Giter Site home page Giter Site logo

pretrained model? about csgnet HOT 3 CLOSED

hippogriff avatar hippogriff commented on June 4, 2024
pretrained model?

from csgnet.

Comments (3)

Hippogriff avatar Hippogriff commented on June 4, 2024 1

Updated README.md with pre-trained model link. Thanx.

from csgnet.

adrelino avatar adrelino commented on June 4, 2024

How was the uploaded pre-trained model trained? Considering it's name, it seems like the hyperparameters set in config_synthetic.xml (but with encoder_drop = 0.0 instead of 0.2) and train_synthetic.py was used.

Especially I am interested in the training/val/test split used so I can do an experiment comparable to yours. In train_synthetic, only dataset sizes k=3,5,7 appear, but in test_synthetic, you also have 9,11,13... Would be grateful for your help trying to reproduce your results or at least be able to compare to them...

from csgnet.

Hippogriff avatar Hippogriff commented on June 4, 2024

If it was not clear, dropout was used only in the decoder because the number of parameters in the decoder were really large.
If you want to train on larger sequence of programs use this in the training script too:

data_labels_paths = {3: "data/synthetic/one_op/expressions.txt",
                     5: "data/synthetic/two_ops/expressions.txt",
                     7: "data/synthetic/three_ops/expressions.txt",
                     9: "data/synthetic/four_ops/expressions.txt",
                     11: "data/synthetic/five_ops/expressions.txt",
                     13: "data/synthetic/six_ops/expressions.txt"}
# first element of list is num of training examples, and second is number of
# testing examples.
proportion = config.proportion  # proportion is in percentage. vary from [1, 100].
dataset_sizes = {
    3: [30000, 50 * proportion],
    5: [110000, 500 * proportion],
    7: [170000, 500 * proportion],
    9: [270000, 500 * proportion],
    11: [370000, 1000 * proportion],
    13: [370000, 1000 * proportion]
}

from csgnet.

Related Issues (5)

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.