RichardErkhov commited on
Commit
111bd28
1 Parent(s): 4551b2b

uploaded model

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