sarme
commited on
Commit
·
9408f2f
1
Parent(s):
273c85e
val-loss=0.8035675287246704
Browse files- config.json +5 -41
- pytorch_model.bin +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
@@ -8,16 +8,16 @@
|
|
8 |
"d_model": 768,
|
9 |
"decoder_start_token_id": 0,
|
10 |
"dropout_rate": 0.1,
|
11 |
-
"early_stopping": true,
|
12 |
"eos_token_id": 1,
|
13 |
"feed_forward_proj": "relu",
|
|
|
14 |
"initializer_factor": 1.0,
|
15 |
"is_encoder_decoder": true,
|
16 |
"layer_norm_epsilon": 1e-06,
|
17 |
-
"max_length":
|
18 |
"min_length": 250,
|
19 |
"model_type": "t5",
|
20 |
-
"n_positions":
|
21 |
"num_beams": 5,
|
22 |
"num_decoder_layers": 12,
|
23 |
"num_heads": 12,
|
@@ -26,44 +26,8 @@
|
|
26 |
"pad_token_id": 0,
|
27 |
"relative_attention_max_distance": 128,
|
28 |
"relative_attention_num_buckets": 32,
|
29 |
-
"task_specific_params": {
|
30 |
-
"summarization": {
|
31 |
-
"early_stopping": true,
|
32 |
-
"length_penalty": 2.0,
|
33 |
-
"max_length": 200,
|
34 |
-
"min_length": 30,
|
35 |
-
"no_repeat_ngram_size": 3,
|
36 |
-
"num_beams": 4,
|
37 |
-
"prefix": "summarize: "
|
38 |
-
},
|
39 |
-
"translation_en_to_de": {
|
40 |
-
"early_stopping": true,
|
41 |
-
"max_length": 300,
|
42 |
-
"num_beams": 4,
|
43 |
-
"prefix": "translate English to German: "
|
44 |
-
},
|
45 |
-
"translation_en_to_fr": {
|
46 |
-
"early_stopping": true,
|
47 |
-
"max_length": 300,
|
48 |
-
"num_beams": 4,
|
49 |
-
"prefix": "translate English to French: "
|
50 |
-
},
|
51 |
-
"translation_en_to_ro": {
|
52 |
-
"early_stopping": true,
|
53 |
-
"max_length": 300,
|
54 |
-
"num_beams": 4,
|
55 |
-
"prefix": "translate English to Romanian: "
|
56 |
-
},
|
57 |
-
"translation_en_to_rq": {
|
58 |
-
"early_stopping": true,
|
59 |
-
"max_length": 600,
|
60 |
-
"min_length": 250,
|
61 |
-
"num_beams": 5,
|
62 |
-
"prefix": ""
|
63 |
-
}
|
64 |
-
},
|
65 |
"torch_dtype": "float32",
|
66 |
-
"transformers_version": "4.
|
67 |
"use_cache": true,
|
68 |
"vocab_size": 32110
|
69 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "razent/SciFive-base-Pubmed_PMC",
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
|
|
8 |
"d_model": 768,
|
9 |
"decoder_start_token_id": 0,
|
10 |
"dropout_rate": 0.1,
|
|
|
11 |
"eos_token_id": 1,
|
12 |
"feed_forward_proj": "relu",
|
13 |
+
"gradient_checkpointing": false,
|
14 |
"initializer_factor": 1.0,
|
15 |
"is_encoder_decoder": true,
|
16 |
"layer_norm_epsilon": 1e-06,
|
17 |
+
"max_length": 350,
|
18 |
"min_length": 250,
|
19 |
"model_type": "t5",
|
20 |
+
"n_positions": 1024,
|
21 |
"num_beams": 5,
|
22 |
"num_decoder_layers": 12,
|
23 |
"num_heads": 12,
|
|
|
26 |
"pad_token_id": 0,
|
27 |
"relative_attention_max_distance": 128,
|
28 |
"relative_attention_num_buckets": 32,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.18.0",
|
31 |
"use_cache": true,
|
32 |
"vocab_size": 32110
|
33 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 891645503
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:741303db175abd12ea86e2cae1fbdc1ed1daf904268cb5c4095ff4b0fb61efbe
|
3 |
size 891645503
|