I have installed transformers version 3.0.2.
When I do a
from transformers import DPRQuestionEncoder, DPRQuestionEncoderTokenizer,
I get the following error :
ImportError                               Traceback (most recent call last)
 in 
----> 1 from transformers import DPRQuestionEncoder, DPRQuestionEncoderTokenizer
ImportError: cannot import name ‘DPRQuestionEncoder’ from ‘transformers’ (/anaconda3/lib/python3.7/site-packages/transformers/init.py)