Upload BartForConditionalGeneration
Browse files- config.json +4 -2
- generation_config.json +12 -0
- pytorch_model.bin +3 -0
config.json
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
{
|
|
|
2 |
"activation_dropout": 0.1,
|
3 |
"activation_function": "gelu",
|
4 |
"add_bias_logits": false,
|
5 |
"add_final_layer_norm": false,
|
6 |
"architectures": [
|
7 |
-
"
|
8 |
],
|
9 |
"attention_dropout": 0.1,
|
10 |
"bos_token_id": 101,
|
@@ -67,7 +68,8 @@
|
|
67 |
}
|
68 |
},
|
69 |
"tokenizer_class": "BertTokenizer",
|
|
|
70 |
"transformers_version": "4.28.1",
|
71 |
"use_cache": true,
|
72 |
-
"vocab_size":
|
73 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "fnlp/bart-base-chinese",
|
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": 101,
|
|
|
68 |
}
|
69 |
},
|
70 |
"tokenizer_class": "BertTokenizer",
|
71 |
+
"torch_dtype": "float32",
|
72 |
"transformers_version": "4.28.1",
|
73 |
"use_cache": true,
|
74 |
+
"vocab_size": 261173
|
75 |
}
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
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,
|
11 |
+
"transformers_version": "4.28.1"
|
12 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8f6179ba458913c088615dec4901c3bc9b6ac9d6d579c5143187c6335262cbf
|
3 |
+
size 1206721050
|