rencos's People
Forkers
sustc11612405 jerrysheep zeovan dongzhou1979 bibosx0 chenw23 xiongshou rishab-32 zoudajia 759713112 toufiqueparag na-cw xiaoxiaoyi123 drsunithaevrencos's Issues
Upload Trained Model Weights
Hi, would it be possible to upload the weights for the model which you trained in your paper? I would like to try out the comment generation without having to train the model, which is very resource and time intensive.
可以提供一个如何生成python数据集对应的AST的代码吗
https://docs.python.org/2/library/ast.html
这个可以提供一下代码吗
Could you please upload the code of how to generate train/test.ast.src
I want to use my own dataset to run this model.
so could you give me the code of how how to generate rain/test.ast.src.
Thank you very much.
Attention information
Dear Author:
I am trying to visualize the attention, but I can find where the attention information was stored. Could you tell me where the attention information store? And Which step? Thank you!
Dataset used after duplication removal and setting code length and comment length to 300 and 30 respectively?
Hi, can you please share the dataset used after duplication removal and setting code length and comment length to 300 and 30 respectively?
Is there a problem with the test set data?
The test.txt.src has 8714 lines, but the test.spl.src only has 6789 lines.In train or valid set,the lines of txt.src are the same as spl.src
I need your help!!
It looks like there is a bug in dataset_base.py
In line 39
should it be return super(DatasetBase, self).__reduce_ex__(proto)
?
In addition, if the trained model is too large, can you please provide the summaries and its reference generated by translate?
run preprocess error
I run "python run.py preprocess java" have the error:
Traceback (most recent call last):
File "preprocess.py", line 170, in
main()
File "preprocess.py", line 160, in main
train_dataset_files = build_save_dataset('train', fields, opt)
File "preprocess.py", line 122, in build_save_dataset
corpus_type, opt, ref_corpus)
File "preprocess.py", line 99, in build_save_in_shards
torch.save(dataset, pt_file)
File "/opt/anaconda3/lib/python3.7/site-packages/torch/serialization.py", line 328, in save
_legacy_save(obj, opened_file, pickle_module, pickle_protocol)
File "/opt/anaconda3/lib/python3.7/site-packages/torch/serialization.py", line 401, in _legacy_save
pickler.dump(obj)
File "/data1/chao/rencos/onmt/inputters/dataset_base.py", line 39, in reduce_ex
return super(DatasetBase, self).reduce_ex()
TypeError: reduce_ex() takes exactly one argument (0 given)
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.