"tests/models/vilt/test_image_processing_vilt.py" did not exist on "1fc6817a30ea583a02bffb77215f213429d5b5bc"
Unverified Commit 19067711 authored by Sourab Mangrulkar's avatar Sourab Mangrulkar Committed by GitHub
Browse files

fix `tokenizer_type` to avoid error when loading checkpoint back (#20062)

parent 3502c202
......@@ -648,7 +648,7 @@ def convert_checkpoint_from_transformers_to_megatron(args):
"data_parallel_size": args.target_data_parallel_size,
"make_vocab_size_divisible_by": args.make_vocab_size_divisible_by,
"rank": 0,
"tokenizer_type": None,
"tokenizer_type": "GPT2BPETokenizer",
}
if config.activation_function == "gelu":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment