I cant convert tf_checkpoint of original author
s implementation to huggingface format. Below is the command.
transformers-cli convert --model_type funnel \
--tf_checkpoint input_models/model.ckpt-899800 \
--config input_models/config.json \
--pytorch_dump_output input_models/pytorch_model.bin
load_tf_weights_in_funnel
in modeling_funnel.py
is not working.
key and value of _layer_map
may seem reversed, and I changed it but it does not work.