Instructions to use behzadnet/Llama-2-7b-chat-hf-sharded-bf16-fine-tuned_GrounTruth_all_Seed101 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use behzadnet/Llama-2-7b-chat-hf-sharded-bf16-fine-tuned_GrounTruth_all_Seed101 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Trelis/Llama-2-7b-chat-hf-sharded-bf16") model = PeftModel.from_pretrained(base_model, "behzadnet/Llama-2-7b-chat-hf-sharded-bf16-fine-tuned_GrounTruth_all_Seed101") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- adapter_config.json +1 -1
adapter_config.json
CHANGED
|
@@ -16,9 +16,9 @@
|
|
| 16 |
"rank_pattern": {},
|
| 17 |
"revision": null,
|
| 18 |
"target_modules": [
|
| 19 |
-
"self_attn.k_proj",
|
| 20 |
"self_attn.o_proj",
|
| 21 |
"self_attn.q_proj",
|
|
|
|
| 22 |
"self_attn.v_proj"
|
| 23 |
],
|
| 24 |
"task_type": "CAUSAL_LM"
|
|
|
|
| 16 |
"rank_pattern": {},
|
| 17 |
"revision": null,
|
| 18 |
"target_modules": [
|
|
|
|
| 19 |
"self_attn.o_proj",
|
| 20 |
"self_attn.q_proj",
|
| 21 |
+
"self_attn.k_proj",
|
| 22 |
"self_attn.v_proj"
|
| 23 |
],
|
| 24 |
"task_type": "CAUSAL_LM"
|