RichardErkhov commited on
Commit
27d9555
·
verified ·
1 Parent(s): 0b8dc13

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": "phi-3-tiny-random",
3
+ "architectures": [
4
+ "Phi3ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "microsoft/Phi-3-mini-128k-instruct--configuration_phi3.Phi3Config",
9
+ "AutoModelForCausalLM": "microsoft/Phi-3-mini-128k-instruct--modeling_phi3.Phi3ForCausalLM",
10
+ "AutoModelForSequenceClassification": "microsoft/Phi-3-mini-128k-instruct--modeling_phi3.Phi3ForSequenceClassification",
11
+ "AutoModelForTokenClassification": "microsoft/Phi-3-mini-128k-instruct--modeling_phi3.Phi3ForTokenClassification"
12
+ },
13
+ "bos_token_id": 1,
14
+ "embd_pdrop": 0.0,
15
+ "eos_token_id": 32000,
16
+ "hidden_act": "silu",
17
+ "hidden_size": 16,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 32,
20
+ "max_position_embeddings": 131072,
21
+ "model_type": "phi3",
22
+ "num_attention_heads": 4,
23
+ "num_hidden_layers": 2,
24
+ "num_key_value_heads": 4,
25
+ "original_max_position_embeddings": 4096,
26
+ "pad_token_id": 32000,
27
+ "quantization_config": {
28
+ "_load_in_4bit": true,
29
+ "_load_in_8bit": false,
30
+ "bnb_4bit_compute_dtype": "float32",
31
+ "bnb_4bit_quant_storage": "uint8",
32
+ "bnb_4bit_quant_type": "fp4",
33
+ "bnb_4bit_use_double_quant": false,
34
+ "llm_int8_enable_fp32_cpu_offload": false,
35
+ "llm_int8_has_fp16_weight": false,
36
+ "llm_int8_skip_modules": null,
37
+ "llm_int8_threshold": 6.0,
38
+ "load_in_4bit": true,
39
+ "load_in_8bit": false,
40
+ "quant_method": "bitsandbytes"
41
+ },
42
+ "resid_pdrop": 0.0,
43
+ "rms_norm_eps": 1e-05,
44
+ "rope_scaling": {
45
+ "long_factor": [
46
+ 1.0299,
47
+ 1.0499
48
+ ],
49
+ "short_factor": [
50
+ 1.05,
51
+ 1.05
52
+ ],
53
+ "type": "longrope"
54
+ },
55
+ "rope_theta": 10000.0,
56
+ "sliding_window": 262144,
57
+ "tie_word_embeddings": false,
58
+ "torch_dtype": "float16",
59
+ "transformers_version": "4.44.2",
60
+ "use_cache": true,
61
+ "vocab_size": 32064
62
+ }