Trained for 4 epochs
Browse files- config.json +1 -1
- model.safetensors +1 -1
- special_tokens_map.json +28 -4
- tokenizer.json +6 -1
- tokenizer_config.json +4 -0
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"_num_labels": 1,
|
4 |
"activation_function": "gelu_new",
|
5 |
"architectures": [
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./codegen_distilgpt2-3",
|
3 |
"_num_labels": 1,
|
4 |
"activation_function": "gelu_new",
|
5 |
"architectures": [
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 327661000
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38ec9395428c0981a7ede183b1f6638347d98173339da61e81a729b8a4e67def
|
3 |
size 327661000
|
special_tokens_map.json
CHANGED
@@ -1,6 +1,30 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": {
|
17 |
+
"content": "<|endoftext|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<|endoftext|>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
}
|
tokenizer.json
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
|
|
|
|
|
|
|
|
|
|
4 |
"padding": null,
|
5 |
"added_tokens": [
|
6 |
{
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": {
|
4 |
+
"direction": "Right",
|
5 |
+
"max_length": 512,
|
6 |
+
"strategy": "LongestFirst",
|
7 |
+
"stride": 0
|
8 |
+
},
|
9 |
"padding": null,
|
10 |
"added_tokens": [
|
11 |
{
|
tokenizer_config.json
CHANGED
@@ -22,8 +22,12 @@
|
|
22 |
"clean_up_tokenization_spaces": false,
|
23 |
"eos_token": "<|endoftext|>",
|
24 |
"extra_special_tokens": {},
|
|
|
25 |
"model_max_length": 1024,
|
26 |
"pad_token": "<|endoftext|>",
|
|
|
27 |
"tokenizer_class": "GPT2Tokenizer",
|
|
|
|
|
28 |
"unk_token": "<|endoftext|>"
|
29 |
}
|
|
|
22 |
"clean_up_tokenization_spaces": false,
|
23 |
"eos_token": "<|endoftext|>",
|
24 |
"extra_special_tokens": {},
|
25 |
+
"max_length": 512,
|
26 |
"model_max_length": 1024,
|
27 |
"pad_token": "<|endoftext|>",
|
28 |
+
"stride": 0,
|
29 |
"tokenizer_class": "GPT2Tokenizer",
|
30 |
+
"truncation_side": "right",
|
31 |
+
"truncation_strategy": "longest_first",
|
32 |
"unk_token": "<|endoftext|>"
|
33 |
}
|