aapot
commited on
Commit
•
b224013
1
Parent(s):
f53a6af
Add Pytorch model
Browse files- config.json +4 -2
- pytorch_model.bin +2 -2
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": 384,
|
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,
|
@@ -24,7 +26,7 @@
|
|
24 |
"relative_attention_num_buckets": 32,
|
25 |
"tie_word_embeddings": false,
|
26 |
"torch_dtype": "float32",
|
27 |
-
"transformers_version": "4.
|
28 |
"use_cache": true,
|
29 |
"vocab_size": 32128
|
30 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Finnish-NLP/t5-mini-nl8-finnish",
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
|
|
7 |
"d_kv": 64,
|
8 |
"d_model": 384,
|
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,
|
|
|
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
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96cc9b5389d1eedee57892c5f8ebc47d69b4c0d0839aee0e0f90ffb30e467e3e
|
3 |
+
size 287568581
|