qgallouedec HF Staff commited on
Commit
cffa135
·
verified ·
1 Parent(s): 6d2168a

Upload model

Browse files
Files changed (2) hide show
  1. config.json +44 -18
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,27 +1,32 @@
1
  {
2
- "activation_dropout": 0.0,
3
  "activation_function": "gelu",
 
 
4
  "architectures": [
5
  "BartModel"
6
  ],
7
- "attention_dropout": 0.0,
8
  "bos_token_id": 0,
 
9
  "classifier_dropout": 0.0,
10
- "d_ff": 64,
11
- "d_kv": 2,
12
- "d_model": 16,
13
- "decoder_attention_heads": 16,
14
- "decoder_ffn_dim": 4096,
15
  "decoder_layerdrop": 0.0,
16
- "decoder_layers": 2,
17
- "decoder_start_token_id": 0,
18
  "dropout": 0.1,
19
- "encoder_attention_heads": 16,
20
- "encoder_ffn_dim": 4096,
 
 
21
  "encoder_layerdrop": 0.0,
22
- "encoder_layers": 2,
23
  "eos_token_id": 2,
 
24
  "forced_eos_token_id": 2,
 
25
  "id2label": {
26
  "0": "LABEL_0",
27
  "1": "LABEL_1",
@@ -36,13 +41,34 @@
36
  },
37
  "max_position_embeddings": 1024,
38
  "model_type": "bart",
39
- "num_heads": 8,
40
- "num_hidden_layers": 2,
41
- "num_layers": 6,
 
 
42
  "pad_token_id": 1,
43
  "scale_embedding": false,
44
- "torch_dtype": "float32",
45
- "transformers_version": "4.55.0.dev0",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  "use_cache": true,
47
- "vocab_size": 50270
48
  }
 
1
  {
2
+ "activation_dropout": 0.1,
3
  "activation_function": "gelu",
4
+ "add_bias_logits": false,
5
+ "add_final_layer_norm": false,
6
  "architectures": [
7
  "BartModel"
8
  ],
9
+ "attention_dropout": 0.1,
10
  "bos_token_id": 0,
11
+ "classif_dropout": 0.1,
12
  "classifier_dropout": 0.0,
13
+ "d_model": 24,
14
+ "decoder_attention_heads": 12,
15
+ "decoder_ffn_dim": 3072,
 
 
16
  "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 6,
18
+ "decoder_start_token_id": 2,
19
  "dropout": 0.1,
20
+ "dtype": "float32",
21
+ "early_stopping": true,
22
+ "encoder_attention_heads": 12,
23
+ "encoder_ffn_dim": 3072,
24
  "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 6,
26
  "eos_token_id": 2,
27
+ "forced_bos_token_id": 0,
28
  "forced_eos_token_id": 2,
29
+ "gradient_checkpointing": false,
30
  "id2label": {
31
  "0": "LABEL_0",
32
  "1": "LABEL_1",
 
41
  },
42
  "max_position_embeddings": 1024,
43
  "model_type": "bart",
44
+ "no_repeat_ngram_size": 3,
45
+ "normalize_before": false,
46
+ "normalize_embedding": true,
47
+ "num_beams": 4,
48
+ "num_hidden_layers": 6,
49
  "pad_token_id": 1,
50
  "scale_embedding": false,
51
+ "task_specific_params": {
52
+ "summarization": {
53
+ "length_penalty": 1.0,
54
+ "max_length": 128,
55
+ "min_length": 12,
56
+ "num_beams": 4
57
+ },
58
+ "summarization_cnn": {
59
+ "length_penalty": 2.0,
60
+ "max_length": 142,
61
+ "min_length": 56,
62
+ "num_beams": 4
63
+ },
64
+ "summarization_xsum": {
65
+ "length_penalty": 1.0,
66
+ "max_length": 62,
67
+ "min_length": 11,
68
+ "num_beams": 6
69
+ }
70
+ },
71
+ "transformers_version": "4.57.0.dev0",
72
  "use_cache": true,
73
+ "vocab_size": 50265
74
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d57960e1016c1d2c3dcb3203703f21da17ca8deeb994e6df897d0ad03548917d
3
- size 5548584
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e084613a2e5c4331736b335962f0ef2f5f4ca01be6bd55986c91ceafcebd1c8
3
+ size 12454840