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

Method __init__

models/7B_4bit/modeling_telechat.py:572–573  ·  view source on GitHub ↗
(self, *inputs, **kwargs)

Source from the content-addressed store, hash-verified

570 _skip_keys_device_placement = "past_key_values"
571
572 def __init__(self, *inputs, **kwargs):
573 super().__init__(*inputs, **kwargs)
574
575 def _init_weights(self, module: nn.Module):
576 """Initialize the weights."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected