bofenghuang
commited on
Commit
•
36fef85
1
Parent(s):
e6d2a8e
Update v2
Browse files- README.md +1 -1
- adapter_config.json +8 -4
- adapter_model.bin +2 -2
- runs/{Apr16_23-36-30_koios.zaion.ai/1681683624.9063115/events.out.tfevents.1681683624.koios.zaion.ai.1100955.1 → 1/1683543576.8404589/events.out.tfevents.1683543576.koios.zaion.ai.956903.1} +2 -2
- runs/{Apr16_23-36-30_koios.zaion.ai/events.out.tfevents.1681683624.koios.zaion.ai.1100955.0 → 1/events.out.tfevents.1683543576.koios.zaion.ai.956903.0} +2 -2
- runs/1/events.out.tfevents.1683597421.koios.zaion.ai.956903.2 +3 -0
README.md
CHANGED
@@ -36,7 +36,7 @@ from transformers import LlamaForCausalLM, LlamaTokenizer
|
|
36 |
base_model_name_or_path = "name/or/path/to/hf/llama/7b/model"
|
37 |
lora_model_name_or_path = "bofenghuang/vigogne-instruct-7b"
|
38 |
|
39 |
-
tokenizer = LlamaTokenizer.from_pretrained(base_model_name_or_path, padding_side="right", use_fast=False)
|
40 |
model = LlamaForCausalLM.from_pretrained(
|
41 |
base_model_name_or_path,
|
42 |
load_in_8bit=True,
|
|
|
36 |
base_model_name_or_path = "name/or/path/to/hf/llama/7b/model"
|
37 |
lora_model_name_or_path = "bofenghuang/vigogne-instruct-7b"
|
38 |
|
39 |
+
tokenizer = LlamaTokenizer.from_pretrained(base_model_name_or_path, padding_side="right", use_fast=False)
|
40 |
model = LlamaForCausalLM.from_pretrained(
|
41 |
base_model_name_or_path,
|
42 |
load_in_8bit=True,
|
adapter_config.json
CHANGED
@@ -1,18 +1,22 @@
|
|
1 |
{
|
2 |
-
"base_model_name_or_path": "
|
3 |
"bias": "none",
|
4 |
-
"enable_lora": null,
|
5 |
"fan_in_fan_out": false,
|
6 |
"inference_mode": true,
|
|
|
7 |
"lora_alpha": 16,
|
8 |
"lora_dropout": 0.05,
|
9 |
-
"merge_weights": false,
|
10 |
"modules_to_save": null,
|
11 |
"peft_type": "LORA",
|
12 |
"r": 8,
|
13 |
"target_modules": [
|
14 |
"q_proj",
|
15 |
-
"v_proj"
|
|
|
|
|
|
|
|
|
|
|
16 |
],
|
17 |
"task_type": "CAUSAL_LM"
|
18 |
}
|
|
|
1 |
{
|
2 |
+
"base_model_name_or_path": "huggyllama/llama-7b",
|
3 |
"bias": "none",
|
|
|
4 |
"fan_in_fan_out": false,
|
5 |
"inference_mode": true,
|
6 |
+
"init_lora_weights": true,
|
7 |
"lora_alpha": 16,
|
8 |
"lora_dropout": 0.05,
|
|
|
9 |
"modules_to_save": null,
|
10 |
"peft_type": "LORA",
|
11 |
"r": 8,
|
12 |
"target_modules": [
|
13 |
"q_proj",
|
14 |
+
"v_proj",
|
15 |
+
"k_proj",
|
16 |
+
"o_proj",
|
17 |
+
"gate_proj",
|
18 |
+
"down_proj",
|
19 |
+
"up_proj"
|
20 |
],
|
21 |
"task_type": "CAUSAL_LM"
|
22 |
}
|
adapter_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3369cfd51d19702129cc0f08b998a33f6850a3a6debe17eda89756ac1a527fd5
|
3 |
+
size 40047549
|
runs/{Apr16_23-36-30_koios.zaion.ai/1681683624.9063115/events.out.tfevents.1681683624.koios.zaion.ai.1100955.1 → 1/1683543576.8404589/events.out.tfevents.1683543576.koios.zaion.ai.956903.1}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77a49edd9a752950d972ae4fed248b03cbbfab0ab5c7fcb04a147b1a4c879d44
|
3 |
+
size 6013
|
runs/{Apr16_23-36-30_koios.zaion.ai/events.out.tfevents.1681683624.koios.zaion.ai.1100955.0 → 1/events.out.tfevents.1683543576.koios.zaion.ai.956903.0}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:abeb0fd4fe6d0debc5b54f0c1caa85c58ca65455f661069cdd5692409890aac0
|
3 |
+
size 36609
|
runs/1/events.out.tfevents.1683597421.koios.zaion.ai.956903.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26a3ed7b1b28ebb3f6377522b1fbf42442170157595fe29c9095dab98f065b03
|
3 |
+
size 359
|