Update modeling_llama.py
Browse files- modeling_llama.py +0 -5
modeling_llama.py
CHANGED
@@ -59,11 +59,6 @@ logger = logging.get_logger(__name__)
|
|
59 |
_CHECKPOINT_FOR_DOC = "meta-llama/Llama-2-7b-hf"
|
60 |
_CONFIG_FOR_DOC = "LlamaConfig"
|
61 |
|
62 |
-
|
63 |
-
def extra_repr(self):
|
64 |
-
return f"{tuple(self.weight.shape)}, eps={self.variance_epsilon}"
|
65 |
-
|
66 |
-
|
67 |
ALL_LAYERNORM_LAYERS.append(LlamaRMSNorm)
|
68 |
|
69 |
|
|
|
59 |
_CHECKPOINT_FOR_DOC = "meta-llama/Llama-2-7b-hf"
|
60 |
_CONFIG_FOR_DOC = "LlamaConfig"
|
61 |
|
|
|
|
|
|
|
|
|
|
|
62 |
ALL_LAYERNORM_LAYERS.append(LlamaRMSNorm)
|
63 |
|
64 |
|