x54-729 commited on
Commit
e907218
1 Parent(s): 3996794
Files changed (1) hide show
  1. modeling_internlm2.py +1 -1
modeling_internlm2.py CHANGED
@@ -1215,7 +1215,7 @@ class InternLM2ForCausalLM(InternLM2PreTrainedModel):
1215
  self.query = query
1216
  self.history = history
1217
  self.response = ""
1218
- self.chat = []
1219
  self.received_inputs = False
1220
  self.queue.put((self.response, history + [(self.query, self.response)]))
1221
 
 
1215
  self.query = query
1216
  self.history = history
1217
  self.response = ""
1218
+ self.cache = []
1219
  self.received_inputs = False
1220
  self.queue.put((self.response, history + [(self.query, self.response)]))
1221