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
-[ ] offer a magic function that automatically tries to wire up the cross attention by looking for appropriately named `nn.Linear` and auto-inferring which ones are keys or values
79
78
-[ ] show example in readme for inference with multiple concepts
80
79
-[ ] review multiple concepts
80
+
-[ ] automatically infer where keys and values projection are if not specified for the `make_key_value_proj_rank1_edit_modules_` function
81
81
82
+
-[x] offer a function that wires up the cross attention
82
83
-[x] handle multiple concepts in one prompt at inference - summation of the sigmoid term + outputs
83
84
-[x] accept multiple concept indices
84
85
-[x] offer a way to combine separately learned concepts from multiple `Rank1EditModule` into one for inference
assertisinstance(linear_key, nn.Linear), f'{key_proj_name} must point to where the keys projection is (ex. self.to_keys = nn.Linear(in, out, bias = False) -> key_proj_name = "to_keys")'
407
+
assertisinstance(linear_values, nn.Linear), f'{value_proj_name} must point to where the values projection is (ex. self.to_keys = nn.Linear(in, out, bias = False) -> value_proj_name = "to_values")'
0 commit comments