feat(spatial): 争议位单独消融,用来分清读懂和蒙对
This commit is contained in:
1 parent
a01ca7eab7
commit
49b1cd8b6d
2 files changed
+104
No files matched your search
@@ -48,6 +48,11 @@ def family_row(model, family: str, seed: int, n: int, max_entities: int = 32,
|
||||
if key == "dangling":
|
||||
t["dangling"] = torch.zeros_like(t["dangling"])
|
||||
t["edge_feat"][..., DANGLING_BIT] = 0.0
|
||||
elif key == "disputed":
|
||||
# the disputed flag lives in one slot of the edge features; zeroing
|
||||
# it asks whether the model read the dispute or inferred the answer
|
||||
# from something that correlates with it.
|
||||
t["edge_feat"][..., DISPUTED_BIT] = 0.0
|
||||
elif key == "hidden":
|
||||
# the full-state-derived block only: what is withheld *by kind*.
|
||||
# The scope block at the end stays, so this measures exactly the
|
||||
|
||||
Reference in new issue
Block a user