Ali Safaya commited on
Commit
8101fdb
·
1 Parent(s): 09b458a

trained with long-pajama v1.0.0

Browse files
neurocache_adapter/adapter_config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen2.5-1.5B",
5
+ "bias": "none",
6
+ "eva_config": null,
7
+ "exclude_modules": null,
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": false,
10
+ "init_lora_weights": true,
11
+ "layer_replication": null,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": [
14
+ 21,
15
+ 23,
16
+ 25,
17
+ 27
18
+ ],
19
+ "loftq_config": {},
20
+ "lora_alpha": 128,
21
+ "lora_bias": false,
22
+ "lora_dropout": 0.1,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "r": 64,
28
+ "rank_pattern": {},
29
+ "revision": null,
30
+ "target_modules": [
31
+ "q_proj",
32
+ "v_proj",
33
+ "k_proj"
34
+ ],
35
+ "task_type": "CAUSAL_LM",
36
+ "use_dora": false,
37
+ "use_rslora": false
38
+ }
neurocache_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attention_layers": [
3
+ 21,
4
+ 23,
5
+ 25,
6
+ 27
7
+ ],
8
+ "auto_mapping": null,
9
+ "base_model_name_or_path": "Qwen/Qwen2.5-1.5B",
10
+ "cache_dtype": "float16",
11
+ "cache_size": 32768,
12
+ "cache_type": "FIFO",
13
+ "compression_factor": 3,
14
+ "context_size": 2,
15
+ "global_cache": true,
16
+ "inference_mode": true,
17
+ "neighborhood_size": 2,
18
+ "neurocache_type": "ONDEVICE",
19
+ "pooling_window": 16,
20
+ "retrieval_map": {
21
+ "16": 16
22
+ },
23
+ "retrieval_stride": 4,
24
+ "similarity_fn": "l2",
25
+ "task_type": "CAUSAL_LM",
26
+ "topk": 8
27
+ }
neurocache_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29316c6e2639e64c3701ec419d9ce433f024b284183d26841053794ff9f1b986
3
+ size 66928206