devrim commited on
Commit
b804092
·
1 Parent(s): b03df27

Pushing model.

Browse files
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<bos>": 50257, "<eos>": 50258, "<pad>": 50259, "<context>": 50260, "<clue>": 50261, "<ans>": 50262, "<style>": 50263, "<ques>": 50264}
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 50256,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 50256,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_ctx": 1024,
14
+ "n_embd": 768,
15
+ "n_head": 12,
16
+ "n_layer": 12,
17
+ "n_positions": 1024,
18
+ "resid_pdrop": 0.1,
19
+ "summary_activation": null,
20
+ "summary_first_dropout": 0.1,
21
+ "summary_proj_to_labels": true,
22
+ "summary_type": "cls_index",
23
+ "summary_use_proj": true,
24
+ "task_specific_params": {
25
+ "text-generation": {
26
+ "do_sample": true,
27
+ "max_length": 50
28
+ }
29
+ },
30
+ "vocab_size": 50265
31
+ }
events.out.tfevents.1598920989.ip-172-31-34-164 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8c626a17ae2fc20393564a47c0ada6699863d755490c9faeca04a27dabb8e24
3
+ size 1106252
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model_training_args.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "gpt2",
3
+ "model_checkpoint": "gpt2",
4
+ "device": "cuda:0",
5
+ "use_amp": true,
6
+ "train_batch_size": 3,
7
+ "valid_batch_size": 3,
8
+ "gradient_accumulation_steps": 10,
9
+ "lr": 6.25e-05,
10
+ "max_norm": 1.0,
11
+ "n_epochs": 3,
12
+ "eval_before_start": false,
13
+ "dataset_cache_dir": "/home/ubuntu/question-generation/caches/datasets",
14
+ "dataset_dir": "datasets/SQuAD/qg",
15
+ "local_rank": 0,
16
+ "output_dir": "/home/ubuntu/question-generation/outputs/train",
17
+ "save_interval_epoch": 1,
18
+ "iterations_before_checking": 0,
19
+ "n_saved_epoch": 3,
20
+ "distributed": true
21
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:458a55f8f8fe32a199245d77ce38acd0224d37c2f1ce78037fa8bfad32d5ce07
3
+ size 510432891
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<bos>", "eos_token": "<eos>", "unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": "<pad>", "additional_special_tokens": ["<context>", "<clue>", "<ans>", "<style>", "<ques>"]}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"model_max_length": 1024}
vocab.json ADDED
The diff for this file is too large to render. See raw diff