talphaidze commited on
Commit
4a147a2
·
verified ·
1 Parent(s): 385905a

Initial commit of GPT2 201920

Browse files
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MoEGPTForCausalLM"
4
+ ],
5
+ "auto_map": {
6
+ "AutoConfig": "configuration.MoEGPTConfig",
7
+ "AutoModelForCausalLM": "modeling.MoEGPTForCausalLM",
8
+ "AutoTokenizer": "GPT2TokenizerFast"
9
+ },
10
+ "bias": false,
11
+ "dropout": 0.0,
12
+ "mlp_dim_exp_factor": 1.0,
13
+ "model_type": "moegpt",
14
+ "moe": false,
15
+ "moe_aux_loss_factor": 0.01,
16
+ "moe_num_experts": 1,
17
+ "moe_num_experts_per_tok": 2,
18
+ "moe_router_loss": "load_balancing_z_loss",
19
+ "moe_routing": "None",
20
+ "moe_softmax_order": "softmax_topk",
21
+ "moe_z_loss_factor": 1.0,
22
+ "n_embd": 1152,
23
+ "n_head": 16,
24
+ "n_layer": 24,
25
+ "sequence_length": 1024,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.51.1",
28
+ "vocab_size": 50304
29
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b85f28151f89b6fd326a1d269da39b105b3281a45fad98320b4661ae998d11e
3
+ size 1765615702
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,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": false,
15
+ "eos_token": "<|endoftext|>",
16
+ "extra_special_tokens": {},
17
+ "model_max_length": 1024,
18
+ "tokenizer_class": "GPT2Tokenizer",
19
+ "unk_token": "<|endoftext|>"
20
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff