charles-oai commited on
Commit
c0a796f
·
verified ·
1 Parent(s): c7b6d16

Upload 4 files

Browse files
Files changed (4) hide show
  1. config.json +27 -0
  2. dtypes.json +92 -0
  3. model.safetensors +3 -0
  4. viterbi_calibration.json +14 -0
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "privacy_filter",
3
+ "inference_contract_version": 1,
4
+ "encoding": "o200k_base",
5
+ "num_hidden_layers": 8,
6
+ "num_experts": 128,
7
+ "experts_per_token": 4,
8
+ "vocab_size": 200064,
9
+ "num_labels": 33,
10
+ "hidden_size": 640,
11
+ "intermediate_size": 640,
12
+ "head_dim": 64,
13
+ "num_attention_heads": 14,
14
+ "num_key_value_heads": 2,
15
+ "sliding_window": 257,
16
+ "bidirectional_context": true,
17
+ "bidirectional_left_context": 128,
18
+ "bidirectional_right_context": 128,
19
+ "initial_context_length": 4096,
20
+ "max_position_embeddings": 131072,
21
+ "default_n_ctx": 128000,
22
+ "rope_theta": 150000,
23
+ "rope_scaling_factor": 32.0,
24
+ "rope_ntk_alpha": 1.0,
25
+ "rope_ntk_beta": 32.0,
26
+ "param_dtype": "bfloat16"
27
+ }
dtypes.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "embedding.weight": "torch.bfloat16",
3
+ "block.0.attn.qkv.weight": "torch.bfloat16",
4
+ "block.0.attn.qkv.bias": "torch.bfloat16",
5
+ "block.0.attn.sinks": "torch.float32",
6
+ "block.0.attn.out.weight": "torch.bfloat16",
7
+ "block.0.attn.out.bias": "torch.bfloat16",
8
+ "block.0.mlp.gate.weight": "torch.bfloat16",
9
+ "block.0.mlp.gate.bias": "torch.bfloat16",
10
+ "block.0.mlp.swiglu.weight": "torch.bfloat16",
11
+ "block.0.mlp.swiglu.bias": "torch.bfloat16",
12
+ "block.0.mlp.out.weight": "torch.bfloat16",
13
+ "block.0.mlp.out.bias": "torch.bfloat16",
14
+ "block.1.attn.qkv.weight": "torch.bfloat16",
15
+ "block.1.attn.qkv.bias": "torch.bfloat16",
16
+ "block.1.attn.sinks": "torch.float32",
17
+ "block.1.attn.out.weight": "torch.bfloat16",
18
+ "block.1.attn.out.bias": "torch.bfloat16",
19
+ "block.1.mlp.gate.weight": "torch.bfloat16",
20
+ "block.1.mlp.gate.bias": "torch.bfloat16",
21
+ "block.1.mlp.swiglu.weight": "torch.bfloat16",
22
+ "block.1.mlp.swiglu.bias": "torch.bfloat16",
23
+ "block.1.mlp.out.weight": "torch.bfloat16",
24
+ "block.1.mlp.out.bias": "torch.bfloat16",
25
+ "block.2.attn.qkv.weight": "torch.bfloat16",
26
+ "block.2.attn.qkv.bias": "torch.bfloat16",
27
+ "block.2.attn.sinks": "torch.float32",
28
+ "block.2.attn.out.weight": "torch.bfloat16",
29
+ "block.2.attn.out.bias": "torch.bfloat16",
30
+ "block.2.mlp.gate.weight": "torch.bfloat16",
31
+ "block.2.mlp.gate.bias": "torch.bfloat16",
32
+ "block.2.mlp.swiglu.weight": "torch.bfloat16",
33
+ "block.2.mlp.swiglu.bias": "torch.bfloat16",
34
+ "block.2.mlp.out.weight": "torch.bfloat16",
35
+ "block.2.mlp.out.bias": "torch.bfloat16",
36
+ "block.3.attn.qkv.weight": "torch.bfloat16",
37
+ "block.3.attn.qkv.bias": "torch.bfloat16",
38
+ "block.3.attn.sinks": "torch.float32",
39
+ "block.3.attn.out.weight": "torch.bfloat16",
40
+ "block.3.attn.out.bias": "torch.bfloat16",
41
+ "block.3.mlp.gate.weight": "torch.bfloat16",
42
+ "block.3.mlp.gate.bias": "torch.bfloat16",
43
+ "block.3.mlp.swiglu.weight": "torch.bfloat16",
44
+ "block.3.mlp.swiglu.bias": "torch.bfloat16",
45
+ "block.3.mlp.out.weight": "torch.bfloat16",
46
+ "block.3.mlp.out.bias": "torch.bfloat16",
47
+ "block.4.attn.qkv.weight": "torch.bfloat16",
48
+ "block.4.attn.qkv.bias": "torch.bfloat16",
49
+ "block.4.attn.sinks": "torch.float32",
50
+ "block.4.attn.out.weight": "torch.bfloat16",
51
+ "block.4.attn.out.bias": "torch.bfloat16",
52
+ "block.4.mlp.gate.weight": "torch.bfloat16",
53
+ "block.4.mlp.gate.bias": "torch.bfloat16",
54
+ "block.4.mlp.swiglu.weight": "torch.bfloat16",
55
+ "block.4.mlp.swiglu.bias": "torch.bfloat16",
56
+ "block.4.mlp.out.weight": "torch.bfloat16",
57
+ "block.4.mlp.out.bias": "torch.bfloat16",
58
+ "block.5.attn.qkv.weight": "torch.bfloat16",
59
+ "block.5.attn.qkv.bias": "torch.bfloat16",
60
+ "block.5.attn.sinks": "torch.float32",
61
+ "block.5.attn.out.weight": "torch.bfloat16",
62
+ "block.5.attn.out.bias": "torch.bfloat16",
63
+ "block.5.mlp.gate.weight": "torch.bfloat16",
64
+ "block.5.mlp.gate.bias": "torch.bfloat16",
65
+ "block.5.mlp.swiglu.weight": "torch.bfloat16",
66
+ "block.5.mlp.swiglu.bias": "torch.bfloat16",
67
+ "block.5.mlp.out.weight": "torch.bfloat16",
68
+ "block.5.mlp.out.bias": "torch.bfloat16",
69
+ "block.6.attn.qkv.weight": "torch.bfloat16",
70
+ "block.6.attn.qkv.bias": "torch.bfloat16",
71
+ "block.6.attn.sinks": "torch.float32",
72
+ "block.6.attn.out.weight": "torch.bfloat16",
73
+ "block.6.attn.out.bias": "torch.bfloat16",
74
+ "block.6.mlp.gate.weight": "torch.bfloat16",
75
+ "block.6.mlp.gate.bias": "torch.bfloat16",
76
+ "block.6.mlp.swiglu.weight": "torch.bfloat16",
77
+ "block.6.mlp.swiglu.bias": "torch.bfloat16",
78
+ "block.6.mlp.out.weight": "torch.bfloat16",
79
+ "block.6.mlp.out.bias": "torch.bfloat16",
80
+ "block.7.attn.qkv.weight": "torch.bfloat16",
81
+ "block.7.attn.qkv.bias": "torch.bfloat16",
82
+ "block.7.attn.sinks": "torch.float32",
83
+ "block.7.attn.out.weight": "torch.bfloat16",
84
+ "block.7.attn.out.bias": "torch.bfloat16",
85
+ "block.7.mlp.gate.weight": "torch.bfloat16",
86
+ "block.7.mlp.gate.bias": "torch.bfloat16",
87
+ "block.7.mlp.swiglu.weight": "torch.bfloat16",
88
+ "block.7.mlp.swiglu.bias": "torch.bfloat16",
89
+ "block.7.mlp.out.weight": "torch.bfloat16",
90
+ "block.7.mlp.out.bias": "torch.bfloat16",
91
+ "unembedding.weight": "torch.bfloat16"
92
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c262cbe68a0c8a50590a648ef8341a2b7d3be1fa11dfb79893fe0b03ce57b5c
3
+ size 2798984088
viterbi_calibration.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "operating_points": {
3
+ "default": {
4
+ "biases": {
5
+ "transition_bias_background_stay": 0.0,
6
+ "transition_bias_background_to_start": 0.0,
7
+ "transition_bias_end_to_background": 0.0,
8
+ "transition_bias_end_to_start": 0.0,
9
+ "transition_bias_inside_to_continue": 0.0,
10
+ "transition_bias_inside_to_end": 0.0
11
+ }
12
+ }
13
+ }
14
+ }