Sayan01 commited on
Commit
c39b749
·
1 Parent(s): 252de86

Upload T5ForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +32 -2
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/t5-v1_1-base",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
@@ -17,6 +17,7 @@
17
  "is_gated_act": true,
18
  "layer_norm_epsilon": 1e-06,
19
  "model_type": "t5",
 
20
  "num_decoder_layers": 12,
21
  "num_heads": 12,
22
  "num_layers": 12,
@@ -24,8 +25,37 @@
24
  "pad_token_id": 0,
25
  "relative_attention_max_distance": 128,
26
  "relative_attention_num_buckets": 32,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  "tie_word_embeddings": false,
28
- "torch_dtype": "float32",
29
  "transformers_version": "4.34.1",
30
  "use_cache": true,
31
  "vocab_size": 32128
 
1
  {
2
+ "_name_or_path": "google/flan-t5-base",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
 
17
  "is_gated_act": true,
18
  "layer_norm_epsilon": 1e-06,
19
  "model_type": "t5",
20
+ "n_positions": 512,
21
  "num_decoder_layers": 12,
22
  "num_heads": 12,
23
  "num_layers": 12,
 
25
  "pad_token_id": 0,
26
  "relative_attention_max_distance": 128,
27
  "relative_attention_num_buckets": 32,
28
+ "task_specific_params": {
29
+ "summarization": {
30
+ "early_stopping": true,
31
+ "length_penalty": 2.0,
32
+ "max_length": 200,
33
+ "min_length": 30,
34
+ "no_repeat_ngram_size": 3,
35
+ "num_beams": 4,
36
+ "prefix": "summarize: "
37
+ },
38
+ "translation_en_to_de": {
39
+ "early_stopping": true,
40
+ "max_length": 300,
41
+ "num_beams": 4,
42
+ "prefix": "translate English to German: "
43
+ },
44
+ "translation_en_to_fr": {
45
+ "early_stopping": true,
46
+ "max_length": 300,
47
+ "num_beams": 4,
48
+ "prefix": "translate English to French: "
49
+ },
50
+ "translation_en_to_ro": {
51
+ "early_stopping": true,
52
+ "max_length": 300,
53
+ "num_beams": 4,
54
+ "prefix": "translate English to Romanian: "
55
+ }
56
+ },
57
  "tie_word_embeddings": false,
58
+ "torch_dtype": "bfloat16",
59
  "transformers_version": "4.34.1",
60
  "use_cache": true,
61
  "vocab_size": 32128
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:74e1ff33b8e6e56420ada8ce274b158c770040cf7acf86c6bd891c8ca1b9069f
3
- size 990405362
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d67332e5cdb2f8320c50056d7a8f4bb42944e7ac3dbc087f1fc02d3f04337c89
3
+ size 495249650