epurdy commited on
Commit
f3ed203
·
1 Parent(s): cf0b01b

config and tokenizer

Browse files
Files changed (2) hide show
  1. config.json +34 -0
  2. tokenizer.json +57 -0
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "classifier_dropout": 0.0,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
12
+ "hidden_dropout_prob": 0.0,
13
+ "initializer_range": 0.02,
14
+ "layer_norm_epsilon": 1e-05,
15
+ "model_type": "gpt2",
16
+ "n_ctx": 1024,
17
+ "n_embd": 768,
18
+ "n_head": 12,
19
+ "n_inner": null,
20
+ "n_layer": 2,
21
+ "n_positions": 1024,
22
+ "reorder_and_upcast_attn": false,
23
+ "resid_pdrop": 0.1,
24
+ "scale_attn_by_inverse_layer_idx": false,
25
+ "scale_attn_weights": true,
26
+ "summary_activation": null,
27
+ "summary_first_dropout": 0.1,
28
+ "summary_proj_to_labels": true,
29
+ "summary_type": "cls_index",
30
+ "summary_use_proj": true,
31
+ "transformers_version": "4.25.1",
32
+ "use_cache": true,
33
+ "vocab_size": 31
34
+ }
tokenizer.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
5
+ "added_tokens": [],
6
+ "normalizer": null,
7
+ "pre_tokenizer": {
8
+ "type": "ByteLevel",
9
+ "add_prefix_space": true,
10
+ "trim_offsets": true,
11
+ "use_regex": true
12
+ },
13
+ "post_processor": null,
14
+ "decoder": null,
15
+ "model": {
16
+ "type": "BPE",
17
+ "dropout": null,
18
+ "unk_token": null,
19
+ "continuing_subword_prefix": null,
20
+ "end_of_word_suffix": null,
21
+ "fuse_unk": false,
22
+ "vocab": {
23
+ "<|endoftext|>": 0,
24
+ " A": 1,
25
+ " B": 2,
26
+ " C": 3,
27
+ " D": 4,
28
+ " E": 5,
29
+ " F": 6,
30
+ " G": 7,
31
+ " H": 8,
32
+ " I": 9,
33
+ " J": 10,
34
+ " K": 11,
35
+ " L": 12,
36
+ " M": 13,
37
+ " N": 14,
38
+ " O": 15,
39
+ " P": 16,
40
+ " Q": 17,
41
+ " R": 18,
42
+ " S": 19,
43
+ " T": 20,
44
+ " U": 21,
45
+ " V": 22,
46
+ " W": 23,
47
+ " X": 24,
48
+ " Y": 25,
49
+ " Z": 26,
50
+ " a": 27,
51
+ " b": 28,
52
+ " c": 29,
53
+ " d": 30
54
+ },
55
+ "merges": []
56
+ }
57
+ }