RichardErkhov commited on
Commit
8ca7899
1 Parent(s): 6f7bd30

uploaded model

Browse files
Files changed (1) hide show
  1. config.json +93 -0
config.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bart_summarizer_model",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForCausalLM"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 768,
15
+ "decoder_attention_heads": 12,
16
+ "decoder_ffn_dim": 3072,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 6,
19
+ "decoder_start_token_id": 2,
20
+ "dropout": 0.1,
21
+ "encoder_attention_heads": 12,
22
+ "encoder_ffn_dim": 3072,
23
+ "encoder_layerdrop": 0.0,
24
+ "encoder_layers": 6,
25
+ "eos_token_id": 2,
26
+ "forced_bos_token_id": 0,
27
+ "forced_eos_token_id": 2,
28
+ "gradient_checkpointing": false,
29
+ "id2label": {
30
+ "0": "LABEL_0",
31
+ "1": "LABEL_1",
32
+ "2": "LABEL_2"
33
+ },
34
+ "init_std": 0.02,
35
+ "is_decoder": true,
36
+ "is_encoder_decoder": false,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1,
40
+ "LABEL_2": 2
41
+ },
42
+ "length_penalty": 1.2,
43
+ "max_length": 256,
44
+ "max_position_embeddings": 1024,
45
+ "min_length": 50,
46
+ "model_type": "bart",
47
+ "no_repeat_ngram_size": 3,
48
+ "normalize_before": false,
49
+ "normalize_embedding": true,
50
+ "num_beams": 4,
51
+ "num_hidden_layers": 6,
52
+ "pad_token_id": 1,
53
+ "quantization_config": {
54
+ "_load_in_4bit": false,
55
+ "_load_in_8bit": true,
56
+ "bnb_4bit_compute_dtype": "float32",
57
+ "bnb_4bit_quant_storage": "uint8",
58
+ "bnb_4bit_quant_type": "fp4",
59
+ "bnb_4bit_use_double_quant": false,
60
+ "llm_int8_enable_fp32_cpu_offload": false,
61
+ "llm_int8_has_fp16_weight": false,
62
+ "llm_int8_skip_modules": null,
63
+ "llm_int8_threshold": 6.0,
64
+ "load_in_4bit": false,
65
+ "load_in_8bit": true,
66
+ "quant_method": "bitsandbytes"
67
+ },
68
+ "scale_embedding": false,
69
+ "task_specific_params": {
70
+ "summarization": {
71
+ "length_penalty": 1.0,
72
+ "max_length": 128,
73
+ "min_length": 12,
74
+ "num_beams": 4
75
+ },
76
+ "summarization_cnn": {
77
+ "length_penalty": 2.0,
78
+ "max_length": 142,
79
+ "min_length": 56,
80
+ "num_beams": 4
81
+ },
82
+ "summarization_xsum": {
83
+ "length_penalty": 1.0,
84
+ "max_length": 62,
85
+ "min_length": 11,
86
+ "num_beams": 6
87
+ }
88
+ },
89
+ "torch_dtype": "float16",
90
+ "transformers_version": "4.40.2",
91
+ "use_cache": true,
92
+ "vocab_size": 50265
93
+ }