cjwilliams
commited on
Commit
•
9d8c3a4
1
Parent(s):
e793931
Re-finetuning from codet5_base_multi_sum
Browse files- config.json +4 -24
- generation_config.json +1 -1
- pytorch_model.bin +1 -1
- tokenizer_config.json +0 -1
config.json
CHANGED
@@ -12,7 +12,6 @@
|
|
12 |
"dropout_rate": 0.1,
|
13 |
"eos_token_id": 2,
|
14 |
"feed_forward_proj": "relu",
|
15 |
-
"gradient_checkpointing": false,
|
16 |
"id2label": {
|
17 |
"0": "LABEL_0"
|
18 |
},
|
@@ -36,33 +35,14 @@
|
|
36 |
"summarization": {
|
37 |
"early_stopping": true,
|
38 |
"length_penalty": 2.0,
|
39 |
-
"max_length":
|
40 |
-
"min_length":
|
41 |
"no_repeat_ngram_size": 3,
|
42 |
-
"num_beams":
|
43 |
-
"prefix": "summarize: "
|
44 |
-
},
|
45 |
-
"translation_en_to_de": {
|
46 |
-
"early_stopping": true,
|
47 |
-
"max_length": 300,
|
48 |
-
"num_beams": 4,
|
49 |
-
"prefix": "translate English to German: "
|
50 |
-
},
|
51 |
-
"translation_en_to_fr": {
|
52 |
-
"early_stopping": true,
|
53 |
-
"max_length": 300,
|
54 |
-
"num_beams": 4,
|
55 |
-
"prefix": "translate English to French: "
|
56 |
-
},
|
57 |
-
"translation_en_to_ro": {
|
58 |
-
"early_stopping": true,
|
59 |
-
"max_length": 300,
|
60 |
-
"num_beams": 4,
|
61 |
-
"prefix": "translate English to Romanian: "
|
62 |
}
|
63 |
},
|
64 |
"torch_dtype": "float32",
|
65 |
-
"transformers_version": "4.
|
66 |
"use_cache": true,
|
67 |
"vocab_size": 32100
|
68 |
}
|
|
|
12 |
"dropout_rate": 0.1,
|
13 |
"eos_token_id": 2,
|
14 |
"feed_forward_proj": "relu",
|
|
|
15 |
"id2label": {
|
16 |
"0": "LABEL_0"
|
17 |
},
|
|
|
35 |
"summarization": {
|
36 |
"early_stopping": true,
|
37 |
"length_penalty": 2.0,
|
38 |
+
"max_length": 256,
|
39 |
+
"min_length": 1,
|
40 |
"no_repeat_ngram_size": 3,
|
41 |
+
"num_beams": 5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
}
|
43 |
},
|
44 |
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.27.1",
|
46 |
"use_cache": true,
|
47 |
"vocab_size": 32100
|
48 |
}
|
generation_config.json
CHANGED
@@ -4,5 +4,5 @@
|
|
4 |
"decoder_start_token_id": 0,
|
5 |
"eos_token_id": 2,
|
6 |
"pad_token_id": 0,
|
7 |
-
"transformers_version": "4.
|
8 |
}
|
|
|
4 |
"decoder_start_token_id": 0,
|
5 |
"eos_token_id": 2,
|
6 |
"pad_token_id": 0,
|
7 |
+
"transformers_version": "4.27.1"
|
8 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 891613329
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0051b27c73d3b5fb8e0aebd39d87fc31b159249d39d5281b688fb34ac0773b7f
|
3 |
size 891613329
|
tokenizer_config.json
CHANGED
@@ -34,7 +34,6 @@
|
|
34 |
"single_word": false
|
35 |
},
|
36 |
"model_max_length": 512,
|
37 |
-
"name_or_path": "Salesforce/codet5-base",
|
38 |
"pad_token": {
|
39 |
"__type": "AddedToken",
|
40 |
"content": "<pad>",
|
|
|
34 |
"single_word": false
|
35 |
},
|
36 |
"model_max_length": 512,
|
|
|
37 |
"pad_token": {
|
38 |
"__type": "AddedToken",
|
39 |
"content": "<pad>",
|