naver / splade

SPLADE: sparse neural search (SIGIR21, SIGIR22)
Other
710 stars 79 forks source link

How to install the ENV correctly? #57

Open zhiyuanpeng opened 4 months ago

zhiyuanpeng commented 4 months ago

Hi,

In your readme file:

conda create -n splade_env python=3.9
conda activate splade_env
conda env create -f conda_splade_env.yml

makes me confused as conda create -n splade_env python=3.9 creates an ENV named splade_env without installing any packages while conda env create -f conda_splade_env.yml directly installs an ENV named splade with python=3.8 and all the required package. In the following instructions, splade_env is utilized however splade_env is just a python=3.9 env without any packages installed.

BTW, I installed ENV splade by conda env create -f conda_splade_env.yml but got error TypeError: main() got an unexpected keyword argument 'version_base' when I run configconfig_splade++_cocondenser_ensembledistil`.

How to solve this ENV issue? Thanks.

Zhiyuan.