yzhangcs commited on
Commit
1adad50
·
verified ·
1 Parent(s): 2304b4e

Upload HGRNForCausalLM

Browse files
Files changed (4) hide show
  1. README.md +1 -1
  2. config.json +3 -1
  3. generation_config.json +2 -1
  4. model.safetensors +2 -2
README.md CHANGED
@@ -8,4 +8,4 @@ license: mit
8
  datasets:
9
  - cerebras/SlimPajama-627B
10
  library_name: fla
11
- ---
 
8
  datasets:
9
  - cerebras/SlimPajama-627B
10
  library_name: fla
11
+ ---
config.json CHANGED
@@ -3,6 +3,7 @@
3
  "architectures": [
4
  "HGRNForCausalLM"
5
  ],
 
6
  "attn_mode": "fused_recurrent",
7
  "bos_token_id": 1,
8
  "conv_size": 4,
@@ -10,6 +11,7 @@
10
  "eos_token_id": 2,
11
  "expand_ratio": 1,
12
  "fuse_cross_entropy": true,
 
13
  "hidden_act": "swish",
14
  "hidden_ratio": 4,
15
  "hidden_size": 2048,
@@ -24,7 +26,7 @@
24
  "share_conv_kernel": true,
25
  "tie_word_embeddings": false,
26
  "torch_dtype": "bfloat16",
27
- "transformers_version": "4.45.2",
28
  "use_cache": true,
29
  "use_lower_bound": true,
30
  "use_short_conv": false,
 
3
  "architectures": [
4
  "HGRNForCausalLM"
5
  ],
6
+ "attn": null,
7
  "attn_mode": "fused_recurrent",
8
  "bos_token_id": 1,
9
  "conv_size": 4,
 
11
  "eos_token_id": 2,
12
  "expand_ratio": 1,
13
  "fuse_cross_entropy": true,
14
+ "fuse_norm": true,
15
  "hidden_act": "swish",
16
  "hidden_ratio": 4,
17
  "hidden_size": 2048,
 
26
  "share_conv_kernel": true,
27
  "tie_word_embeddings": false,
28
  "torch_dtype": "bfloat16",
29
+ "transformers_version": "4.48.2",
30
  "use_cache": true,
31
  "use_lower_bound": true,
32
  "use_short_conv": false,
generation_config.json CHANGED
@@ -2,5 +2,6 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
- "transformers_version": "4.45.2"
 
6
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
+ "pad_token_id": 2,
6
+ "transformers_version": "4.48.2"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c242dd37b51c8b16cfdb8fa7b239bf41e4a172bc93236d3c0997c5fc7b1fc0fb
3
- size 2728816304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:480ed12b06d2ebfc604210c90ecb66e922d5825e7260ad49cd1061ef7d52a987
3
+ size 2728818968