'Huggingface Transformers Conda Install issue
conda by default installing transformers 2.x however pip installs 4.x by default which is what I want but via conda.
If I install by specifying the latest distribution file from conda-forge…
conda install https://anaconda.org/conda-forge/transformers/4.16.2/download/noarch/transformers-4.16.2-pyhd8ed1ab_0.tar.bz2
then it complains that environment is not consistent and list the package causing the issue which is PyTorch version 1.11.
I removed pytorch and then installed as listed above then installation go through. I then tried installing datasets…
conda install datasets
Now it complains that environment is inconsistent due to transformers 4.16.2 that I installed.
Not sure whats wrong and how to install pytorch, transformers and datasets together with no issue. Do I need specific versions of these to make it work, could not find any such guideline on huggingface docs or support pages.
thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
