erfan226 commited on
Commit
8d2afff
1 Parent(s): c175f24
Files changed (2) hide show
  1. config.json +5 -2
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "erfan226/persian-t5-paraphraser",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
@@ -7,11 +7,13 @@
7
  "d_kv": 64,
8
  "d_model": 768,
9
  "decoder_start_token_id": 0,
 
10
  "dropout_rate": 0.1,
11
  "eos_token_id": 1,
12
  "feed_forward_proj": "gated-gelu",
13
  "initializer_factor": 1.0,
14
  "is_encoder_decoder": true,
 
15
  "layer_norm_epsilon": 1e-06,
16
  "model_type": "t5",
17
  "num_decoder_layers": 12,
@@ -19,10 +21,11 @@
19
  "num_layers": 12,
20
  "output_past": true,
21
  "pad_token_id": 0,
 
22
  "relative_attention_num_buckets": 32,
23
  "tie_word_embeddings": false,
24
  "torch_dtype": "float32",
25
- "transformers_version": "4.16.2",
26
  "use_cache": true,
27
  "vocab_size": 32103
28
  }
 
1
  {
2
+ "_name_or_path": "/content/drive/MyDrive/models/persian-t5-paraphraser",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
 
7
  "d_kv": 64,
8
  "d_model": 768,
9
  "decoder_start_token_id": 0,
10
+ "dense_act_fn": "gelu_new",
11
  "dropout_rate": 0.1,
12
  "eos_token_id": 1,
13
  "feed_forward_proj": "gated-gelu",
14
  "initializer_factor": 1.0,
15
  "is_encoder_decoder": true,
16
+ "is_gated_act": true,
17
  "layer_norm_epsilon": 1e-06,
18
  "model_type": "t5",
19
  "num_decoder_layers": 12,
 
21
  "num_layers": 12,
22
  "output_past": true,
23
  "pad_token_id": 0,
24
+ "relative_attention_max_distance": 128,
25
  "relative_attention_num_buckets": 32,
26
  "tie_word_embeddings": false,
27
  "torch_dtype": "float32",
28
+ "transformers_version": "4.21.2",
29
  "use_cache": true,
30
  "vocab_size": 32103
31
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:978e92c038b31900a08c39dccf306bb638995eed825f1a107a474b0a89e8d7af
3
- size 990284749
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b9470de8ae30ce99fc997bd187106bfbb033271cdc04a6c593edf4b50211f09
3
+ size 990249037