alibaba / EasyNLP

EasyNLP: A Comprehensive and Easy-to-use NLP Toolkit
Apache License 2.0
2.03k stars 250 forks source link

FreePromptEditing:TypeError: SelfAttentionControlEdit.__init__() got multiple values for argument 'self_replace_steps' #358

Open ersanliqiao opened 5 months ago

ersanliqiao commented 5 months ago

what's the problem

Bingyan-Liu commented 5 months ago

This error is likely due to an incorrect parameter passed to self_replace_steps. Please check if your self_replace_steps is a floating-point number between 0 and 1, e.g. self_replace_steps = 0.8. self_replace_steps cannot be a list or a tuple.