from local

This commit is contained in:
dohe0342 2023-05-18 15:59:45 +09:00
parent 173acdb09a
commit fa658ce0cf
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
import torch
base_model = torch.load('./d2v-base-T.pt')
bias_model = torch.load('./bitfit_2414_v2/checkpoint-100.pt')
base_model, bias_model = base_model['model'], bias_model['model']
for key in base_model.keys():
if 'bias' in key:
print(key, base_model[key], bias_model[key])