visheratin commited on
Commit
32f7e67
1 Parent(s): 17597b3

Upload T5ForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +4 -3
  2. pytorch_model.bin +1 -1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "visheratin/t5-efficient-mini-grammar-correction",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
@@ -15,6 +15,7 @@
15
  "is_encoder_decoder": true,
16
  "is_gated_act": false,
17
  "layer_norm_epsilon": 1e-06,
 
18
  "n_positions": 512,
19
  "num_decoder_layers": 4,
20
  "num_heads": 8,
@@ -23,7 +24,7 @@
23
  "relative_attention_max_distance": 128,
24
  "relative_attention_num_buckets": 32,
25
  "torch_dtype": "float32",
26
- "transformers_version": "4.21.2",
27
- "use_cache": false,
28
  "vocab_size": 32128
29
  }
 
1
  {
2
+ "_name_or_path": "google/t5-efficient-mini",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
 
15
  "is_encoder_decoder": true,
16
  "is_gated_act": false,
17
  "layer_norm_epsilon": 1e-06,
18
+ "model_type": "t5",
19
  "n_positions": 512,
20
  "num_decoder_layers": 4,
21
  "num_heads": 8,
 
24
  "relative_attention_max_distance": 128,
25
  "relative_attention_num_buckets": 32,
26
  "torch_dtype": "float32",
27
+ "transformers_version": "4.26.0.dev0",
28
+ "use_cache": true,
29
  "vocab_size": 32128
30
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a959f51f2c6ef57beb99ac0417d6feba199489d9afd7e32021fa7ca27e2e9f55
3
  size 124910170
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a201ffda9808d5bfbd5a29be55ac51accade39b9b503cbf3cb2c02e2332dcf0c
3
  size 124910170