-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python scripts/evaluate.py #10
Comments
Please add a more detailed description of your issue, and describe the steps that you already tried to fix the problem. |
Your version of easse is most likely not up to date. |
Sorry. Sorry. Thank you for your help. Thank you for your patience. 1:git clone git@github.com:facebookresearch/access.git 2:Download zip-----unzip---cd access 3:pip install -e . 4: https://github.com/feralvam/easse 5:https://github.com/facebookresearch/text-simplification-evaluation 6:python scripts/evaluate.py |
Ok actually the problem is that the version of EASSE that you use is too recent and introduced breaking changes (we'll fix this soon). |
pip install git+git://github.com/feralvam/easse.git@5dce4474a72baa5a16e3764f1ed4225a1751dbf2 But before I run it, I have uninstall "nltk". |
I think the problem is not due to NLTK, but more to a permission issue (see last part of traceback):
|
I fixed the problem in ACCESS and EASSE, if you install them again with the latest github version, it should work fine. |
/usr/bin/python3.6 /home/qwh/桌面/access/scripts/evaluate.py Process finished with exit code 0 SUCCESS!!THANK YOU VERY MUCH! |
Great, closing the issue :) |
Hi @louismartin tried exploring the project on google colab and facing the same problem |
Hi, can you run |
fairseq==0.6.2 |
I'm sorry, I would like to check the |
4.import nltk
This is my invoking sequence. Could be of some help to debug |
easse==0.1 |
Ok thanks a lot. |
Hi @louismartin Traceback (most recent call last): Also, |
Tried checking the version for the same |
Ok thanks, I think that's a different problem. |
This worked well!!! Thank you so much for your help <3 Got the result: Also I wanted to ask whether we can try the model on custom data? If yes, then is there a guide to do so? This may sound a bit silly but I'm new to NLP and exploring text simplification projects so it would mean a lot if you can share some guidelines for the same. |
You're welcome :) |
Traceback (most recent call last):
File "/home/qwh/acc/scripts/evaluate.py", line 32, in
evaluate_simplifier_on_turkcorpus(simplifier, phase='test')
File "/home/qwh/acc/access/evaluation/general.py", line 30, in evaluate_simplifier_on_turkcorpus
quality_estimation=True)
File "/home/qwh/acc/easse/cli.py", line 115, in evaluate_system_output
orig_sents, refs_sents = get_orig_and_refs_sents(test_set, orig_sents_path, refs_sents_paths)
File "/home/qwhacc/easse/cli.py", line 39, in get_orig_and_refs_sents
orig_sents = get_orig_sents(test_set)
File "/home/qwh/acc/easse/utils/resources.py", line 76, in get_orig_sents
return read_lines(TEST_SETS_PATHS[(test_set, 'orig')])
KeyError: ('turk', 'orig')
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: