jamiewjm commited on
Commit
b5a6648
1 Parent(s): 4a47622
Files changed (2) hide show
  1. config.json +57 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "jamiewjm/CCGwGPT2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "do_sample": true,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
12
+ "gradient_checkpointing": false,
13
+ "initializer_range": 0.02,
14
+ "layer_norm_epsilon": 1e-05,
15
+ "max_length": 100,
16
+ "model_type": "gpt2",
17
+ "n_ctx": 1024,
18
+ "n_embd": 768,
19
+ "n_head": 12,
20
+ "n_inner": null,
21
+ "n_layer": 12,
22
+ "n_positions": 1024,
23
+ "no_repeat_ngram_size": 3,
24
+ "num_return_sequences": 5,
25
+ "output_past": true,
26
+ "reorder_and_upcast_attn": false,
27
+ "repetition_penalty": 1.3,
28
+ "resid_pdrop": 0.1,
29
+ "scale_attn_by_inverse_layer_idx": false,
30
+ "scale_attn_weights": true,
31
+ "summary_activation": null,
32
+ "summary_first_dropout": 0.1,
33
+ "summary_proj_to_labels": true,
34
+ "summary_type": "cls_index",
35
+ "summary_use_proj": true,
36
+ "task_specific_params": {
37
+ "text-generation": {
38
+ "do_sample": true,
39
+ "eos_token_id": 0,
40
+ "max_length": 100,
41
+ "no_repeat_ngram_size": 3,
42
+ "num_return_sequences": 5,
43
+ "pad_token_id": 0,
44
+ "repetition_penalty": 1.3,
45
+ "temperature": 0.7,
46
+ "top_k": 8,
47
+ "top_p": 0.7
48
+ }
49
+ },
50
+ "tokenizer_class": "BertTokenizerFast",
51
+ "top_k": 5,
52
+ "top_p": 0.7,
53
+ "torch_dtype": "float32",
54
+ "transformers_version": "4.12.3",
55
+ "use_cache": true,
56
+ "vocab_size": 25811
57
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cb88ece7bcc3f450b0fd1a88369ef5a78736c8e03881fe9d5a2d5cc00b3674a
3
+ size 386744169