You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class AlignableConfig(PretrainedConfig):
def __init__(
self,
alignable_model_type="gpt2",
alignable_representations=[
# we do distributed search over elements in the sublist.
AlignableRepresentationConfig()
],
alignable_interventions_type=VanillaIntervention,
alignable_low_rank_dimension=None,
mode="parallel",
**kwargs
):
We need to specify the type as a class type, not as an instance. This causes trouble. It is better to get alignable interventions as a list of actual instances, e.g., alignable_interventions = [VanillaIntervention()]. This will allow us to have more specifications for customizable interventions.
The text was updated successfully, but these errors were encountered:
Description:
Currently, we have,
We need to specify the type as a class type, not as an instance. This causes trouble. It is better to get alignable interventions as a list of actual instances, e.g., alignable_interventions = [VanillaIntervention()]. This will allow us to have more specifications for customizable interventions.
The text was updated successfully, but these errors were encountered: