Skip to content

Commit 5356b52

Browse files
committed
Change the way we are normalizing activations to make more sense
1 parent d4f65c4 commit 5356b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

delphi/latents/samplers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def normalize_activations(
1717
max_activation = max(max_activation, eps)
1818
for example in examples:
1919
example.normalized_activations = (
20-
(example.activations * 10 / max_activation).floor().clamp(0, 10)
20+
(example.activations * 10 / max_activation).ceil().clamp(0, 10)
2121
)
2222
return examples
2323

0 commit comments

Comments
 (0)