def METHOD_NAME(self):
    self.model.n_tokens = self.llamacpp_cache['n_tokens']
    self.model.input_ids = self.llamacpp_cache['input_ids']
    self.model.scores = self.llamacpp_cache['scores']
    self.model.ctx = self.llamacpp_cache['ctx']