Python program all the way cannot identify the model 'bloom.models'model ""
Dear all,I have cloned the HuggingFace transformer library into my local computer (win11 based), and set the PYTHONPATH environmental variable pointing to my local \bloom\ folder properly.Thereafter, I am trying to apply the following Python code snippet to access the bloom “Question Answering” module:++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++import transformersimport torchimport torchvisionfrom bloom.models.models.base import ModelForQuestionAnsweringprint(model.question_answering(‘Who wrote Romeo and Juliet?’))++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++However, all the way I hit the following error message:============================================================Traceback (most recent call last):File “D:\TrustedHub\doc\Machine_Learning_Course\Python\HuggingFace.py”, line 4, infrom bloom.models.models.base import ModelForQuestionAnsweringModuleNotFoundError: No module named ‘bloom.models’Then I went to the bloom site-package subfolder, but cannot find the due python file models.py over there:============================================================D:\TrustedHub\doc\Machine_Learning_Course\Python>python HuggingFace.pyTraceback (most recent call last):File “D:\TrustedHub\doc\Machine_Learning_Course\Python\HuggingFace.py”, line 4, infrom bloom.models.models.base import ModelForQuestionAnsweringModuleNotFoundError: No module named ‘bloom.models’D:\TrustedHub\doc\Machine_Learning_Course\Python>Can anybody help me to resolve the issue?Thanks.