Upload 4 files
Browse files- config.json +2 -1
- generation_config.json +1 -1
- model.safetensors +1 -1
- tokenizer_config.json +0 -1
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"activation_function": "gelu_new",
|
| 3 |
"architectures": [
|
| 4 |
"GPT2LMHeadModel"
|
|
@@ -32,7 +33,7 @@
|
|
| 32 |
}
|
| 33 |
},
|
| 34 |
"torch_dtype": "float32",
|
| 35 |
-
"transformers_version": "4.
|
| 36 |
"use_cache": true,
|
| 37 |
"vocab_size": 50257
|
| 38 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "./gpt2_finetuned",
|
| 3 |
"activation_function": "gelu_new",
|
| 4 |
"architectures": [
|
| 5 |
"GPT2LMHeadModel"
|
|
|
|
| 33 |
}
|
| 34 |
},
|
| 35 |
"torch_dtype": "float32",
|
| 36 |
+
"transformers_version": "4.46.2",
|
| 37 |
"use_cache": true,
|
| 38 |
"vocab_size": 50257
|
| 39 |
}
|
generation_config.json
CHANGED
|
@@ -2,5 +2,5 @@
|
|
| 2 |
"_from_model_config": true,
|
| 3 |
"bos_token_id": 50256,
|
| 4 |
"eos_token_id": 50256,
|
| 5 |
-
"transformers_version": "4.
|
| 6 |
}
|
|
|
|
| 2 |
"_from_model_config": true,
|
| 3 |
"bos_token_id": 50256,
|
| 4 |
"eos_token_id": 50256,
|
| 5 |
+
"transformers_version": "4.46.2"
|
| 6 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 497774208
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ff433b3700b3b5e33c6bc6c3fdc2f4ada7e62382fec8249744b3d5f74a7803e
|
| 3 |
size 497774208
|
tokenizer_config.json
CHANGED
|
@@ -15,7 +15,6 @@
|
|
| 15 |
"clean_up_tokenization_spaces": true,
|
| 16 |
"eos_token": "<|endoftext|>",
|
| 17 |
"errors": "replace",
|
| 18 |
-
"extra_special_tokens": {},
|
| 19 |
"model_max_length": 1024,
|
| 20 |
"pad_token": "<|endoftext|>",
|
| 21 |
"tokenizer_class": "GPT2Tokenizer",
|
|
|
|
| 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",
|