rony commited on
Commit
9b56c83
1 Parent(s): 39e0d3a

Upload model

Browse files
Files changed (2) hide show
  1. config.json +13 -1
  2. model.safetensors +2 -2
config.json CHANGED
@@ -17,6 +17,18 @@
17
  "n_inner": null,
18
  "n_layer": 12,
19
  "n_positions": 1024,
 
 
 
 
 
 
 
 
 
 
 
 
20
  "reorder_and_upcast_attn": false,
21
  "resid_pdrop": 0.1,
22
  "scale_attn_by_inverse_layer_idx": false,
@@ -32,7 +44,7 @@
32
  "max_length": 50
33
  }
34
  },
35
- "torch_dtype": "float32",
36
  "transformers_version": "4.37.1",
37
  "use_cache": true,
38
  "vocab_size": 50257
 
17
  "n_inner": null,
18
  "n_layer": 12,
19
  "n_positions": 1024,
20
+ "quantization_config": {
21
+ "bnb_4bit_compute_dtype": "float32",
22
+ "bnb_4bit_quant_type": "fp4",
23
+ "bnb_4bit_use_double_quant": false,
24
+ "llm_int8_enable_fp32_cpu_offload": false,
25
+ "llm_int8_has_fp16_weight": false,
26
+ "llm_int8_skip_modules": null,
27
+ "llm_int8_threshold": 6.0,
28
+ "load_in_4bit": false,
29
+ "load_in_8bit": true,
30
+ "quant_method": "bitsandbytes"
31
+ },
32
  "reorder_and_upcast_attn": false,
33
  "resid_pdrop": 0.1,
34
  "scale_attn_by_inverse_layer_idx": false,
 
44
  "max_length": 50
45
  }
46
  },
47
+ "torch_dtype": "float16",
48
  "transformers_version": "4.37.1",
49
  "use_cache": true,
50
  "vocab_size": 50257
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c7d00560d8910fbed77ffad4065dee5011c41ba401b1064e749c498ba9e20373
3
- size 497774208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bd061de3dc418812ea1bb6838aeee2fba1579b511ce2ccce5773549d0f5884c
3
+ size 164295680