Add Pytorch model
Browse files- config.json +5 -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": 256,
|
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 |
-
"
|
|
|
27 |
"use_cache": true,
|
28 |
"vocab_size": 32128
|
29 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Finnish-NLP/t5-tiny-nl6-finnish",
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
|
|
7 |
"d_kv": 64,
|
8 |
"d_model": 256,
|
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:288c05a862962c74a567498dafebe58476e04dbba8b6c4a8cc5411f1dab63dfd
|
3 |
+
size 122501153
|