Giter Club home page Giter Club logo

rencos's People

Contributors

zhangj111 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rencos'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.

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!

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.