Training in progress, step 50
Browse files- config.json +18 -1
- model.safetensors +2 -2
- special_tokens_map.json +1 -0
- tokenizer.json +16 -2
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
config.json
CHANGED
|
@@ -2,13 +2,28 @@
|
|
| 2 |
"_name_or_path": "openai-community/gpt2-medium",
|
| 3 |
"activation_function": "gelu_new",
|
| 4 |
"architectures": [
|
| 5 |
-
"
|
| 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,
|
|
@@ -18,7 +33,9 @@
|
|
| 18 |
"n_layer": 24,
|
| 19 |
"n_positions": 1024,
|
| 20 |
"n_special": 0,
|
|
|
|
| 21 |
"predict_special_tokens": true,
|
|
|
|
| 22 |
"reorder_and_upcast_attn": false,
|
| 23 |
"resid_pdrop": 0.1,
|
| 24 |
"scale_attn_by_inverse_layer_idx": false,
|
|
|
|
| 2 |
"_name_or_path": "openai-community/gpt2-medium",
|
| 3 |
"activation_function": "gelu_new",
|
| 4 |
"architectures": [
|
| 5 |
+
"GPT2ForSequenceClassification"
|
| 6 |
],
|
| 7 |
"attn_pdrop": 0.1,
|
| 8 |
"bos_token_id": 50256,
|
| 9 |
"embd_pdrop": 0.1,
|
| 10 |
"eos_token_id": 50256,
|
| 11 |
+
"finetuning_task": "text-classification",
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "a",
|
| 14 |
+
"1": "b",
|
| 15 |
+
"2": "c",
|
| 16 |
+
"3": "d",
|
| 17 |
+
"4": "e"
|
| 18 |
+
},
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
+
"label2id": {
|
| 21 |
+
"a": 0,
|
| 22 |
+
"b": 1,
|
| 23 |
+
"c": 2,
|
| 24 |
+
"d": 3,
|
| 25 |
+
"e": 4
|
| 26 |
+
},
|
| 27 |
"layer_norm_epsilon": 1e-05,
|
| 28 |
"model_type": "gpt2",
|
| 29 |
"n_ctx": 1024,
|
|
|
|
| 33 |
"n_layer": 24,
|
| 34 |
"n_positions": 1024,
|
| 35 |
"n_special": 0,
|
| 36 |
+
"pad_token_id": 50256,
|
| 37 |
"predict_special_tokens": true,
|
| 38 |
+
"problem_type": "single_label_classification",
|
| 39 |
"reorder_and_upcast_attn": false,
|
| 40 |
"resid_pdrop": 0.1,
|
| 41 |
"scale_attn_by_inverse_layer_idx": false,
|
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:2e3f7a523f562d6c337e03bb33a210b54ea076f951b53311f51e720b96dca1da
|
| 3 |
+
size 1419343440
|
special_tokens_map.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"bos_token": "<|endoftext|>",
|
| 3 |
"eos_token": "<|endoftext|>",
|
|
|
|
| 4 |
"unk_token": "<|endoftext|>"
|
| 5 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"bos_token": "<|endoftext|>",
|
| 3 |
"eos_token": "<|endoftext|>",
|
| 4 |
+
"pad_token": "<|endoftext|>",
|
| 5 |
"unk_token": "<|endoftext|>"
|
| 6 |
}
|
tokenizer.json
CHANGED
|
@@ -1,7 +1,21 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
| 7 |
"id": 50256,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": {
|
| 4 |
+
"direction": "Right",
|
| 5 |
+
"max_length": 1024,
|
| 6 |
+
"strategy": "LongestFirst",
|
| 7 |
+
"stride": 0
|
| 8 |
+
},
|
| 9 |
+
"padding": {
|
| 10 |
+
"strategy": {
|
| 11 |
+
"Fixed": 1024
|
| 12 |
+
},
|
| 13 |
+
"direction": "Right",
|
| 14 |
+
"pad_to_multiple_of": null,
|
| 15 |
+
"pad_id": 50256,
|
| 16 |
+
"pad_type_id": 0,
|
| 17 |
+
"pad_token": "<|endoftext|>"
|
| 18 |
+
},
|
| 19 |
"added_tokens": [
|
| 20 |
{
|
| 21 |
"id": 50256,
|
tokenizer_config.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
| 14 |
"clean_up_tokenization_spaces": true,
|
| 15 |
"eos_token": "<|endoftext|>",
|
| 16 |
"model_max_length": 1024,
|
|
|
|
| 17 |
"tokenizer_class": "GPT2Tokenizer",
|
| 18 |
"unk_token": "<|endoftext|>"
|
| 19 |
}
|
|
|
|
| 14 |
"clean_up_tokenization_spaces": true,
|
| 15 |
"eos_token": "<|endoftext|>",
|
| 16 |
"model_max_length": 1024,
|
| 17 |
+
"pad_token": "<|endoftext|>",
|
| 18 |
"tokenizer_class": "GPT2Tokenizer",
|
| 19 |
"unk_token": "<|endoftext|>"
|
| 20 |
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0908b84cd3056ca9e653c923e5b2c99a4fcc96cc0f6e92a667606e48fc0dcc93
|
| 3 |
+
size 5176
|