Update modeling_llama.py
Browse files- modeling_llama.py +1 -1
modeling_llama.py
CHANGED
@@ -1270,7 +1270,7 @@ class LlamaModel(LlamaPreTrainedModel):
|
|
1270 |
return causal_mask
|
1271 |
|
1272 |
|
1273 |
-
class
|
1274 |
_tied_weights_keys = ["lm_head.weight"]
|
1275 |
|
1276 |
def __init__(self, config):
|
|
|
1270 |
return causal_mask
|
1271 |
|
1272 |
|
1273 |
+
class CustomLlamaForCausalLM(LlamaPreTrainedModel):
|
1274 |
_tied_weights_keys = ["lm_head.weight"]
|
1275 |
|
1276 |
def __init__(self, config):
|