Commit 8de1faea authored by Chris's avatar Chris
Browse files

update to hf->tf args

parent d0adab2c
......@@ -22,7 +22,7 @@ import tensorflow as tf
from pytorch_pretrained_bert.modeling import BertConfig, BertModel
def convert_pytorch_checkpoint_to_tf(model:type(BertModel), ckpt_dir:str):
def convert_pytorch_checkpoint_to_tf(model:BertModel, ckpt_dir:str):
"""
:param model:BertModel Pytorch model instance to be converted
......
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