MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / __init__

Method __init__

tensorrt_llm/models/bert/model.py:127–128  ·  view source on GitHub ↗
(self, config: BERTConfig)

Source from the content-addressed store, hash-verified

125 config_class = BERTConfig
126
127 def __init__(self, config: BERTConfig):
128 super().__init__(config)
129
130 @classmethod
131 def load_hf_bert(cls, model_dir: str, load_model_on_cpu: bool,

Callers 7

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected