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.
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.