Ali Safaya
commited on
Commit
·
9251705
1
Parent(s):
7b89eff
neurocache weights trained on long documents from red-pajama
Browse files- neurocache_adapter/adapter_config.json +36 -0
- neurocache_config.json +3 -3
- neurocache_model.bin +1 -1
neurocache_adapter/adapter_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": null,
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": false,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": [
|
12 |
+
18,
|
13 |
+
19,
|
14 |
+
20,
|
15 |
+
21,
|
16 |
+
22,
|
17 |
+
23
|
18 |
+
],
|
19 |
+
"loftq_config": {},
|
20 |
+
"lora_alpha": 64,
|
21 |
+
"lora_dropout": 0.1,
|
22 |
+
"megatron_config": null,
|
23 |
+
"megatron_core": "megatron.core",
|
24 |
+
"modules_to_save": null,
|
25 |
+
"peft_type": "LORA",
|
26 |
+
"r": 32,
|
27 |
+
"rank_pattern": {},
|
28 |
+
"revision": null,
|
29 |
+
"target_modules": [
|
30 |
+
"fc2",
|
31 |
+
"fc1"
|
32 |
+
],
|
33 |
+
"task_type": "CAUSAL_LM",
|
34 |
+
"use_dora": false,
|
35 |
+
"use_rslora": false
|
36 |
+
}
|
neurocache_config.json
CHANGED
@@ -10,11 +10,11 @@
|
|
10 |
"auto_mapping": null,
|
11 |
"base_model_name_or_path": "microsoft/phi-1_5",
|
12 |
"cache_dtype": "bfloat16",
|
13 |
-
"cache_size":
|
14 |
"cache_type": "FIFO",
|
15 |
"compression_factor": 4,
|
16 |
"context_size": 2,
|
17 |
-
"global_cache":
|
18 |
"inference_mode": true,
|
19 |
"neighborhood_size": 2,
|
20 |
"neurocache_type": "ONDEVICE",
|
@@ -24,4 +24,4 @@
|
|
24 |
"similarity_fn": "l2",
|
25 |
"task_type": "CAUSAL_LM",
|
26 |
"topk": 16
|
27 |
-
}
|
|
|
10 |
"auto_mapping": null,
|
11 |
"base_model_name_or_path": "microsoft/phi-1_5",
|
12 |
"cache_dtype": "bfloat16",
|
13 |
+
"cache_size": 524288,
|
14 |
"cache_type": "FIFO",
|
15 |
"compression_factor": 4,
|
16 |
"context_size": 2,
|
17 |
+
"global_cache": true,
|
18 |
"inference_mode": true,
|
19 |
"neighborhood_size": 2,
|
20 |
"neurocache_type": "ONDEVICE",
|
|
|
24 |
"similarity_fn": "l2",
|
25 |
"task_type": "CAUSAL_LM",
|
26 |
"topk": 16
|
27 |
+
}
|
neurocache_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 271603948
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c08bbc22b8e9b4e668cf7c5de2273afcd65c1bc54cd5173d15eb2cf82024316
|
3 |
size 271603948
|