RagRetriver Import error
I am getting an error cannot import name RagRetriever (unknown location). Using base terminal under conda python3.8. transformers 4.2.2
2021-02-02T14:56:26Z
Does it work under 4.2.1 (stable version) ?Do either of these help at all:stackoverflow.comcannot import name 'pipline' from 'transformers' (unknown location)python, jupyter-lab, huggingface-transformersasked byArmanon06:35PM - 21 Jul 20 UTChttps://github.com/huggingface/transformers/issues/2365I am not an expert, and your question might be sufficient for an expert to answer, but I suggest you add a bit more detail.(eg what are you running, have you managed to make any other transformers models work, what are you attempting to achieve).
2021-02-02T15:02:56Z
HI thanks for your response. First I installed transformers using pip in python3.6. There I could import RagRetriever but I was not being able to install the module ‘datasets’ (pyarrow installation error). So I resorted to conda python 3.8 and installed the transformers module within the conda environment. There I could install ‘datasets’ module successfully but faced this import error of ‘RagRetreiver’. If you can help that will be great. I did not use any other model before in this module.
2022-01-24T12:48:26Z
conda install-c conda-forgehuggingface_hub