regisss HF staff commited on
Commit
ef4e9ca
1 Parent(s): 5aaa188

Update modeling_llama.py

Browse files
Files changed (1) hide show
  1. modeling_llama.py +1 -1
modeling_llama.py CHANGED
@@ -1270,7 +1270,7 @@ class LlamaModel(LlamaPreTrainedModel):
1270
  return causal_mask
1271
 
1272
 
1273
- class LlamaForCausalLM(LlamaPreTrainedModel):
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):