ucfnlp / multidoc_summarization Goto Github PK
View Code? Open in Web Editor NEWCode for the EMNLP 2018 paper "Adapting the Neural Encoder-Decoder Framework from Single to Multi-Document Summarization"
License: Other
Code for the EMNLP 2018 paper "Adapting the Neural Encoder-Decoder Framework from Single to Multi-Document Summarization"
License: Other
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.
May I know where is the svr model for calculating the importance of sentences?
Or the data for training the svr model?
Thanks!
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.
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.