guxd / deepapi Goto Github PK
View Code? Open in Web Editor NEWRepository for Deep API Learning (DeepAPI)
Home Page: https://guxd.github.io/deepapi
License: MIT License
Repository for Deep API Learning (DeepAPI)
Home Page: https://guxd.github.io/deepapi
License: MIT License
Hello!
Thanks for your amazing work!
I am a researcher at york university and I am trying to reproduce your work. I found some problem here:
I am trying to extract training data from the h5 file using the data loader but I got non-sense labels:
I am sure that this is not a parsing error for the reason that:
The index matches the dictionary:
dictionary:
I am using the original APIdata class
and I decode the api answer using the original script:
Please confirm this problem and upload the most recent valid dataset.
My email is [email protected]
Best,
Moshi
Can you also provide the code or tool for pre-processing source code?
(parsing source code, and extracting api sequences etc.)
Thanks!
I am unable to run the PyTorch code. It is looking for for training h5 file - train.apiseq.shuf.h5
raise IOError("``%s`` does not exist" % (filename,))
OSError: ``./data/train.apiseq.shuf.h5`` does not exist
Where can I get the training files?
Dear Author,
when I tried to run the pytorch part, I found that the ScheduledOptim class could not be referenced in the seq2seq.py file. I did not find this class in modules.py, how can I solve this problem?
Thank you!!!
I downloaded the 120,000. model you trained in the dataset and tested it. The following results were obtained from 1000 test questions,
Avg Recall BLEU 34.955057, Avg Precision BLEU 34.955057, F1 34.955057,Is there a problem there?
Hi,
I am a researcher at York University and I am trying to reproduce your work. Is there any way to use your trained model for performance evaluation now? I saw the readme file says the testing API is not avaliable due to budget.
If not, can you please share the trained model? my email is [email protected]
Regards,
Moshi
I run the code, but encounter an error in Line35 in sample.py.
"name 'vocab' is not defined"
I checked that there seemed no variables named vocab, am i wrong or there existed some typo bugs?
(I am sorry I sent the same content in Pull requests part.
Dear Professor Gu, I was wondering how the training set is generated? When I opened the 'train.apiseq.h5' file, there were two data sets: indices and phrases. What do they each represent? At the same time, the indices data set contains two attributes, length and pos. How is it generated? After I read the paper, I still couldn't understand it, which caused me a lot of trouble. I'm looking forward to get your reply sincerely. Thank you!
Here are some of the data sets I could see.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.