Upload MBartForConditionalGeneration
Browse files- README.md +4 -4
- config.json +45 -44
- generation_config.json +9 -0
- model.safetensors +2 -2
README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
---
|
2 |
-
library_name: transformers
|
3 |
-
license: mit
|
4 |
-
language:
|
5 |
-
- vi
|
6 |
base_model:
|
7 |
- facebook/bart-large-mnli
|
|
|
|
|
|
|
|
|
8 |
pipeline_tag: text2text-generation
|
9 |
---
|
10 |
|
|
|
1 |
---
|
|
|
|
|
|
|
|
|
2 |
base_model:
|
3 |
- facebook/bart-large-mnli
|
4 |
+
language:
|
5 |
+
- vi
|
6 |
+
library_name: transformers
|
7 |
+
license: mit
|
8 |
pipeline_tag: text2text-generation
|
9 |
---
|
10 |
|
config.json
CHANGED
@@ -1,44 +1,45 @@
|
|
1 |
-
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
|
25 |
-
"
|
26 |
-
"
|
27 |
-
|
28 |
-
|
29 |
-
"
|
30 |
-
"
|
31 |
-
|
32 |
-
"
|
33 |
-
"
|
34 |
-
|
35 |
-
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "tinh2312/Bart-salary-pred",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"architectures": [
|
6 |
+
"MBartForConditionalGeneration"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"bos_token_id": 0,
|
10 |
+
"classifier_dropout": 0.0,
|
11 |
+
"d_model": 512,
|
12 |
+
"decoder_attention_heads": 8,
|
13 |
+
"decoder_ffn_dim": 2048,
|
14 |
+
"decoder_layerdrop": 0.0,
|
15 |
+
"decoder_layers": 8,
|
16 |
+
"decoder_start_token_id": 2,
|
17 |
+
"dropout": 0.1,
|
18 |
+
"encoder_attention_heads": 8,
|
19 |
+
"encoder_ffn_dim": 2048,
|
20 |
+
"encoder_layerdrop": 0.0,
|
21 |
+
"encoder_layers": 8,
|
22 |
+
"eos_token_id": 2,
|
23 |
+
"forced_eos_token_id": 2,
|
24 |
+
"id2label": {
|
25 |
+
"0": "LABEL_0",
|
26 |
+
"1": "LABEL_1",
|
27 |
+
"2": "LABEL_2"
|
28 |
+
},
|
29 |
+
"init_std": 0.02,
|
30 |
+
"is_encoder_decoder": true,
|
31 |
+
"label2id": {
|
32 |
+
"LABEL_0": 0,
|
33 |
+
"LABEL_1": 1,
|
34 |
+
"LABEL_2": 2
|
35 |
+
},
|
36 |
+
"max_position_embeddings": 1024,
|
37 |
+
"model_type": "mbart",
|
38 |
+
"num_hidden_layers": 8,
|
39 |
+
"pad_token_id": 1,
|
40 |
+
"scale_embedding": false,
|
41 |
+
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.45.1",
|
43 |
+
"use_cache": true,
|
44 |
+
"vocab_size": 40030
|
45 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 2,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"forced_eos_token_id": 2,
|
7 |
+
"pad_token_id": 1,
|
8 |
+
"transformers_version": "4.45.1"
|
9 |
+
}
|
model.safetensors
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:f9b1b37e80536de6b52b6f89c4016c632198e2c00573e6f476c6923a8ccb3660
|
3 |
+
size 321805584
|