patrickvonplaten commited on
Commit
bf3d287
·
1 Parent(s): 0986a94
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/tiny-random-bert",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 32,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 37,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 4,
18
+ "num_hidden_layers": 5,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.27.0.dev0",
23
+ "type_vocab_size": 16,
24
+ "use_cache": true,
25
+ "vocab_size": 1124
26
+ }
model.safetensors.index.v2.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 355812
4
+ },
5
+ "weight_map": {
6
+ "embeddings.LayerNorm.bias": "model.v2-00004-of-00006.safetensors",
7
+ "embeddings.LayerNorm.weight": "model.v2-00004-of-00006.safetensors",
8
+ "embeddings.position_embeddings.weight": "model.v2-00003-of-00006.safetensors",
9
+ "embeddings.position_ids": "model.v2-00001-of-00006.safetensors",
10
+ "embeddings.token_type_embeddings.weight": "model.v2-00004-of-00006.safetensors",
11
+ "embeddings.word_embeddings.weight": "model.v2-00002-of-00006.safetensors",
12
+ "encoder.layer.0.attention.output.LayerNorm.bias": "model.v2-00004-of-00006.safetensors",
13
+ "encoder.layer.0.attention.output.LayerNorm.weight": "model.v2-00004-of-00006.safetensors",
14
+ "encoder.layer.0.attention.output.dense.bias": "model.v2-00004-of-00006.safetensors",
15
+ "encoder.layer.0.attention.output.dense.weight": "model.v2-00004-of-00006.safetensors",
16
+ "encoder.layer.0.attention.self.key.bias": "model.v2-00004-of-00006.safetensors",
17
+ "encoder.layer.0.attention.self.key.weight": "model.v2-00004-of-00006.safetensors",
18
+ "encoder.layer.0.attention.self.query.bias": "model.v2-00004-of-00006.safetensors",
19
+ "encoder.layer.0.attention.self.query.weight": "model.v2-00004-of-00006.safetensors",
20
+ "encoder.layer.0.attention.self.value.bias": "model.v2-00004-of-00006.safetensors",
21
+ "encoder.layer.0.attention.self.value.weight": "model.v2-00004-of-00006.safetensors",
22
+ "encoder.layer.0.intermediate.dense.bias": "model.v2-00004-of-00006.safetensors",
23
+ "encoder.layer.0.intermediate.dense.weight": "model.v2-00004-of-00006.safetensors",
24
+ "encoder.layer.0.output.LayerNorm.bias": "model.v2-00004-of-00006.safetensors",
25
+ "encoder.layer.0.output.LayerNorm.weight": "model.v2-00004-of-00006.safetensors",
26
+ "encoder.layer.0.output.dense.bias": "model.v2-00004-of-00006.safetensors",
27
+ "encoder.layer.0.output.dense.weight": "model.v2-00004-of-00006.safetensors",
28
+ "encoder.layer.1.attention.output.LayerNorm.bias": "model.v2-00004-of-00006.safetensors",
29
+ "encoder.layer.1.attention.output.LayerNorm.weight": "model.v2-00004-of-00006.safetensors",
30
+ "encoder.layer.1.attention.output.dense.bias": "model.v2-00004-of-00006.safetensors",
31
+ "encoder.layer.1.attention.output.dense.weight": "model.v2-00004-of-00006.safetensors",
32
+ "encoder.layer.1.attention.self.key.bias": "model.v2-00004-of-00006.safetensors",
33
+ "encoder.layer.1.attention.self.key.weight": "model.v2-00004-of-00006.safetensors",
34
+ "encoder.layer.1.attention.self.query.bias": "model.v2-00004-of-00006.safetensors",
35
+ "encoder.layer.1.attention.self.query.weight": "model.v2-00004-of-00006.safetensors",
36
+ "encoder.layer.1.attention.self.value.bias": "model.v2-00004-of-00006.safetensors",
37
+ "encoder.layer.1.attention.self.value.weight": "model.v2-00004-of-00006.safetensors",
38
+ "encoder.layer.1.intermediate.dense.bias": "model.v2-00005-of-00006.safetensors",
39
+ "encoder.layer.1.intermediate.dense.weight": "model.v2-00005-of-00006.safetensors",
40
+ "encoder.layer.1.output.LayerNorm.bias": "model.v2-00005-of-00006.safetensors",
41
+ "encoder.layer.1.output.LayerNorm.weight": "model.v2-00005-of-00006.safetensors",
42
+ "encoder.layer.1.output.dense.bias": "model.v2-00005-of-00006.safetensors",
43
+ "encoder.layer.1.output.dense.weight": "model.v2-00005-of-00006.safetensors",
44
+ "encoder.layer.2.attention.output.LayerNorm.bias": "model.v2-00005-of-00006.safetensors",
45
+ "encoder.layer.2.attention.output.LayerNorm.weight": "model.v2-00005-of-00006.safetensors",
46
+ "encoder.layer.2.attention.output.dense.bias": "model.v2-00005-of-00006.safetensors",
47
+ "encoder.layer.2.attention.output.dense.weight": "model.v2-00005-of-00006.safetensors",
48
+ "encoder.layer.2.attention.self.key.bias": "model.v2-00005-of-00006.safetensors",
49
+ "encoder.layer.2.attention.self.key.weight": "model.v2-00005-of-00006.safetensors",
50
+ "encoder.layer.2.attention.self.query.bias": "model.v2-00005-of-00006.safetensors",
51
+ "encoder.layer.2.attention.self.query.weight": "model.v2-00005-of-00006.safetensors",
52
+ "encoder.layer.2.attention.self.value.bias": "model.v2-00005-of-00006.safetensors",
53
+ "encoder.layer.2.attention.self.value.weight": "model.v2-00005-of-00006.safetensors",
54
+ "encoder.layer.2.intermediate.dense.bias": "model.v2-00005-of-00006.safetensors",
55
+ "encoder.layer.2.intermediate.dense.weight": "model.v2-00005-of-00006.safetensors",
56
+ "encoder.layer.2.output.LayerNorm.bias": "model.v2-00005-of-00006.safetensors",
57
+ "encoder.layer.2.output.LayerNorm.weight": "model.v2-00005-of-00006.safetensors",
58
+ "encoder.layer.2.output.dense.bias": "model.v2-00005-of-00006.safetensors",
59
+ "encoder.layer.2.output.dense.weight": "model.v2-00005-of-00006.safetensors",
60
+ "encoder.layer.3.attention.output.LayerNorm.bias": "model.v2-00006-of-00006.safetensors",
61
+ "encoder.layer.3.attention.output.LayerNorm.weight": "model.v2-00006-of-00006.safetensors",
62
+ "encoder.layer.3.attention.output.dense.bias": "model.v2-00006-of-00006.safetensors",
63
+ "encoder.layer.3.attention.output.dense.weight": "model.v2-00006-of-00006.safetensors",
64
+ "encoder.layer.3.attention.self.key.bias": "model.v2-00005-of-00006.safetensors",
65
+ "encoder.layer.3.attention.self.key.weight": "model.v2-00005-of-00006.safetensors",
66
+ "encoder.layer.3.attention.self.query.bias": "model.v2-00005-of-00006.safetensors",
67
+ "encoder.layer.3.attention.self.query.weight": "model.v2-00005-of-00006.safetensors",
68
+ "encoder.layer.3.attention.self.value.bias": "model.v2-00005-of-00006.safetensors",
69
+ "encoder.layer.3.attention.self.value.weight": "model.v2-00005-of-00006.safetensors",
70
+ "encoder.layer.3.intermediate.dense.bias": "model.v2-00006-of-00006.safetensors",
71
+ "encoder.layer.3.intermediate.dense.weight": "model.v2-00006-of-00006.safetensors",
72
+ "encoder.layer.3.output.LayerNorm.bias": "model.v2-00006-of-00006.safetensors",
73
+ "encoder.layer.3.output.LayerNorm.weight": "model.v2-00006-of-00006.safetensors",
74
+ "encoder.layer.3.output.dense.bias": "model.v2-00006-of-00006.safetensors",
75
+ "encoder.layer.3.output.dense.weight": "model.v2-00006-of-00006.safetensors",
76
+ "encoder.layer.4.attention.output.LayerNorm.bias": "model.v2-00006-of-00006.safetensors",
77
+ "encoder.layer.4.attention.output.LayerNorm.weight": "model.v2-00006-of-00006.safetensors",
78
+ "encoder.layer.4.attention.output.dense.bias": "model.v2-00006-of-00006.safetensors",
79
+ "encoder.layer.4.attention.output.dense.weight": "model.v2-00006-of-00006.safetensors",
80
+ "encoder.layer.4.attention.self.key.bias": "model.v2-00006-of-00006.safetensors",
81
+ "encoder.layer.4.attention.self.key.weight": "model.v2-00006-of-00006.safetensors",
82
+ "encoder.layer.4.attention.self.query.bias": "model.v2-00006-of-00006.safetensors",
83
+ "encoder.layer.4.attention.self.query.weight": "model.v2-00006-of-00006.safetensors",
84
+ "encoder.layer.4.attention.self.value.bias": "model.v2-00006-of-00006.safetensors",
85
+ "encoder.layer.4.attention.self.value.weight": "model.v2-00006-of-00006.safetensors",
86
+ "encoder.layer.4.intermediate.dense.bias": "model.v2-00006-of-00006.safetensors",
87
+ "encoder.layer.4.intermediate.dense.weight": "model.v2-00006-of-00006.safetensors",
88
+ "encoder.layer.4.output.LayerNorm.bias": "model.v2-00006-of-00006.safetensors",
89
+ "encoder.layer.4.output.LayerNorm.weight": "model.v2-00006-of-00006.safetensors",
90
+ "encoder.layer.4.output.dense.bias": "model.v2-00006-of-00006.safetensors",
91
+ "encoder.layer.4.output.dense.weight": "model.v2-00006-of-00006.safetensors",
92
+ "pooler.dense.bias": "model.v2-00006-of-00006.safetensors",
93
+ "pooler.dense.weight": "model.v2-00006-of-00006.safetensors"
94
+ }
95
+ }
model.v2-00001-of-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3b6b2ce753775fddfdedda5bc4774bf6af48513e16ef9c8f4e7823a1d3f205e
3
+ size 4218
model.v2-00002-of-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc90ac0fd83f2036f181ebdfca9090667509a9fae17fe10cbd3f2afc3a5e2677
3
+ size 144008
model.v2-00003-of-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f98df52a9bf9e73db6f149561f6ae26335927ea6fd2f18b06b16567ad1c3417f
3
+ size 65674
model.v2-00004-of-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09781a57fa62ff9446e223d030f5757b030f72c7cd1a38d0729cd438600c8165
3
+ size 49609
model.v2-00005-of-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9357d328aa5f42dcc389387f777e601691e1331b8b355aab35256600bd74722c
3
+ size 52725
model.v2-00006-of-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07ad5642d854c7b701e120360fe9de68d05dc3f80d0105781e47e552ce4f8ea2
3
+ size 48714