RichardErkhov commited on
Commit
79568b8
1 Parent(s): 176246b

uploaded model

Browse files
Files changed (1) hide show
  1. config.json +49 -0
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Tinystories-gpt-0.1-3m",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0,
10
+ "eos_token_id": 50256,
11
+ "gradient_checkpointing": false,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": null,
14
+ "layer_norm_epsilon": 1e-05,
15
+ "model_type": "gpt2",
16
+ "n_embd": 64,
17
+ "n_head": 16,
18
+ "n_inner": null,
19
+ "n_layer": 8,
20
+ "n_positions": 2048,
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
+ "reorder_and_upcast_attn": false,
37
+ "resid_pdrop": 0,
38
+ "scale_attn_by_inverse_layer_idx": false,
39
+ "scale_attn_weights": true,
40
+ "summary_activation": null,
41
+ "summary_first_dropout": 0.1,
42
+ "summary_proj_to_labels": true,
43
+ "summary_type": "cls_index",
44
+ "summary_use_proj": true,
45
+ "torch_dtype": "float16",
46
+ "transformers_version": "4.42.4",
47
+ "use_cache": true,
48
+ "vocab_size": 50257
49
+ }