Giter VIP home page Giter VIP logo

docchecker's People

Contributors

vananh0905 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

raymondinsh

docchecker's Issues

Remarks as a user (README, model load, and Java docstrings)

Hi, thanks for your valuable work. I found this a relatively easy-to-use baseline in my work, and I would like to thank you for your efforts. With that said, I wondered if the following aspects could be improved:

  • In the README, you mention that there is a demo for DocChecker at http://4.193.50.237:5000/ . However, neither my browser nor ping could access the IP address specified. Either the README should be updated, or the server should be set up again.
  • When I tried to load the model, I got an error saying that there were unexpected attributes in the weight file (I don't really want to recreate the error right now, but it was something to the tune of encoder.embeddings.position_ids and three others being unexpected). I solved this problem by modifying the model load part of the code as in the code block below. I wonder if you had encountered similar problems?
model_to_load.load_state_dict(..., strict=False)
  • For Java, I initially found it strange that the library would not detect docstrings, which are the usual way of method-level documentation for Java. Instead, only single-line inline comments seem to be detected (// I am a comment). I wonder if the authors could add an option to include docstrings? I tried changing the get_comment function in utils.py so that it would use parser.get_docstring_node(raw_code), but that still failed to detect the docstrings.

In any case, once again thank you for your efforts, and I hope my remarks are useful to you.

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.