xlang-ai / instructor-embedding

[ACL 2023] One Embedder, Any Task: Instruction-Finetuned Text Embeddings
Apache License 2.0
1.87k stars 135 forks source link

pythons > 3.7? #100

Closed mgrosso closed 1 year ago

mgrosso commented 1 year ago

Hi! The Installation section of the README seems to suggest that python 3.7 is needed:

conda env create -n instructor python=3.7

That seems dubious though. Can you please share which versions of python are supported, or known to work, or even just thought likely to work?

Apologies if I missed someplace that this was already documented. Thanks!

hongjin-su commented 1 year ago

Hi, Thanks a lot for your interest in the INSTRUCTOR!

The python version should not be very strict. In my later experiments, I also find python 3.10 works well. As sentence-transformers recommend python>=3.6, I suspect that INSTRUCTOR also works with python>=3.6.

Hope this helps!

mgrosso commented 1 year ago

thank so much! I'll try bumping to 3.10 and maybe 3.12 afterwards.