MCPcopy Create free account
hub / github.com/ContextualAI/HALOs / __init__

Method __init__

train/models.py:43–45  ·  view source on GitHub ↗
(self, pretrained_model=None, **kwargs)

Source from the content-addressed store, hash-verified

41 supported_modules = ("v_head",)
42
43 def __init__(self, pretrained_model=None, **kwargs):
44 super().__init__()
45 self.pretrained_model = pretrained_model
46
47 @classmethod
48 def from_pretrained(cls, pretrained_model_name_or_path, *model_args, **kwargs):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected