Instructions to use SolaireOfTheSun/Llama-2-7b-chat-hf-sharded-bf16-feinabgestimmt-adapters-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SolaireOfTheSun/Llama-2-7b-chat-hf-sharded-bf16-feinabgestimmt-adapters-2 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, "SolaireOfTheSun/Llama-2-7b-chat-hf-sharded-bf16-feinabgestimmt-adapters-2") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- adapter_config.json +1 -1
- adapter_model.bin +1 -1
adapter_config.json
CHANGED
|
@@ -19,9 +19,9 @@
|
|
| 19 |
"rank_pattern": {},
|
| 20 |
"revision": null,
|
| 21 |
"target_modules": [
|
| 22 |
-
"self_attn.q_proj",
|
| 23 |
"self_attn.k_proj",
|
| 24 |
"self_attn.o_proj",
|
|
|
|
| 25 |
"self_attn.v_proj"
|
| 26 |
],
|
| 27 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 19 |
"rank_pattern": {},
|
| 20 |
"revision": null,
|
| 21 |
"target_modules": [
|
|
|
|
| 22 |
"self_attn.k_proj",
|
| 23 |
"self_attn.o_proj",
|
| 24 |
+
"self_attn.q_proj",
|
| 25 |
"self_attn.v_proj"
|
| 26 |
],
|
| 27 |
"task_type": "CAUSAL_LM",
|
adapter_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 33646413
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f922e242a5f366ddd0c50a990c05649ac0cc29c9b05a7f4e6022d13c9533b19c
|
| 3 |
size 33646413
|