soft-Q-learning-for-text-generation
soft-Q-learning-for-text-generation copied to clipboard
Facing issue with environment setting
Hi @HanGuo97, I am facing issue with setting up the environment.
File "./anaconda3/envs/py38_sql/lib/python3.8/site-packages/datasets/download/streaming_download_manager.py", line 21, in <module>
from ..filesystems import COMPRESSION_FILESYSTEMS
File "./anaconda3/envs/py38_sql/lib/python3.8/site-packages/datasets/filesystems/__init__.py", line 11, in <module>
from .hffilesystem import HfFileSystem
File "./anaconda3/envs/py38_sql/lib/python3.8/site-packages/datasets/filesystems/hffilesystem.py", line 6, in <module>
from huggingface_hub.hf_api import DatasetInfo
ImportError: cannot import name 'DatasetInfo' from 'huggingface_hub.hf_api' (./anaconda3/envs/py38_sql/lib/python3.8/site-packages/huggingface_hub/hf_api.py)
Although it is showing now huggingface_hub
issue but it has arrived after a few stages.
It seems, while debugging, that there is version conflict with pytorch-lightning
with version of transformer
and pytroch
. I will be helpful if you could provide the exact version details of the packages to be installed of a working environment.
Also, it will be helpful if you could add installation instruction for a non-Docker environment (direct linux conda environment).