BoostedJonP commited on
Commit
21830f2
·
1 Parent(s): c92d403

updated to latest SFT version

Browse files
config.json CHANGED
@@ -1,36 +1,51 @@
1
  {
2
- "architectures": [
3
- "Phi3ForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_dropout": 0.0,
7
- "auto_map": {
8
- "AutoConfig": "microsoft/Phi-3-mini-4k-instruct--configuration_phi3.Phi3Config",
9
- "AutoModelForCausalLM": "microsoft/Phi-3-mini-4k-instruct--modeling_phi3.Phi3ForCausalLM"
10
- },
11
- "bos_token_id": 1,
12
- "embd_pdrop": 0.0,
13
- "eos_token_id": 32000,
14
- "hidden_act": "silu",
15
- "hidden_size": 3072,
16
- "initializer_range": 0.02,
17
- "intermediate_size": 8192,
18
- "max_position_embeddings": 4096,
19
- "model_type": "phi3",
20
- "num_attention_heads": 32,
21
- "num_hidden_layers": 32,
22
- "num_key_value_heads": 32,
23
- "original_max_position_embeddings": 4096,
24
- "pad_token_id": 32000,
25
- "partial_rotary_factor": 1.0,
26
- "resid_pdrop": 0.0,
27
- "rms_norm_eps": 1e-05,
28
- "rope_scaling": null,
29
- "rope_theta": 10000.0,
30
- "sliding_window": 2047,
31
- "tie_word_embeddings": false,
32
- "torch_dtype": "float16",
33
- "transformers_version": "4.52.4",
34
- "use_cache": true,
35
- "vocab_size": 32064
36
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "architectures": [
3
+ "Phi3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "configuration_phi3.Phi3Config",
9
+ "AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
10
+ },
11
+ "bos_token_id": 1,
12
+ "dtype": "float16",
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
+ "partial_rotary_factor": 1.0,
27
+ "quantization_config": {
28
+ "_load_in_4bit": true,
29
+ "_load_in_8bit": false,
30
+ "bnb_4bit_compute_dtype": "float16",
31
+ "bnb_4bit_quant_storage": "uint8",
32
+ "bnb_4bit_quant_type": "nf4",
33
+ "bnb_4bit_use_double_quant": true,
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": null,
45
+ "rope_theta": 10000.0,
46
+ "sliding_window": 2047,
47
+ "tie_word_embeddings": false,
48
+ "transformers_version": "4.56.0",
49
+ "use_cache": true,
50
+ "vocab_size": 32064
51
+ }
generation_config.js DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": [
5
- 32000,
6
- 32001,
7
- 32007
8
- ],
9
- "pad_token_id": 32000,
10
- "transformers_version": "4.52.4"
11
- }
 
 
 
 
 
 
 
 
 
 
 
 
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": [
5
+ 32000,
6
+ 32001,
7
+ 32007
8
+ ],
9
+ "pad_token_id": 32000,
10
+ "transformers_version": "4.56.0"
11
+ }
model-00002-of-00002.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1bf27ad0a0e81bee50b5d3266c7e7a52bc61e5f3b1f8cb98c702dbd74d49c483
3
- size 2669692488
 
 
 
 
model-00001-of-00002.safetensors → model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a2d16a4618df2b1aa1ceb49746a483de843c5f8bda9c0c78405f1b67f6f8d53d
3
- size 4972489200
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4ddeba03d42e37d4ee3a2e83e1f97f7aac52a1136e201289b519aee709e91d2
3
+ size 2264109938