Vivek commited on
Commit
2b36275
1 Parent(s): 853d225

Saving weights of epoch 2 at step 5

Browse files
config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPTNeoForMultipleChoice"
5
+ ],
6
+ "attention_dropout": 0,
7
+ "attention_layers": [
8
+ "global",
9
+ "local",
10
+ "global",
11
+ "local",
12
+ "global",
13
+ "local",
14
+ "global",
15
+ "local",
16
+ "global",
17
+ "local",
18
+ "global",
19
+ "local",
20
+ "global",
21
+ "local",
22
+ "global",
23
+ "local",
24
+ "global",
25
+ "local",
26
+ "global",
27
+ "local",
28
+ "global",
29
+ "local",
30
+ "global",
31
+ "local"
32
+ ],
33
+ "attention_types": [
34
+ [
35
+ [
36
+ "global",
37
+ "local"
38
+ ],
39
+ 12
40
+ ]
41
+ ],
42
+ "bos_token_id": 50256,
43
+ "embed_dropout": 0,
44
+ "eos_token_id": 50256,
45
+ "gradient_checkpointing": false,
46
+ "hidden_size": 2048,
47
+ "initializer_range": 0.02,
48
+ "intermediate_size": null,
49
+ "layer_norm_epsilon": 1e-05,
50
+ "max_position_embeddings": 2048,
51
+ "model_type": "gpt_neo",
52
+ "num_heads": 16,
53
+ "num_layers": 24,
54
+ "resid_dropout": 0,
55
+ "summary_activation": null,
56
+ "summary_first_dropout": 0.1,
57
+ "summary_proj_to_labels": true,
58
+ "summary_type": "cls_index",
59
+ "summary_use_proj": true,
60
+ "task_specific_params": {
61
+ "text-generation": {
62
+ "do_sample": true,
63
+ "max_length": 50,
64
+ "temperature": 0.9
65
+ }
66
+ },
67
+ "tokenizer_class": "GPT2Tokenizer",
68
+ "transformers_version": "4.10.0.dev0",
69
+ "use_cache": true,
70
+ "vocab_size": 50257,
71
+ "window_size": 256
72
+ }
flax_model.msgpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:026a9da1385727ad25b118be45961965cf77faaf56bfa6193d1b1105fd73fc2c
3
+ size 5262347427
results_tensorboard/events.out.tfevents.1627575327.t1v-n-cb40e504-w-0.12731.3.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8da59be43f840d393332e6be49c905a9a5e49e95cfb3aa2d172593aa454e3283
3
+ size 1160
src/__pycache__/model_file.cpython-38.pyc ADDED
Binary file (9.25 kB). View file
 
src/gptneo_story.py CHANGED
@@ -44,8 +44,8 @@ def preprocess(example):
44
  train_dataset=train_dataset.map(preprocess)
45
  validation_dataset=validation_dataset.map(preprocess)
46
 
47
- len_train_dataset=2456
48
- len_validation_dataset=1200
49
 
50
  train_dataset=train_dataset.select(range(len_train_dataset))
51
  validation_dataset=validation_dataset.select(range(len_validation_dataset))
 
44
  train_dataset=train_dataset.map(preprocess)
45
  validation_dataset=validation_dataset.map(preprocess)
46
 
47
+ len_train_dataset=100
48
+ len_validation_dataset=100
49
 
50
  train_dataset=train_dataset.select(range(len_train_dataset))
51
  validation_dataset=validation_dataset.select(range(len_validation_dataset))