simply trying to extract use a an albert model pretrained on custom vocab:
I get the error - ‘AlbertModel’ object has no attribute ‘bias’ can someone provide some guidance I am using transformers 4.9.2?
ptcfg = AlbertConfig.from_json_file(prt_config)
modelprt = Albertmodel(ptcfg)
modelprt = load_tf_weights_in_albert(modelprt, self.ptcfg, prot_model)