File size: 2,222 Bytes
36236ec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
  "_name_or_path": "melhoushi/slimpj_h640_d13_gbs48_tpp20.0_lp0.2_linear_linear_reverse",
  "architectures": [
    "NestedLlamaForCausalLM"
  ],
  "attention_bias": true,
  "attention_dropout": 0.0,
  "auto_map": {
    "AutoConfig": "melhoushi/slimpj_h640_d13_gbs48_tpp20.0_lp0.2_linear_linear_reverse--configuration_celerity.CelerityConfig",
    "AutoModel": "melhoushi/slimpj_h640_d13_gbs48_tpp20.0_lp0.2_linear_linear_reverse--modeling_celerity.CelerityModel",
    "AutoModelForCausalLM": "melhoushi/slimpj_h640_d13_gbs48_tpp20.0_lp0.2_linear_linear_reverse--modeling_celerity.CelerityForCausalLM",
    "AutoModelForQuestionAnswering": "melhoushi/slimpj_h640_d13_gbs48_tpp20.0_lp0.2_linear_linear_reverse--modeling_celerity.CelerityForQuestionAnswering",
    "AutoModelForSequenceClassification": "melhoushi/slimpj_h640_d13_gbs48_tpp20.0_lp0.2_linear_linear_reverse--modeling_celerity.CelerityForSequenceClassification",
    "AutoModelForTokenClassification": "melhoushi/slimpj_h640_d13_gbs48_tpp20.0_lp0.2_linear_linear_reverse--modeling_celerity.CelerityForTokenClassification"
  },
  "bos_token_id": 1,
  "embeddings_scale": 1.0,
  "eos_token_id": 2,
  "exit_attention": false,
  "exit_decoder_layer": true,
  "exit_layer_indices": [
    2,
    4,
    7,
    10
  ],
  "exit_mlp": false,
  "head_dim": 64,
  "hidden_act": "relu2",
  "hidden_size": 640,
  "initializer_range": 0.02,
  "intermediate_size": 5120,
  "max_position_embeddings": 8192,
  "mhsa_residual_scale": 0.06649615384615384,
  "mlp_bias": true,
  "mlp_residual_scale": 0.03888461538461538,
  "model_type": "nested_llama",
  "norm_type": "layernorm",
  "num_attention_heads": 10,
  "num_hidden_layers": 13,
  "num_key_value_heads": 10,
  "output_exit_layers": [
    2,
    4,
    7,
    10
  ],
  "output_full_model": true,
  "output_logits_scale": 0.0015625,
  "position_embedding_type": "alibi",
  "pretraining_tp": 1,
  "rms_norm_eps": 1e-05,
  "rope_scaling": null,
  "rope_theta": 10000.0,
  "scale_qk_dot_by_d": true,
  "tie_exit_lm_head": true,
  "tie_word_embeddings": false,
  "torch_dtype": "bfloat16",
  "transformers_version": "4.48.0",
  "tuple_outputs": true,
  "use_cache": false,
  "use_mlp_gating": false,
  "vocab_size": 128256
}