Instructions to use rudih/Llama-2-13b-chat-hf-fine-tuned-adapters with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rudih/Llama-2-13b-chat-hf-fine-tuned-adapters with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-13b-chat-hf") model = PeftModel.from_pretrained(base_model, "rudih/Llama-2-13b-chat-hf-fine-tuned-adapters") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- adapter_config.json +1 -1
- adapter_model.bin +1 -1
adapter_config.json
CHANGED
|
@@ -19,8 +19,8 @@
|
|
| 19 |
"rank_pattern": {},
|
| 20 |
"revision": null,
|
| 21 |
"target_modules": [
|
| 22 |
-
"self_attn.o_proj",
|
| 23 |
"self_attn.q_proj",
|
|
|
|
| 24 |
"self_attn.v_proj",
|
| 25 |
"self_attn.k_proj"
|
| 26 |
],
|
|
|
|
| 19 |
"rank_pattern": {},
|
| 20 |
"revision": null,
|
| 21 |
"target_modules": [
|
|
|
|
| 22 |
"self_attn.q_proj",
|
| 23 |
+
"self_attn.o_proj",
|
| 24 |
"self_attn.v_proj",
|
| 25 |
"self_attn.k_proj"
|
| 26 |
],
|
adapter_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 52544394
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d353a617f8255cf37a3864978fdc9fb00557832631eee1cdd71008cde23a754a
|
| 3 |
size 52544394
|