jalammar / ecco

Explain, analyze, and visualize NLP language models. Ecco creates interactive visualizations directly in Jupyter notebooks explaining the behavior of Transformer-based language models (like GPT2, BERT, RoBERTA, T5, and T0).
https://ecco.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.96k stars 167 forks source link

Running Eccomap for Pre Trained BertForMaskedLM #70

Open iamakshay1 opened 2 years ago

iamakshay1 commented 2 years ago

Hi, I was trying to run my pretrained model for which i had used BERTForMaskedLM model class from hugging face but its giving me this error. Plese help me in resolving this error. Thanks in advance. image

guustfranssensEY commented 2 years ago

Model is not supported by default. You will have to create your own custom language model by calling the LM class