MCPcopy Create free account
hub / github.com/Tele-AI/Telechat / __deepcopy__

Method __deepcopy__

models/7B/generation_utils.py:58–61  ·  view source on GitHub ↗
(self, memodict={})

Source from the content-addressed store, hash-verified

56 return new_instance
57
58 def __deepcopy__(self, memodict={}):
59 new_instance = type(self)(self.tokenizer, [])
60 new_instance.input_history = copy.deepcopy(self.input_history)
61 return new_instance
62
63
64class TelechatIterTextStreamer:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected