fix parenthetical
Browse files- modeling_auristream.py +1 -1
modeling_auristream.py
CHANGED
|
@@ -98,7 +98,7 @@ class AuriStream(PreTrainedModel):
|
|
| 98 |
x = block(x)
|
| 99 |
|
| 100 |
# append the last hidden state if we did not exit early
|
| 101 |
-
if up_until_layer is None or block_idx == len(self.transformer.h)
|
| 102 |
all_hidden_states.append(x)
|
| 103 |
|
| 104 |
if output_hidden_states:
|
|
|
|
| 98 |
x = block(x)
|
| 99 |
|
| 100 |
# append the last hidden state if we did not exit early
|
| 101 |
+
if up_until_layer is None or block_idx == len(self.transformer.h) - 1:
|
| 102 |
all_hidden_states.append(x)
|
| 103 |
|
| 104 |
if output_hidden_states:
|