You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users\04647U744\Documents\Github\CASH_sfaidebtreducer_WSP\model\cdqa_.py", line 18, in
cdqa_pipeline = QAPipeline(reader=r'C:\Users\04647U744\Desktop\exp\bert_qa.joblib')
File "C:\Users\04647U744\Documents\Github\CASH_sfaidebtreducer_WSP\cdqa\pipeline\cdqa_sklearn.py", line 82, in init
self.reader = joblib.load(reader)
File "C:\Users\04647U744\Anaconda3\lib\site-packages\joblib\numpy_pickle.py", line 587, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "C:\Users\04647U744\Anaconda3\lib\site-packages\joblib\numpy_pickle.py", line 506, in _unpickle
obj = unpickler.load()
File "C:\Users\04647U744\Anaconda3\lib\pickle.py", line 1212, in load
dispatchkey[0]
File "C:\Users\04647U744\Anaconda3\lib\pickle.py", line 1528, in load_global
klass = self.find_class(module, name)
File "C:\Users\04647U744\Anaconda3\lib\pickle.py", line 1579, in find_class import(module, level=0)
ModuleNotFoundError: No module named 'transformers.modeling_bert'
The text was updated successfully, but these errors were encountered:
I am currently using "transformers" with a version of 4.26.0...i would like to know how to rectify the following module issue...here is the code
import pandas as pd
from ast import literal_eval
from cdqa.utils.filters import filter_paragraphs
from cdqa.utils.download import download_model, download_bnpp_data
from cdqa.pipeline.cdqa_sklearn import QAPipeline
Traceback (most recent call last):
File "C:\Users\04647U744\Documents\Github\CASH_sfaidebtreducer_WSP\model\cdqa_.py", line 18, in
cdqa_pipeline = QAPipeline(reader=r'C:\Users\04647U744\Desktop\exp\bert_qa.joblib')
File "C:\Users\04647U744\Documents\Github\CASH_sfaidebtreducer_WSP\cdqa\pipeline\cdqa_sklearn.py", line 82, in init
self.reader = joblib.load(reader)
File "C:\Users\04647U744\Anaconda3\lib\site-packages\joblib\numpy_pickle.py", line 587, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "C:\Users\04647U744\Anaconda3\lib\site-packages\joblib\numpy_pickle.py", line 506, in _unpickle
obj = unpickler.load()
File "C:\Users\04647U744\Anaconda3\lib\pickle.py", line 1212, in load
dispatchkey[0]
File "C:\Users\04647U744\Anaconda3\lib\pickle.py", line 1528, in load_global
klass = self.find_class(module, name)
File "C:\Users\04647U744\Anaconda3\lib\pickle.py", line 1579, in find_class
import(module, level=0)
ModuleNotFoundError: No module named 'transformers.modeling_bert'
The text was updated successfully, but these errors were encountered: