jacobcd52 commited on
Commit
9e2e960
·
verified ·
1 Parent(s): 81d6f5a

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +48 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dense_model": {
3
+ "repo_id": "jacobcd52/ss_d128_f1",
4
+ "local_path": null
5
+ },
6
+ "sparse_model_config": {
7
+ "n_layer": 2,
8
+ "d_model": 3072,
9
+ "n_ctx": 512,
10
+ "d_head": 16,
11
+ "d_mlp": 12288,
12
+ "vocab_size": null,
13
+ "use_rms_norm": true,
14
+ "tie_embeddings": false,
15
+ "use_positional_embeddings": false,
16
+ "use_bigram_table": false,
17
+ "use_attention_sinks": true,
18
+ "activation": "gelu",
19
+ "dropout": 0.0,
20
+ "use_bias": true,
21
+ "use_flash_attention": true
22
+ },
23
+ "bridges_config": {
24
+ "encoder_afrac": 0.25,
25
+ "coef_nmse": 1.0,
26
+ "coef_kl_d2s": 1.0,
27
+ "coef_kl_s2d": 1.0,
28
+ "coef_ce_sparse": 1.0,
29
+ "coef_kl_sparse": 1.0
30
+ },
31
+ "sparsity_config": {
32
+ "enable_weight_sparsity": true,
33
+ "target_l0_fraction": 0.00390625,
34
+ "sparsity_anneal_start_fraction": 0.01,
35
+ "sparsity_anneal_end_fraction": 0.5,
36
+ "anneal_type": "exponential",
37
+ "min_weights_per_neuron": 4,
38
+ "enable_activation_sparsity": true,
39
+ "activation_topk_fraction": 0.25,
40
+ "activation_sparsity_locations": "attn_in,attn_out,mlp_in,mlp_out,mlp_neuron,attn_v,attn_k,attn_q"
41
+ },
42
+ "training_config": {
43
+ "total_tokens": 2000000000,
44
+ "batch_size": 64,
45
+ "dataset_name": "SimpleStories/SimpleStories",
46
+ "tokenizer_name": "SimpleStories/SimpleStories-1.25M"
47
+ }
48
+ }