Spaces:
Sleeping
Sleeping
FantasticGNU
commited on
Commit
•
4ac42b9
1
Parent(s):
0967cd3
Update model/openllama.py
Browse files- model/openllama.py +1 -1
model/openllama.py
CHANGED
@@ -199,7 +199,7 @@ class OpenLLAMAPEFTModel(nn.Module):
|
|
199 |
target_modules=['q_proj', 'k_proj', 'v_proj', 'o_proj']
|
200 |
)
|
201 |
|
202 |
-
self.llama_model = LlamaForCausalLM.from_pretrained(vicuna_ckpt_path
|
203 |
self.llama_model = get_peft_model(self.llama_model, peft_config)
|
204 |
self.llama_model.print_trainable_parameters()
|
205 |
|
|
|
199 |
target_modules=['q_proj', 'k_proj', 'v_proj', 'o_proj']
|
200 |
)
|
201 |
|
202 |
+
self.llama_model = LlamaForCausalLM.from_pretrained(vicuna_ckpt_path)
|
203 |
self.llama_model = get_peft_model(self.llama_model, peft_config)
|
204 |
self.llama_model.print_trainable_parameters()
|
205 |
|