Closed liuyuyan2717 closed 8 months ago
The chinese_word_swap_masked.py calls pipline to generate masked language model substitution words, which is slow. Modified to generate Chinese mask substitution words for calling the local model
this looks good. thanks for contributing.
The chinese_word_swap_masked.py calls pipline to generate masked language model substitution words, which is slow. Modified to generate Chinese mask substitution words for calling the local model