Skip to content

Commit 70d7f65

Browse files
committed
slimmed down comments more
1 parent 201e103 commit 70d7f65

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/bumblebee/text/generation_test.exs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,6 @@ defmodule Bumblebee.Text.GenerationTest do
134134
# given initial ID, then increments the token ID to be enforced on the
135135
# following iterations. The ID of the token to be enforced is passed on
136136
# between iterations using the logits_processor_state.
137-
#
138-
# So invoked with the initial ID of 79, it enforces 79, 80, 81, ... in
139-
# the subsequent iterations, demonstrating the use of the state in a
140-
# logits processor.
141137

142138
generation_config = Bumblebee.configure(generation_config, max_new_tokens: 2)
143139

@@ -154,7 +150,8 @@ defmodule Bumblebee.Text.GenerationTest do
154150
# The result without the logits processor would be, as with the first
155151
# decoder test above, [80, 80, 80].
156152
#
157-
# Now, with the processor below, we expect the sequence of [79, 80, 81 ..]
153+
# Now, with the processor below, we expect the sequence of [79, 80, 81 ..],
154+
# demonstrating the use of the state in a logits processor.
158155

159156
%{token_ids: token_ids} =
160157
Nx.Defn.jit_apply(generate, [params, inputs], compiler: EXLA)

0 commit comments

Comments
 (0)