File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -193,22 +193,14 @@ defmodule Bumblebee.Text.GenerationTest do
193193 # result without logit processor: 80, 80, 80
194194
195195 # first entry in batch
196- # first token_id should be 78 as we enforce token_id 78 on the first
197- # iteration
198196 assert_equal ( token_ids [ [ 0 , 0 ] ] , 78 )
199-
200- # second should be 79 as we increment the enforced token_id from 78 to 79
201197 assert_equal ( token_ids [ [ 0 , 1 ] ] , 79 )
202-
203- # in the next step we increment from 79 to 80 and enforce token_id 80
204198 assert_equal ( token_ids [ [ 0 , 2 ] ] , 80 )
205199
206200 # second entry in batch
207- # first token_id is 20 as we enforce token_id 20 on the first iteration
208201 assert_equal ( token_ids [ [ 1 , 0 ] ] , 78 )
209-
210- # in the next step we increment from 20 to 21 and enforce token_id 21
211202 assert_equal ( token_ids [ [ 1 , 1 ] ] , 79 )
203+ assert_equal ( token_ids [ [ 1 , 2 ] ] , 80 )
212204 end
213205
214206 defmodule StatefulLogitsProcessing do
You can’t perform that action at this time.
0 commit comments