hirotasoshu
commited on
Commit
•
b700632
1
Parent(s):
301dc7b
Fix..made it finally work
Browse files- config.json +3 -2
- generation_config.json +1 -0
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -18,7 +18,8 @@
|
|
18 |
"hidden_size": 16,
|
19 |
"init_std": 0.02,
|
20 |
"is_encoder_decoder": true,
|
21 |
-
"
|
|
|
22 |
"model_type": "prophetnet",
|
23 |
"ngram": 2,
|
24 |
"num_buckets": 32,
|
@@ -31,5 +32,5 @@
|
|
31 |
"torch_dtype": "float32",
|
32 |
"transformers_version": "4.27.1",
|
33 |
"use_cache": true,
|
34 |
-
"vocab_size":
|
35 |
}
|
|
|
18 |
"hidden_size": 16,
|
19 |
"init_std": 0.02,
|
20 |
"is_encoder_decoder": true,
|
21 |
+
"max_length": 64,
|
22 |
+
"max_position_embeddings": 64,
|
23 |
"model_type": "prophetnet",
|
24 |
"ngram": 2,
|
25 |
"num_buckets": 32,
|
|
|
32 |
"torch_dtype": "float32",
|
33 |
"transformers_version": "4.27.1",
|
34 |
"use_cache": true,
|
35 |
+
"vocab_size": 30522
|
36 |
}
|
generation_config.json
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
"bos_token_id": 1,
|
4 |
"decoder_start_token_id": 0,
|
5 |
"eos_token_id": 2,
|
|
|
6 |
"pad_token_id": 0,
|
7 |
"transformers_version": "4.27.1"
|
8 |
}
|
|
|
3 |
"bos_token_id": 1,
|
4 |
"decoder_start_token_id": 0,
|
5 |
"eos_token_id": 2,
|
6 |
+
"max_length": 64,
|
7 |
"pad_token_id": 0,
|
8 |
"transformers_version": "4.27.1"
|
9 |
}
|
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:83891082b506f21e650629d0ec1e05f31eeb2911106c743c4b1c71c97597df18
|
3 |
+
size 2147309
|