yash108coolboy commited on
Commit
67ffe94
·
verified ·
1 Parent(s): 12a5530

Update quantized-phi3/config.json

Browse files
Files changed (1) hide show
  1. quantized-phi3/config.json +51 -51
quantized-phi3/config.json CHANGED
@@ -1,51 +1,51 @@
1
- {
2
- "_name_or_path": "C:\\Users\\Yash\\PycharmProjects\\SmallLanguageModel\\Phi-3-mini-4k-instruct",
3
- "architectures": [
4
- "Phi3ForCausalLM"
5
- ],
6
- "attention_bias": false,
7
- "attention_dropout": 0.0,
8
- "auto_map": {
9
- "AutoConfig": "configuration_phi3.Phi3Config",
10
- "AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
11
- },
12
- "bos_token_id": 1,
13
- "embd_pdrop": 0.0,
14
- "eos_token_id": 32000,
15
- "hidden_act": "silu",
16
- "hidden_size": 3072,
17
- "initializer_range": 0.02,
18
- "intermediate_size": 8192,
19
- "max_position_embeddings": 4096,
20
- "model_type": "phi3",
21
- "num_attention_heads": 32,
22
- "num_hidden_layers": 32,
23
- "num_key_value_heads": 32,
24
- "original_max_position_embeddings": 4096,
25
- "pad_token_id": 32000,
26
- "quantization_config": {
27
- "_load_in_4bit": true,
28
- "_load_in_8bit": false,
29
- "bnb_4bit_compute_dtype": "float16",
30
- "bnb_4bit_quant_storage": "uint8",
31
- "bnb_4bit_quant_type": "nf4",
32
- "bnb_4bit_use_double_quant": true,
33
- "llm_int8_enable_fp32_cpu_offload": false,
34
- "llm_int8_has_fp16_weight": false,
35
- "llm_int8_skip_modules": null,
36
- "llm_int8_threshold": 6.0,
37
- "load_in_4bit": true,
38
- "load_in_8bit": false,
39
- "quant_method": "bitsandbytes"
40
- },
41
- "resid_pdrop": 0.0,
42
- "rms_norm_eps": 1e-05,
43
- "rope_scaling": null,
44
- "rope_theta": 10000.0,
45
- "sliding_window": 2047,
46
- "tie_word_embeddings": false,
47
- "torch_dtype": "float16",
48
- "transformers_version": "4.43.2",
49
- "use_cache": true,
50
- "vocab_size": 32064
51
- }
 
1
+ {
2
+ "_name_or_path": "microsoft/Phi-3-mini-4k-instruct",
3
+ "architectures": [
4
+ "Phi3ForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "auto_map": {
9
+ "AutoConfig": "configuration_phi3.Phi3Config",
10
+ "AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
11
+ },
12
+ "bos_token_id": 1,
13
+ "embd_pdrop": 0.0,
14
+ "eos_token_id": 32000,
15
+ "hidden_act": "silu",
16
+ "hidden_size": 3072,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 8192,
19
+ "max_position_embeddings": 4096,
20
+ "model_type": "phi3",
21
+ "num_attention_heads": 32,
22
+ "num_hidden_layers": 32,
23
+ "num_key_value_heads": 32,
24
+ "original_max_position_embeddings": 4096,
25
+ "pad_token_id": 32000,
26
+ "quantization_config": {
27
+ "_load_in_4bit": true,
28
+ "_load_in_8bit": false,
29
+ "bnb_4bit_compute_dtype": "float16",
30
+ "bnb_4bit_quant_storage": "uint8",
31
+ "bnb_4bit_quant_type": "nf4",
32
+ "bnb_4bit_use_double_quant": true,
33
+ "llm_int8_enable_fp32_cpu_offload": false,
34
+ "llm_int8_has_fp16_weight": false,
35
+ "llm_int8_skip_modules": null,
36
+ "llm_int8_threshold": 6.0,
37
+ "load_in_4bit": true,
38
+ "load_in_8bit": false,
39
+ "quant_method": "bitsandbytes"
40
+ },
41
+ "resid_pdrop": 0.0,
42
+ "rms_norm_eps": 1e-05,
43
+ "rope_scaling": null,
44
+ "rope_theta": 10000.0,
45
+ "sliding_window": 2047,
46
+ "tie_word_embeddings": false,
47
+ "torch_dtype": "float16",
48
+ "transformers_version": "4.43.2",
49
+ "use_cache": true,
50
+ "vocab_size": 32064
51
+ }