Deepshap should not be used with EnformerModel/EnformerPretrainedModel classes right now, as they include custom nonlinearities that are not included in the list of nonlinearities that work with deepshap. Until a fix for this is in, I raised an error if deepshap is used with these model types. Also edited tutorials 4 and 5 to use other attribution methods.
Deepshap should not be used with EnformerModel/EnformerPretrainedModel classes right now, as they include custom nonlinearities that are not included in the list of nonlinearities that work with deepshap. Until a fix for this is in, I raised an error if deepshap is used with these model types. Also edited tutorials 4 and 5 to use other attribution methods.