marcotcr / checklist

Beyond Accuracy: Behavioral Testing of NLP models with CheckList
MIT License
2.01k stars 204 forks source link

mltests module? #107

Closed gozdesahin closed 3 years ago

gozdesahin commented 3 years ago

Thanks for the code! In the SQuAD notebook, https://github.com/marcotcr/checklist/blob/master/notebooks/SQuAD.ipynb , the code refers to a local module called mltests: sys.path.append('/home/marcotcr/work/ml-tests/') from mltests import bert_squad_model Could you please add it?

Thanks, Gozde

marcotcr commented 3 years ago

That was just a helper function I wrote to run SQuAD models before huggingface had pipelines. You can look at lines 17-19 of this notebook for more compact code that does the same thing.