Traceback (most recent call last):


 "/content/transformers/src/transformers/convert_albert_original_tf_checkpoint_to_pytorch.py", line 61, in <module>

convert_tf_checkpoint_to_pytorch(args.tf_checkpoint_path, args.albert_config_file, args.pytorch_dump_path)


 "/content/transformers/src/transformers/convert_albert_original_tf_checkpoint_to_pytorch.py", line 36, in convert_tf_checkpoint_to_pytorch

load_tf_weights_in_albert(model, config, tf_checkpoint_path)


 "/content/drive/My Drive/transformers/src/transformers/modeling_albert.py", line 140, in load_tf_weights_in_albert

pointer = getattr(pointer, "bias")


 "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 576, in __getattr__

type(self).__name__, name))
AttributeError: 'AlbertForMaskedLM' object has no attribute 'bias'

Traceback (most recent call last):


 "/home/mox/miniconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3012, in _parsed_pkg_info

return self._pkg_info


 "/home/mox/miniconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2815, in __getattr__

raise AttributeError(attr)
AttributeError: _pkg_info
