marcotcr / checklist

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

Google colab #138

Closed laila444 closed 1 year ago

laila444 commented 1 year ago

Hello. How can I install checklist library on Google colab? It's keeps on giving me error: checklist.checklist not found

zahradm commented 1 year ago

Hi! In Google-colab, I could import checklist without any errors. You might find the following code helpful:

!git clone https://github.com/marcotcr/checklist.git
cd checklist
!pip install checklist
!jupyter nbextension install --py --sys-prefix checklist.viewer
!jupyter nbextension enable --py --sys-prefix checklist.viewer
!python -m spacy download en_core_web_sm
import checklist