Giter Site home page Giter Site logo

pocheyeniu / summarunner Goto Github PK

View Code? Open in Web Editor NEW
42.0 42.0 7.0 27 KB

Tensorflow implementation of SummaRuNNer

Home Page: https://arxiv.org/pdf/1611.04230.pdf

License: MIT License

Python 100.00%
extractive-summarization summarunner summary tensorflow

summarunner's People

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  avatar

Watchers

 avatar

summarunner's Issues

How do I generate the labeled data?

I get this error when I run "train.py":

Traceback (most recent call last): File "train.py", line 133, in <module> train("model.0201") File "train.py", line 55, in train dr.load_data(FLAGS.train_data_file, max_doc_length, max_sen_length) File "/scratch/user/phan3006/MATH689/SummaRuNNer/data_reader.py", line 83, in load_data for line in f.readlines(): File "/scratch/user/phan3006/MATH689/dl_proj_summarun_py2.7/lib/python2.7/codecs.py", line 696, in readlines return self.reader.readlines(sizehint) File "/scratch/user/phan3006/MATH689/dl_proj_summarun_py2.7/lib/python2.7/codecs.py", line 605, in readlines data = self.read() File "/scratch/user/phan3006/MATH689/dl_proj_summarun_py2.7/lib/python2.7/codecs.py", line 494, in read newchars, decodedbytes = self.decode(data, self.errors) UnicodeDecodeError: 'utf8' codec can't decode byte 0x80 in position 0: invalid start byte

Training

I use the data of CNN/Daily Mail and the hyper parameter of the paper to train the model based on your project. However, I found that the loss keeps almost constant when I set the batch size to 32 or 64 and if I set the batch size to 8, it will be convergence gradually. if you know the reasons, could you tell me about it , many thanks.

interpret summaRunner test output

After testing outputs folder is created which contains two more folder hyp and ref. these two folders contain text files. What is difference in hyp and ref folder.
Does 1.txt tells sentence 1 summary and so on for other files?

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.