Stephanie-S
commited on
Commit
•
9de4d34
1
Parent(s):
027d717
Training in progress, epoch 1
Browse files- config.json +1 -9
- model.safetensors +1 -1
- special_tokens_map.json +21 -3
- tokenizer_config.json +2 -0
- training_args.bin +2 -2
- vocab.json +0 -0
config.json
CHANGED
@@ -2,21 +2,13 @@
|
|
2 |
"_name_or_path": "openai-community/gpt2",
|
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 |
-
"id2label": {
|
12 |
-
"0": "NEGATIVE",
|
13 |
-
"1": "POSITIVE"
|
14 |
-
},
|
15 |
"initializer_range": 0.02,
|
16 |
-
"label2id": {
|
17 |
-
"NEGATIVE": 0,
|
18 |
-
"POSITIVE": 1
|
19 |
-
},
|
20 |
"layer_norm_epsilon": 1e-05,
|
21 |
"model_type": "gpt2",
|
22 |
"n_ctx": 1024,
|
|
|
2 |
"_name_or_path": "openai-community/gpt2",
|
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 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
|
|
12 |
"layer_norm_epsilon": 1e-05,
|
13 |
"model_type": "gpt2",
|
14 |
"n_ctx": 1024,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 497780432
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:092bba24faaee1ef101b6d12a7f7c494a0fb2136c6b3710312a898317b511c8b
|
3 |
size 497780432
|
special_tokens_map.json
CHANGED
@@ -1,6 +1,24 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"pad_token": "<|endoftext|>",
|
5 |
-
"unk_token":
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
|
|
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 |
"pad_token": "<|endoftext|>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<|endoftext|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
}
|
tokenizer_config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"add_prefix_space": false,
|
3 |
"added_tokens_decoder": {
|
4 |
"50256": {
|
@@ -13,6 +14,7 @@
|
|
13 |
"bos_token": "<|endoftext|>",
|
14 |
"clean_up_tokenization_spaces": true,
|
15 |
"eos_token": "<|endoftext|>",
|
|
|
16 |
"model_max_length": 1024,
|
17 |
"pad_token": "<|endoftext|>",
|
18 |
"tokenizer_class": "GPT2Tokenizer",
|
|
|
1 |
{
|
2 |
+
"add_bos_token": false,
|
3 |
"add_prefix_space": false,
|
4 |
"added_tokens_decoder": {
|
5 |
"50256": {
|
|
|
14 |
"bos_token": "<|endoftext|>",
|
15 |
"clean_up_tokenization_spaces": true,
|
16 |
"eos_token": "<|endoftext|>",
|
17 |
+
"errors": "replace",
|
18 |
"model_max_length": 1024,
|
19 |
"pad_token": "<|endoftext|>",
|
20 |
"tokenizer_class": "GPT2Tokenizer",
|
training_args.bin
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:b25c9a63de435079d6e04412b0af373714801d3f39577ad5e25f54ec0ee8e40c
|
3 |
+
size 4856
|
vocab.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|