code: def loglikelihood_rolling(self, requests):
      res = []
  
      for (s,) in requests:
          # assume worst case: extra full context
          self.tokencost += len(self.tokenizer.tokenize(s)) + 2048
  
      return res
  
file_path: lm-evaluation-harness/scripts/cost_estimate.py
imports: import random
  import transformers
  from lm_eval import tasks, evaluator
  from lm_eval.base import LM
label_desc: Use image node_id 5 for calling the DryrunLM obj's underlying member method code with example usage: obj.loglikelihood_rolling(requests) and returns: res