def METHOD_NAME(self):
    self.llamacpp_cache.update({
        'n_tokens': self.model.n_tokens,
        'input_ids': self.model.input_ids,
        'scores': self.model.scores,
        'ctx': self.model.ctx
    })