MasterAlex69
commited on
Commit
•
5d46f91
1
Parent(s):
0dd4be7
Training in progress, step 2000
Browse files- config.json +12 -14
- generation_config.json +2 -3
- merges.txt +0 -0
- model.safetensors +2 -2
- runs/Dec21_13-37-12_cb6f4c7286a0/events.out.tfevents.1734788235.cb6f4c7286a0.550.0 +3 -0
- special_tokens_map.json +3 -17
- tokenizer_config.json +8 -44
- training_args.bin +1 -1
- vocab.json +0 -0
config.json
CHANGED
@@ -1,30 +1,22 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
6 |
],
|
7 |
"attn_pdrop": 0.1,
|
8 |
-
"bos_token_id":
|
9 |
"embd_pdrop": 0.1,
|
10 |
-
"eos_token_id":
|
11 |
-
"gradient_checkpointing": false,
|
12 |
-
"id2label": {
|
13 |
-
"0": "LABEL_0"
|
14 |
-
},
|
15 |
"initializer_range": 0.02,
|
16 |
-
"label2id": {
|
17 |
-
"LABEL_0": 0
|
18 |
-
},
|
19 |
"layer_norm_epsilon": 1e-05,
|
20 |
"model_type": "gpt2",
|
21 |
-
"n_ctx":
|
22 |
"n_embd": 768,
|
23 |
"n_head": 12,
|
24 |
"n_inner": null,
|
25 |
"n_layer": 12,
|
26 |
-
"n_positions":
|
27 |
-
"pad_token_id": 0,
|
28 |
"reorder_and_upcast_attn": false,
|
29 |
"resid_pdrop": 0.1,
|
30 |
"scale_attn_by_inverse_layer_idx": false,
|
@@ -34,8 +26,14 @@
|
|
34 |
"summary_proj_to_labels": true,
|
35 |
"summary_type": "cls_index",
|
36 |
"summary_use_proj": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
"torch_dtype": "float32",
|
38 |
"transformers_version": "4.47.1",
|
39 |
"use_cache": true,
|
40 |
-
"vocab_size":
|
41 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "openai-community/gpt2",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
6 |
],
|
7 |
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 50256,
|
|
|
|
|
|
|
|
|
11 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
12 |
"layer_norm_epsilon": 1e-05,
|
13 |
"model_type": "gpt2",
|
14 |
+
"n_ctx": 1024,
|
15 |
"n_embd": 768,
|
16 |
"n_head": 12,
|
17 |
"n_inner": null,
|
18 |
"n_layer": 12,
|
19 |
+
"n_positions": 1024,
|
|
|
20 |
"reorder_and_upcast_attn": false,
|
21 |
"resid_pdrop": 0.1,
|
22 |
"scale_attn_by_inverse_layer_idx": false,
|
|
|
26 |
"summary_proj_to_labels": true,
|
27 |
"summary_type": "cls_index",
|
28 |
"summary_use_proj": true,
|
29 |
+
"task_specific_params": {
|
30 |
+
"text-generation": {
|
31 |
+
"do_sample": true,
|
32 |
+
"max_length": 50
|
33 |
+
}
|
34 |
+
},
|
35 |
"torch_dtype": "float32",
|
36 |
"transformers_version": "4.47.1",
|
37 |
"use_cache": true,
|
38 |
+
"vocab_size": 50257
|
39 |
}
|
generation_config.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"bos_token_id":
|
4 |
-
"eos_token_id":
|
5 |
-
"pad_token_id": 0,
|
6 |
"transformers_version": "4.47.1"
|
7 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
|
|
5 |
"transformers_version": "4.47.1"
|
6 |
}
|
merges.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc48dcd8bd2df07308099110276e9e000d018dcc12e32bcb6377504cd8bf1dc9
|
3 |
+
size 497774208
|
runs/Dec21_13-37-12_cb6f4c7286a0/events.out.tfevents.1734788235.cb6f4c7286a0.550.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc2cd15c909d25585c32abdeca60552c781f65b62b0e98c1805d730bda84b9d8
|
3 |
+
size 5734
|
special_tokens_map.json
CHANGED
@@ -1,34 +1,20 @@
|
|
1 |
{
|
2 |
"bos_token": {
|
3 |
-
"content": "
|
4 |
"lstrip": false,
|
5 |
"normalized": true,
|
6 |
"rstrip": false,
|
7 |
"single_word": false
|
8 |
},
|
9 |
"eos_token": {
|
10 |
-
"content": "
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": true,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
-
"mask_token": {
|
17 |
-
"content": "<mask>",
|
18 |
-
"lstrip": false,
|
19 |
-
"normalized": false,
|
20 |
-
"rstrip": false,
|
21 |
-
"single_word": false
|
22 |
-
},
|
23 |
-
"pad_token": {
|
24 |
-
"content": "<pad>",
|
25 |
"lstrip": false,
|
26 |
"normalized": true,
|
27 |
"rstrip": false,
|
28 |
"single_word": false
|
29 |
},
|
30 |
"unk_token": {
|
31 |
-
"content": "
|
32 |
"lstrip": false,
|
33 |
"normalized": true,
|
34 |
"rstrip": false,
|
|
|
1 |
{
|
2 |
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
"lstrip": false,
|
5 |
"normalized": true,
|
6 |
"rstrip": false,
|
7 |
"single_word": false
|
8 |
},
|
9 |
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
"lstrip": false,
|
12 |
"normalized": true,
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
"unk_token": {
|
17 |
+
"content": "<|endoftext|>",
|
18 |
"lstrip": false,
|
19 |
"normalized": true,
|
20 |
"rstrip": false,
|
tokenizer_config.json
CHANGED
@@ -2,58 +2,22 @@
|
|
2 |
"add_bos_token": false,
|
3 |
"add_prefix_space": false,
|
4 |
"added_tokens_decoder": {
|
5 |
-
"
|
6 |
-
"content": "
|
7 |
"lstrip": false,
|
8 |
"normalized": true,
|
9 |
"rstrip": false,
|
10 |
"single_word": false,
|
11 |
"special": true
|
12 |
-
},
|
13 |
-
"1": {
|
14 |
-
"content": "<s>",
|
15 |
-
"lstrip": false,
|
16 |
-
"normalized": true,
|
17 |
-
"rstrip": false,
|
18 |
-
"single_word": false,
|
19 |
-
"special": true
|
20 |
-
},
|
21 |
-
"2": {
|
22 |
-
"content": "</s>",
|
23 |
-
"lstrip": false,
|
24 |
-
"normalized": true,
|
25 |
-
"rstrip": false,
|
26 |
-
"single_word": false,
|
27 |
-
"special": true
|
28 |
-
},
|
29 |
-
"3": {
|
30 |
-
"content": "<unk>",
|
31 |
-
"lstrip": false,
|
32 |
-
"normalized": true,
|
33 |
-
"rstrip": false,
|
34 |
-
"single_word": false,
|
35 |
-
"special": true
|
36 |
-
},
|
37 |
-
"4": {
|
38 |
-
"content": "<mask>",
|
39 |
-
"lstrip": false,
|
40 |
-
"normalized": false,
|
41 |
-
"rstrip": false,
|
42 |
-
"single_word": false,
|
43 |
-
"special": true
|
44 |
}
|
45 |
},
|
46 |
-
"bos_token": "
|
47 |
-
"clean_up_tokenization_spaces":
|
48 |
-
"eos_token": "
|
49 |
"errors": "replace",
|
50 |
"extra_special_tokens": {},
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"pad_token": "<pad>",
|
54 |
-
"padding_side": "left",
|
55 |
"tokenizer_class": "GPT2Tokenizer",
|
56 |
-
"
|
57 |
-
"trust_remote_code": false,
|
58 |
-
"unk_token": "<unk>"
|
59 |
}
|
|
|
2 |
"add_bos_token": false,
|
3 |
"add_prefix_space": false,
|
4 |
"added_tokens_decoder": {
|
5 |
+
"50256": {
|
6 |
+
"content": "<|endoftext|>",
|
7 |
"lstrip": false,
|
8 |
"normalized": true,
|
9 |
"rstrip": false,
|
10 |
"single_word": false,
|
11 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
}
|
13 |
},
|
14 |
+
"bos_token": "<|endoftext|>",
|
15 |
+
"clean_up_tokenization_spaces": false,
|
16 |
+
"eos_token": "<|endoftext|>",
|
17 |
"errors": "replace",
|
18 |
"extra_special_tokens": {},
|
19 |
+
"model_max_length": 1024,
|
20 |
+
"pad_token": null,
|
|
|
|
|
21 |
"tokenizer_class": "GPT2Tokenizer",
|
22 |
+
"unk_token": "<|endoftext|>"
|
|
|
|
|
23 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5368
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2bf2bfc15655b7e7e034ffbc7a2169139ac32b68afaf08626794ad78b4dbec5f
|
3 |
size 5368
|
vocab.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|