Coder Social home page Coder Social logo

multidoc_summarization'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

Watchers

 avatar  avatar  avatar  avatar  avatar

multidoc_summarization's Issues

Support Python 3

Python 2 is very close to becoming obsolete. As such, Python 2 code can't really be integrated into modern codebases. Please urgently upgrade the code to use and support Python 3.

For SVR model

May I know where is the svr model for calculating the importance of sentences?
Or the data for training the svr model?
Thanks!

TypeError while running convert_data.py

Running the following code :

python convert_data.py --dataset_name=example_custom_dataset --custom_dataset_path=./example_custom_dataset/

gives the following errors:

File "convert_data.py", line 278, in
+ 'See the directory example_custom_dataset for an example')
File "C:\Users\Soumya Suvra Ghosal\AppData\Local\Programs\Python\Python36\lib\site-packages\absl\app.py", line 299, in run
_run_main(main, args)
File "C:\Users\Soumya Suvra Ghosal\AppData\Local\Programs\Python\Python36\lib\site-packages\absl\app.py", line 250, in run_main
sys.exit(main(argv))
File "convert_data.py", line 263, in main
raise Exception('Must specify which dataset to convert.')
File "convert_data.py", line 96, in process_dataset
with open(os.path.join(out_dir, 'test
{:03d}.bin'.format(out_idx)), 'wb') as writer:
File "convert_data.py", line 230, in write_example
if doc_indices is not None:
TypeError: '0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 has type str, but expected one of: bytes

Can you please help in resolving this issue.

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.