plot_topk_overlap
Plot top-k neuron overlap between models.
Uses a Venn diagram for 2-6 models and a heatmap for larger model sets.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
models
|
Union[Dict[str, object], List[object]]
|
Mapping of display/model ids to GRADIEND models, or a list of models, e.g.
|
required |
topk
|
int
|
Number or fraction of top weights to compare. |
100
|
part
|
str
|
Model part used to select weights. |
'decoder-weight'
|
output_path
|
Optional[str]
|
Optional output path. |
None
|
show
|
bool
|
Whether to display the plot. |
False
|
**kwargs
|
Any
|
Forwarded to the selected Venn or heatmap implementation. |
{}
|