raptorkwok
commited on
Commit
•
f0945f8
1
Parent(s):
d32255a
Upload BartForConditionalGeneration
Browse files- config.json +1 -1
- generation_config.json +2 -2
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "notebooks/cantonese/bart-base-
|
3 |
"activation_dropout": 0.1,
|
4 |
"activation_function": "gelu",
|
5 |
"add_bias_logits": false,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "notebooks/cantonese/bart-base-cantonese-v2/",
|
3 |
"activation_dropout": 0.1,
|
4 |
"activation_function": "gelu",
|
5 |
"add_bias_logits": false,
|
generation_config.json
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
"bos_token_id": 101,
|
4 |
"decoder_start_token_id": 102,
|
5 |
"early_stopping": true,
|
6 |
-
"eos_token_id":
|
7 |
-
"forced_eos_token_id":
|
8 |
"no_repeat_ngram_size": 3,
|
9 |
"num_beams": 4,
|
10 |
"pad_token_id": 0,
|
|
|
3 |
"bos_token_id": 101,
|
4 |
"decoder_start_token_id": 102,
|
5 |
"early_stopping": true,
|
6 |
+
"eos_token_id": 102,
|
7 |
+
"forced_eos_token_id": 102,
|
8 |
"no_repeat_ngram_size": 3,
|
9 |
"num_beams": 4,
|
10 |
"pad_token_id": 0,
|
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:b2ad41cec4fdfe643d8d038f98c76ddf2dc0dc029d04548600574d9414234066
|
3 |
+
size 561370010
|