Akil15 commited on
Commit
29aa60e
·
verified ·
1 Parent(s): a0a9391

Upload Starcoder2ForCausalLM

Browse files
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Starcoder2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.1,
6
+ "bos_token_id": 0,
7
+ "embedding_dropout": 0.1,
8
+ "eos_token_id": 0,
9
+ "hidden_act": "gelu_pytorch_tanh",
10
+ "hidden_size": 6144,
11
+ "initializer_range": 0.01275,
12
+ "intermediate_size": 24576,
13
+ "max_position_embeddings": 16384,
14
+ "mlp_type": "default",
15
+ "model_type": "starcoder2",
16
+ "norm_epsilon": 1e-05,
17
+ "norm_type": "layer_norm",
18
+ "num_attention_heads": 48,
19
+ "num_hidden_layers": 40,
20
+ "num_key_value_heads": 4,
21
+ "quantization_config": {
22
+ "_load_in_4bit": true,
23
+ "_load_in_8bit": false,
24
+ "bnb_4bit_compute_dtype": "float32",
25
+ "bnb_4bit_quant_storage": "uint8",
26
+ "bnb_4bit_quant_type": "fp4",
27
+ "bnb_4bit_use_double_quant": false,
28
+ "llm_int8_enable_fp32_cpu_offload": false,
29
+ "llm_int8_has_fp16_weight": false,
30
+ "llm_int8_skip_modules": null,
31
+ "llm_int8_threshold": 6.0,
32
+ "load_in_4bit": true,
33
+ "load_in_8bit": false,
34
+ "quant_method": "bitsandbytes"
35
+ },
36
+ "residual_dropout": 0.1,
37
+ "rope_scaling": null,
38
+ "rope_theta": 100000,
39
+ "sliding_window": 4096,
40
+ "tie_word_embeddings": false,
41
+ "torch_dtype": "float16",
42
+ "transformers_version": "4.51.3",
43
+ "use_bias": true,
44
+ "use_cache": true,
45
+ "vocab_size": 49152
46
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "transformers_version": "4.51.3"
6
+ }
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d94c5643f8d1230076365c7707446b9b496cd2f6e9b88c9cf6b76d122f686a21
3
+ size 4970368818
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d52cfc0c03c2ea9a5b1465ed37e3d75bba410912a7e54f37e2f10ae317476d72
3
+ size 4878322150
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff