{"id":22118714,"url":"https://github.com/pcyin/nl2code","last_synced_at":"2025-10-10T16:33:28.078Z","repository":{"id":49353995,"uuid":"88893034","full_name":"pcyin/NL2code","owner":"pcyin","description":"A syntactic neural model for parsing natural language to executable code","archived":false,"fork":false,"pushed_at":"2022-11-12T01:12:53.000Z","size":145,"stargazers_count":186,"open_issues_count":5,"forks_count":33,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-10-10T16:32:45.461Z","etag":null,"topics":["deep-learning","programming-language"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pcyin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-20T17:33:19.000Z","updated_at":"2025-08-03T10:08:33.000Z","dependencies_parsed_at":"2023-01-23T17:01:21.895Z","dependency_job_id":null,"html_url":"https://github.com/pcyin/NL2code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pcyin/NL2code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcyin%2FNL2code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcyin%2FNL2code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcyin%2FNL2code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcyin%2FNL2code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcyin","download_url":"https://codeload.github.com/pcyin/NL2code/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcyin%2FNL2code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004698,"owners_count":26083750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","programming-language"],"created_at":"2024-12-01T13:55:47.305Z","updated_at":"2025-10-10T16:33:28.061Z","avatar_url":"https://github.com/pcyin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NL2code\n\nA syntactic neural model for parsing natural language to executable code [paper](https://arxiv.org/abs/1704.01696). \n\n## Dataset and Trained Models\n\nGet serialized datasets and trained models from [here](https://drive.google.com/drive/folders/0B14lJ2VVvtmJWEQ5RlFjQUY2Vzg). Put `models/` and `data/` folders under the root directory of the project.\n\n## Usage\n\nTo train new model\n\n```bash\n. train.sh [hs|django]\n```\n\nTo use trained model for decoding test sets\n\n```bash\n. run_trained_model.sh [hs|django]\n```\n\n## Dependencies\n\n* Theano\n* vprof\n* NLTK 3.2.1\n* astor 0.6\n\n## Reference\n\n```\n@inproceedings{yin17acl,\n    title = {A Syntactic Neural Model for General-Purpose Code Generation},\n    author = {Pengcheng Yin and Graham Neubig},\n    booktitle = {The 55th Annual Meeting of the Association for Computational Linguistics (ACL)},\n    address = {Vancouver, Canada},\n    month = {July},\n    url = {https://arxiv.org/abs/1704.01696},\n    year = {2017}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcyin%2Fnl2code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcyin%2Fnl2code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcyin%2Fnl2code/lists"}