mesolitica/NLP-Models-Tensorflow

spelling-correction/4.bert-accurate.ipynb get_score Method is not defined

junaideqbal opened this issue · 1 comments

In [26]: ids = [get_score(mask) for mask in replaced_masks]
Kindly provide the method

After some research you can use this line of code.
In [26]: ids = [generate_ids(mask) for mask in replaced_masks]