tl-codesum's People
Forkers
fan0429 fdgtergrfg jayavardhanr nengnengwu pinjiahe linzeqipku kazuhiradz milkfan smartse natalymr sawan16 mf1832146 maizi0059 chaosdj jiyangzhang kotframe sunxingjie666 lj2lijia shengqiangzhang zoudajia zzxn tenzinjinpa2019 toufiqueparag lunaryan harishgeth upcwanghaibo rongjingao linuer majid-heidary lijiuli999 tanzelin430tl-codesum's Issues
Error while running
Hi, could you please share how can I solve this error. Thanks
usage: main.py [-h] [-v] [--debug] [--reset] [--reset-learning-rate]
[--learning-rate LEARNING_RATE] [--purge] [--crash-test]
[--decode [DECODE [DECODE ...]]]
[--align [ALIGN [ALIGN ...]]] [--eval [EVAL [EVAL ...]]]
[--train] [--save] [--gpu-id GPU_ID] [--no-gpu NO_GPU]
[--beam-size BEAM_SIZE]
[--len-normalization LEN_NORMALIZATION]
[--no-early-stopping] [--ensemble] [--average]
[--checkpoints CHECKPOINTS [CHECKPOINTS ...]]
[--output OUTPUT] [--max-steps MAX_STEPS]
[--max-test-size MAX_TEST_SIZE] [--remove-unk]
[--raw-output] [--pred-edits] [--model-dir MODEL_DIR]
[--batch-size BATCH_SIZE] [--no-fix]
[--max-output-len MAX_OUTPUT_LEN] [--unk-replace]
[--lexicon LEXICON] [--temperature TEMPERATURE]
[--attn-temperature ATTN_TEMPERATURE]
[--align-encoder-id ALIGN_ENCODER_ID] [--tf-seed TF_SEED]
[--seed SEED]
config
main.py: error: unrecognized arguments: ../config/code2nl.yaml ../config/default.yaml ../config/multi_attn.yaml ../config/transfer_fix.yaml ../config/transfer.yaml
Dataset sources
Good morning.
I'm Bernardo Lourenço, a MSc student in Computer Science and Engineering @ Instituto Superior Técnico (Lisbon, Portugal).
I was analyzing the TL-CodeSum dataset and I was thinking to use this dataset to train my model. Can you tell me the repositories where you got each sample of the dataset?
I wish you a good week 😄
Kind regards,
Bernardo Lourenço
Some details on transfer model?
After training the api2nl.yaml configure file and get 0.26 valid score,I start with the transfer.yaml training but only get 0.13 valid score.
Is there any problems in my progress?
Looking forward to your reply!
How many epochs did you train each model?
How many epochs did you train each model mentioned in the paper?
When training the "API-Only" model, part of the log is:
hypotheses:18940, references: 18940
corpus_bleu: 0.0160 avg_score: 0.1902
11/14 21:36:38 valid score=0.0160 avg_score=0.1902
11/14 21:36:38 saving model to ../data_pre/model/api2nl/checkpoints
11/14 21:36:38 finished saving model
11/14 21:48:50 step 56000 epoch 6 learning rate 0.429 step-time 0.364 loss 53.745
11/14 21:49:52 valid eval: loss 56.68
11/14 21:49:52 starting decoding
hypotheses:18940, references: 18940
corpus_bleu: 0.0145 avg_score: 0.1670
11/14 21:51:54 valid score=0.0145 avg_score=0.1670
11/14 21:51:54 saving model to ../data_pre/model/api2nl/checkpoints
11/14 21:51:54 finished saving model
Is "avg_score" BLEU-4 score? If it is, the perf at epoch 6 seem far from 0.2645 reported in paper.
Therefore I'd like to know how many epochs you trained each model.
I trained your model as your protocol, while my result is in ruins, why?
Code or tool for pre-processing source code
Can you also provide the code or tool for pre-processing source code?
(parsing source code, extracting javadoc, and extracting api sequences etc.)
Thanks!
Could you share the code used to get the api sequence of the code?
I am producing the dataset for my project these days, could you share the code for extracting api sequences? Great thanks!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.