hyunwoo3235
commited on
Commit
•
ce6828c
1
Parent(s):
39fac69
Upload 8 files
Browse files- config.json +49 -0
- flax_model.msgpack +3 -0
- generation_config.json +5 -0
- model.safetensors +3 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +5 -0
- tokenizer.json +0 -0
- tokenizer_config.json +9 -0
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"MptForCausalLM"
|
4 |
+
],
|
5 |
+
"attn_config": {
|
6 |
+
"alibi": true,
|
7 |
+
"alibi_bias_max": 8,
|
8 |
+
"attn_impl": "torch",
|
9 |
+
"attn_pdrop": 0,
|
10 |
+
"attn_type": "multihead_attention",
|
11 |
+
"attn_uses_sequence_id": false,
|
12 |
+
"clip_qkv": null,
|
13 |
+
"prefix_lm": false,
|
14 |
+
"qk_ln": false,
|
15 |
+
"softmax_scale": null
|
16 |
+
},
|
17 |
+
"d_model": 2048,
|
18 |
+
"emb_pdrop": 0,
|
19 |
+
"embedding_fraction": 1.0,
|
20 |
+
"expansion_ratio": 4,
|
21 |
+
"init_config": {
|
22 |
+
"emb_init_std": null,
|
23 |
+
"emb_init_uniform_lim": null,
|
24 |
+
"fan_mode": "fan_in",
|
25 |
+
"init_div_is_residual": true,
|
26 |
+
"init_gain": 0.0,
|
27 |
+
"init_nonlinearity": "relu",
|
28 |
+
"init_std": null,
|
29 |
+
"name": "kaiming_normal_",
|
30 |
+
"verbose": 0
|
31 |
+
},
|
32 |
+
"init_device": "cpu",
|
33 |
+
"initializer_range": 0.02,
|
34 |
+
"layer_norm_epsilon": 1e-05,
|
35 |
+
"learned_pos_emb": true,
|
36 |
+
"logit_scale": null,
|
37 |
+
"max_seq_len": 8192,
|
38 |
+
"model_type": "mpt",
|
39 |
+
"n_heads": 16,
|
40 |
+
"n_layers": 24,
|
41 |
+
"no_bias": true,
|
42 |
+
"norm_type": "low_precision_layernorm",
|
43 |
+
"resid_pdrop": 0,
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.33.0.dev0",
|
46 |
+
"use_cache": false,
|
47 |
+
"verbose": 0,
|
48 |
+
"vocab_size": 50432
|
49 |
+
}
|
flax_model.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77c9160f11d9fd38df40cfcfa572fbe88c5d9afb03ff4b6619cdf97650acf61b
|
3 |
+
size 5245384770
|
generation_config.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"transformers_version": "4.33.0.dev0",
|
4 |
+
"use_cache": false
|
5 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c823e3925fbde973be1cbca138d2be842dd1efaea0e42a8198792f6ff7f6fea1
|
3 |
+
size 5245395232
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61f61f1487f5c1edf7e851403b36b245657274eb121236704845b6ac8aefe694
|
3 |
+
size 5245427845
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|endoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"unk_token": "<|endoftext|>"
|
5 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<|endoftext|>",
|
4 |
+
"clean_up_tokenization_spaces": true,
|
5 |
+
"eos_token": "<|endoftext|>",
|
6 |
+
"model_max_length": 2048,
|
7 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
8 |
+
"unk_token": "<|endoftext|>"
|
9 |
+
}
|