cifkao commited on
Commit
c868028
1 Parent(s): 47e06df
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -294,7 +294,7 @@ def run_context_length_probing(
294
  start=0,
295
  pad_id=_tokenizer.eos_token_id
296
  ).convert_to_tensors("pt")
297
- logprobs = get_logprobs(model=model, inputs=inputs_sliding, metric=metric)
298
  output_ids = [*input_ids, label_ids[-1]]
299
  num_tgt_tokens = logprobs.shape[0]
300
 
 
294
  start=0,
295
  pad_id=_tokenizer.eos_token_id
296
  ).convert_to_tensors("pt")
297
+ logprobs = get_logprobs(model=_model, inputs=inputs_sliding, metric=metric)
298
  output_ids = [*input_ids, label_ids[-1]]
299
  num_tgt_tokens = logprobs.shape[0]
300