File size: 2,232 Bytes
b91bf13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
  "_name_or_path": "./compacter-final",
  "adapters": {
    "adapters": {
      "orca": "ebb04f19c89ca4ba"
    },
    "config_map": {
      "ebb04f19c89ca4ba": {
        "adapter_residual_before_ln": false,
        "cross_adapter": false,
        "factorized_phm_W": true,
        "factorized_phm_rule": false,
        "hypercomplex_nonlinearity": "glorot-uniform",
        "init_weights": "bert",
        "inv_adapter": null,
        "inv_adapter_reduction_factor": null,
        "is_parallel": false,
        "learn_phm": true,
        "leave_out": [],
        "ln_after": false,
        "ln_before": false,
        "mh_adapter": false,
        "non_linearity": "gelu",
        "original_ln_after": true,
        "original_ln_before": true,
        "output_adapter": true,
        "phm_bias": true,
        "phm_c_init": "normal",
        "phm_dim": 4,
        "phm_init_range": 0.0001,
        "phm_layer": true,
        "phm_rank": 64,
        "reduction_factor": 4,
        "residual_before_ln": true,
        "scaling": 1.0,
        "shared_W_phm": false,
        "shared_phm_rule": true,
        "use_gating": false
      }
    },
    "fusion_config_map": {},
    "fusions": {}
  },
  "architectures": [
    "LlamaAdapterModel"
  ],
  "attention_bias": false,
  "bos_token_id": 32013,
  "custom_heads": {},
  "eos_token_id": 32021,
  "hidden_act": "silu",
  "hidden_size": 2048,
  "id2label": null,
  "initializer_range": 0.02,
  "intermediate_size": 5504,
  "label2id": null,
  "max_position_embeddings": 16384,
  "model_type": "llama",
  "num_attention_heads": 16,
  "num_hidden_layers": 24,
  "num_key_value_heads": 16,
  "prediction_heads": {
    "default": {
      "activation_function": null,
      "bias": false,
      "dropout_prob": null,
      "embedding_size": 2048,
      "head_type": "causal_lm",
      "label2id": null,
      "layer_norm": false,
      "layers": 1,
      "shift_labels": true,
      "vocab_size": 32256
    }
  },
  "pretraining_tp": 1,
  "rms_norm_eps": 1e-06,
  "rope_scaling": {
    "factor": 4.0,
    "type": "linear"
  },
  "rope_theta": 100000,
  "tie_word_embeddings": false,
  "torch_dtype": "float32",
  "transformers_version": "4.35.2",
  "use_cache": true,
  "vocab_size": 32256
}