Hello,
I'm trying to use example.py on a french model (fr.22000 or fr-txt.large.19000)
But I have this error:
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format( RuntimeError: Error(s) in loading state_dict for Model: Unexpected key(s) in state_dict: "bert.position_ids".
I also tried with the following command, same error in output.
python recasepunc.py predict fr.22000 < toto.txt > output.txt
Do you have any advice?
Thanks
Hello, I'm trying to use example.py on a french model (fr.22000 or fr-txt.large.19000) But I have this error:
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format( RuntimeError: Error(s) in loading state_dict for Model: Unexpected key(s) in state_dict: "bert.position_ids".
I also tried with the following command, same error in output.python recasepunc.py predict fr.22000 < toto.txt > output.txt
Do you have any advice? Thanks