Upload BartForConditionalGeneration
Browse files- config.json +3 -3
- generation_config.json +13 -0
- pytorch_model.bin +3 -0
config.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation_dropout": 0.1,
|
4 |
"activation_function": "gelu",
|
5 |
"add_bias_logits": false,
|
6 |
"add_final_layer_norm": false,
|
7 |
"architectures": [
|
8 |
-
"
|
9 |
],
|
10 |
"attention_dropout": 0.1,
|
11 |
"bos_token_id": 0,
|
@@ -69,7 +69,7 @@
|
|
69 |
}
|
70 |
},
|
71 |
"torch_dtype": "float32",
|
72 |
-
"transformers_version": "4.
|
73 |
"use_cache": true,
|
74 |
"vocab_size": 52000
|
75 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "tmp",
|
3 |
"activation_dropout": 0.1,
|
4 |
"activation_function": "gelu",
|
5 |
"add_bias_logits": false,
|
6 |
"add_final_layer_norm": false,
|
7 |
"architectures": [
|
8 |
+
"BartForConditionalGeneration"
|
9 |
],
|
10 |
"attention_dropout": 0.1,
|
11 |
"bos_token_id": 0,
|
|
|
69 |
}
|
70 |
},
|
71 |
"torch_dtype": "float32",
|
72 |
+
"transformers_version": "4.27.2",
|
73 |
"use_cache": true,
|
74 |
"vocab_size": 52000
|
75 |
}
|
generation_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 2,
|
5 |
+
"early_stopping": true,
|
6 |
+
"eos_token_id": 2,
|
7 |
+
"forced_bos_token_id": 0,
|
8 |
+
"forced_eos_token_id": 2,
|
9 |
+
"no_repeat_ngram_size": 3,
|
10 |
+
"num_beams": 4,
|
11 |
+
"pad_token_id": 1,
|
12 |
+
"transformers_version": "4.27.2"
|
13 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0731384f836af53bf32011e8d43e8632e857f381c43b41909b7397370f450a5b
|
3 |
+
size 563304413
|