RichardErkhov
commited on
Commit
•
e85ebe5
1
Parent(s):
08f40c2
uploaded model
Browse files- config.json +80 -0
config.json
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bart-squadv2",
|
3 |
+
"_num_labels": 3,
|
4 |
+
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "gelu",
|
6 |
+
"add_bias_logits": false,
|
7 |
+
"add_final_layer_norm": false,
|
8 |
+
"architectures": [
|
9 |
+
"BartForCausalLM"
|
10 |
+
],
|
11 |
+
"attention_dropout": 0.0,
|
12 |
+
"bos_token_id": 0,
|
13 |
+
"classif_dropout": 0.0,
|
14 |
+
"classifier_dropout": 0.0,
|
15 |
+
"d_model": 1024,
|
16 |
+
"decoder_attention_heads": 16,
|
17 |
+
"decoder_ffn_dim": 4096,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 12,
|
20 |
+
"decoder_start_token_id": 2,
|
21 |
+
"dropout": 0.1,
|
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 |
+
"forced_eos_token_id": 2,
|
28 |
+
"id2label": {
|
29 |
+
"0": "LABEL_0",
|
30 |
+
"1": "LABEL_1",
|
31 |
+
"2": "LABEL_2"
|
32 |
+
},
|
33 |
+
"init_std": 0.02,
|
34 |
+
"is_decoder": true,
|
35 |
+
"is_encoder_decoder": false,
|
36 |
+
"label2id": {
|
37 |
+
"LABEL_0": 0,
|
38 |
+
"LABEL_1": 1,
|
39 |
+
"LABEL_2": 2
|
40 |
+
},
|
41 |
+
"max_position_embeddings": 1024,
|
42 |
+
"model_type": "bart",
|
43 |
+
"normalize_before": false,
|
44 |
+
"normalize_embedding": true,
|
45 |
+
"num_hidden_layers": 12,
|
46 |
+
"output_past": false,
|
47 |
+
"pad_token_id": 1,
|
48 |
+
"prefix": " ",
|
49 |
+
"quantization_config": {
|
50 |
+
"_load_in_4bit": true,
|
51 |
+
"_load_in_8bit": false,
|
52 |
+
"bnb_4bit_compute_dtype": "float32",
|
53 |
+
"bnb_4bit_quant_storage": "uint8",
|
54 |
+
"bnb_4bit_quant_type": "fp4",
|
55 |
+
"bnb_4bit_use_double_quant": false,
|
56 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
57 |
+
"llm_int8_has_fp16_weight": false,
|
58 |
+
"llm_int8_skip_modules": null,
|
59 |
+
"llm_int8_threshold": 6.0,
|
60 |
+
"load_in_4bit": true,
|
61 |
+
"load_in_8bit": false,
|
62 |
+
"quant_method": "bitsandbytes"
|
63 |
+
},
|
64 |
+
"scale_embedding": false,
|
65 |
+
"static_position_embeddings": false,
|
66 |
+
"task_specific_params": {
|
67 |
+
"summarization": {
|
68 |
+
"early_stopping": true,
|
69 |
+
"length_penalty": 2.0,
|
70 |
+
"max_length": 142,
|
71 |
+
"min_length": 56,
|
72 |
+
"no_repeat_ngram_size": 3,
|
73 |
+
"num_beams": 4
|
74 |
+
}
|
75 |
+
},
|
76 |
+
"torch_dtype": "float16",
|
77 |
+
"transformers_version": "4.39.3",
|
78 |
+
"use_cache": true,
|
79 |
+
"vocab_size": 50265
|
80 |
+
}
|