Giter Site home page Giter Site logo

Comments (6)

urialon avatar urialon commented on May 26, 2024

Hi,
Please provide more details:

  1. Which data did you use
  2. Which model did you use
  3. Did you trained the model yourself? If so, did you change any parameters from the default values?
  4. What is the problem?

from code2seq.

shangqing-liu avatar shangqing-liu commented on May 26, 2024

Hi, I used my own data on C projects and trained the model by myself. The best f1 seems to reach only 23% and the blue score is much slower.

from code2seq.

shangqing-liu avatar shangqing-liu commented on May 26, 2024

Sir, may I ask you a question what is the meaning of --max_path_length 8 --max_path_width 2 in your preprocess.sh
thanks very much

from code2seq.

urialon avatar urialon commented on May 26, 2024

You can try increasing the number of decoder layers (config.NUM_DECODER_LAYERS) to 2 and their size ( config.DECODER_SIZE ) to 512 in the config file.
Adding more data always helps...

Regarding path length and width -
Please see the paragraph "Path length and width" in Section 4.2 in the PLDI paper

from code2seq.

shangqing-liu avatar shangqing-liu commented on May 26, 2024

sir, have you tested your method on large functions, the experimental results seem to be worse than small functions.

from code2seq.

urialon avatar urialon commented on May 26, 2024

Yes, please see Section 4.1, paragraph "Sensitivity to input length," in the code2seq paper.

from code2seq.

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.