Closed ChengFengGu closed 1 year ago
I forget the model parameters should be loaded by numpy. You should change the models/build.py
Line 32 to model.load_from(np.load(config.model.pretrained))
and add the numpy.
In addition, the models/IELT.py
Line 92 should delete the if branch and use the 'token' branch.
I have updated the code, thanks you for your mention.
Thans for your excellent work! But when using pet dataset training model, got error
string indices must be integers
.And the pretrained npz file has already been downloaded, renamed and moved to
pretrained
dir.