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).
The code was throwing an error when calling the _prepare_decoder_input_ids_for_generation without the proper parameters.
I think this only happened when testing encoder-decoder models.
Fix this piece of code by following what huggingface does.
The code was throwing an error when calling the
_prepare_decoder_input_ids_for_generation
without the proper parameters. I think this only happened when testing encoder-decoder models. Fix this piece of code by following what huggingface does.