Closed tscheepers closed 7 years ago
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.
If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!
Merged in 94a41b41c1f13dbd58d30ff271e7867156d8f61d Thanks for your contribution!
After "pip install git+https://github.com/facebookresearch/SentEval" (which works fine), I obtain the following error when trying to import senteval in a python shell:
import senteval Traceback (most recent call last): File "
", line 1, in File "/home/aconneau/anaconda/lib/python2.7/site-packages/senteval/init.py", line 3, in from .senteval import SentEval File "/home/aconneau/anaconda/lib/python2.7/site-packages/senteval/senteval.py", line 15, in from binary import CREval, MREval, MPQAEval, SUBJEval ImportError: No module named binary
@aconneau I see, I'm fixing it right now
Fixes #4
setup.py
file to allow for installation through pip.__future__
importsopen
with compabibleio.open
torch.cuda.is_available()
senteval
(This is required for pip installation)Tested on
bow.py
with Python 3.5 and 2.7. Exactly the same numbers roll out.You can test it using
pip install git+https://github.com/tscheepers/SentEval.git@setuppy