ecco
ecco copied to clipboard
AttributeError: 'OutputSeq' object has no attribute 'saliency'
captum 0.5.0 torch 1.13.0+cu117
Language_Models_and_Ecco_PyData_Khobar.ipynb
text= "The countries of the European Union are:\n1. Austria\n2. Belgium\n3. Bulgaria\n4."
output_3 = lm.generate(text, generate=20, do_sample=True)
output_3.saliency()
AttributeError Traceback (most recent call last) Cell In [13], line 1 ----> 1 output_3.saliency()
AttributeError: 'OutputSeq' object has no attribute 'saliency'