aapot commited on
Commit
dbb5276
1 Parent(s): 50b4c55

Add Pytorch model

Browse files
Files changed (2) hide show
  1. config.json +5 -2
  2. pytorch_model.bin +3 -0
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "./",
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
  "n_positions": 512,
@@ -23,7 +25,8 @@
23
  "relative_attention_max_distance": 128,
24
  "relative_attention_num_buckets": 32,
25
  "tie_word_embeddings": false,
26
- "transformers_version": "4.18.0",
 
27
  "use_cache": true,
28
  "vocab_size": 32128
29
  }
 
1
  {
2
+ "_name_or_path": "Finnish-NLP/t5-base-nl36-finnish",
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
  "n_positions": 512,
 
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.20.1",
30
  "use_cache": true,
31
  "vocab_size": 32128
32
  }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c8772efb85619df2807801028febea2d6cb3f7f1d37e5a4b1411af404751b52
3
+ size 3255876157