{"id":32978805,"url":"https://github.com/sriniiyer/codenn","last_synced_at":"2025-11-15T18:01:11.100Z","repository":{"id":42420365,"uuid":"60563775","full_name":"sriniiyer/codenn","owner":"sriniiyer","description":"Summarizing Source Code using a Neural Attention Model - CODENN","archived":false,"fork":false,"pushed_at":"2023-01-23T21:04:53.000Z","size":17605,"stargazers_count":235,"open_issues_count":4,"forks_count":73,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-04-20T08:34:49.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sriniiyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-06T22:01:31.000Z","updated_at":"2024-03-17T05:25:27.000Z","dependencies_parsed_at":"2023-02-13T03:31:24.153Z","dependency_job_id":null,"html_url":"https://github.com/sriniiyer/codenn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sriniiyer/codenn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sriniiyer%2Fcodenn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sriniiyer%2Fcodenn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sriniiyer%2Fcodenn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sriniiyer%2Fcodenn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sriniiyer","download_url":"https://codeload.github.com/sriniiyer/codenn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sriniiyer%2Fcodenn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284597116,"owners_count":27032396,"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-11-15T02:00:06.050Z","response_time":57,"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":[],"created_at":"2025-11-13T06:00:38.078Z","updated_at":"2025-11-15T18:01:11.094Z","avatar_url":"https://github.com/sriniiyer.png","language":"Python","readme":"\n\n\n**Run CODENN**\n\nSee details of CODENN in our paper\n\nSummarizing Source Code using a Neural Attention Model (https://github.com/sriniiyer/codenn/blob/master/summarizing_source_code.pdf)\n\nRequirements\n\n* Torch (http://torch.ch/docs/getting-started.html)\n* Cutorch\n* antlr4 for parsing C# (pip install antlr4-python2-runtime)\n\nSetup environment\n\n`export PYTHONPATH=~/codenn/src/:~/codenn/src/sqlparse`\n`export CODENN_DIR=~/codenn/`\n`export CODENN_WORK=./workdir`\n\nBuild both csharp and sql datasets\n\nInstall modified sqlparse\n\n`cd src/sqlparse/`\n`sudo python setup.py install`\n\nBuild datasets\n\n`cd src/model`\n`./buildData.sh`\n\nTrain codenn models and predict on test set\n\n`./run.sh {sql|csharp}`\n","funding_links":[],"categories":["Software"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsriniiyer%2Fcodenn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsriniiyer%2Fcodenn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsriniiyer%2Fcodenn/lists"}