RichardErkhov commited on
Commit
9d27478
1 Parent(s): 27f8814

uploaded model

Browse files
Files changed (1) hide show
  1. config.json +62 -0
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mbart_ru_sum_gazeta",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": true,
7
+ "architectures": [
8
+ "MBartForCausalLM"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classifier_dropout": 0.0,
13
+ "d_model": 1024,
14
+ "decoder_attention_heads": 16,
15
+ "decoder_ffn_dim": 4096,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 12,
18
+ "decoder_start_token_id": 250021,
19
+ "dropout": 0.1,
20
+ "encoder_attention_heads": 16,
21
+ "encoder_ffn_dim": 4096,
22
+ "encoder_layerdrop": 0.0,
23
+ "encoder_layers": 12,
24
+ "eos_token_id": 2,
25
+ "extra_pos_embeddings": 2,
26
+ "force_bos_token_to_be_generated": false,
27
+ "forced_eos_token_id": 2,
28
+ "init_std": 0.02,
29
+ "is_decoder": true,
30
+ "is_encoder_decoder": false,
31
+ "max_length": 200,
32
+ "max_position_embeddings": 1024,
33
+ "model_type": "mbart",
34
+ "normalize_before": true,
35
+ "normalize_embedding": true,
36
+ "num_beams": 5,
37
+ "num_hidden_layers": 12,
38
+ "output_past": true,
39
+ "pad_token_id": 1,
40
+ "quantization_config": {
41
+ "_load_in_4bit": true,
42
+ "_load_in_8bit": false,
43
+ "bnb_4bit_compute_dtype": "float32",
44
+ "bnb_4bit_quant_storage": "uint8",
45
+ "bnb_4bit_quant_type": "fp4",
46
+ "bnb_4bit_use_double_quant": false,
47
+ "llm_int8_enable_fp32_cpu_offload": false,
48
+ "llm_int8_has_fp16_weight": false,
49
+ "llm_int8_skip_modules": null,
50
+ "llm_int8_threshold": 6.0,
51
+ "load_in_4bit": true,
52
+ "load_in_8bit": false,
53
+ "quant_method": "bitsandbytes"
54
+ },
55
+ "scale_embedding": true,
56
+ "static_position_embeddings": false,
57
+ "tie_word_embeddings": false,
58
+ "torch_dtype": "float16",
59
+ "transformers_version": "4.40.2",
60
+ "use_cache": true,
61
+ "vocab_size": 250027
62
+ }