isvy08 / usdp Goto Github PK
View Code? Open in Web Editor NEWUnsupervised Sentence Simplification via Dependency Parsing
Unsupervised Sentence Simplification via Dependency Parsing
@isVy08
Hello, I want to reproduce USDP-Base on English data, so I runpython run_generation.py evaluation/config_en_base.json
,
but I got two problems.
Traceback (most recent call last):
File "run_generation.py", line 48, in
config = get_params()
File "run_generation.py", line 13, in get_params
n = Namespace()
NameError: name 'Namespace' is not defined
After I change the line 13 to n = argparse.Namespace()
, there was no error anymore, but I got another problem. I am not sure if the another error is caused by my change to the line 13. I don't actually know how to fix this problem, so if someone knows please tell me.
Traceback (most recent call last):
File "run_generation.py", line 48, in
config = get_params()
File "run_generation.py", line 13, in get_params
n = Namespace()
NameError: name 'Namespace' is not defined
I think this error may be caused by package version differences(probably with spacy), because I find https://github.com/automl/auto-sklearn/issues/640 also have the similar problem and the problem was solved by changing the pakage version.
I have tried to change my spacy version but it doesn't work, so can you please give me the specific package version running
run_generation.py?That would be of great help.
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.