Commit
·
1b6e3b7
1
Parent(s):
5cf388c
up
Browse files- config.json +26 -0
- pytorch_model.bin.index.v2.json +95 -0
- pytorch_model.v2-00001-of-00006.bin +3 -0
- pytorch_model.v2-00002-of-00006.bin +3 -0
- pytorch_model.v2-00003-of-00006.bin +3 -0
- pytorch_model.v2-00004-of-00006.bin +3 -0
- pytorch_model.v2-00005-of-00006.bin +3 -0
- pytorch_model.v2-00006-of-00006.bin +3 -0
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 |
+
}
|
pytorch_model.bin.index.v2.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 355812
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"embeddings.LayerNorm.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 7 |
+
"embeddings.LayerNorm.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 8 |
+
"embeddings.position_embeddings.weight": "pytorch_model.v2-00003-of-00006.bin",
|
| 9 |
+
"embeddings.position_ids": "pytorch_model.v2-00001-of-00006.bin",
|
| 10 |
+
"embeddings.token_type_embeddings.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 11 |
+
"embeddings.word_embeddings.weight": "pytorch_model.v2-00002-of-00006.bin",
|
| 12 |
+
"encoder.layer.0.attention.output.LayerNorm.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 13 |
+
"encoder.layer.0.attention.output.LayerNorm.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 14 |
+
"encoder.layer.0.attention.output.dense.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 15 |
+
"encoder.layer.0.attention.output.dense.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 16 |
+
"encoder.layer.0.attention.self.key.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 17 |
+
"encoder.layer.0.attention.self.key.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 18 |
+
"encoder.layer.0.attention.self.query.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 19 |
+
"encoder.layer.0.attention.self.query.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 20 |
+
"encoder.layer.0.attention.self.value.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 21 |
+
"encoder.layer.0.attention.self.value.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 22 |
+
"encoder.layer.0.intermediate.dense.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 23 |
+
"encoder.layer.0.intermediate.dense.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 24 |
+
"encoder.layer.0.output.LayerNorm.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 25 |
+
"encoder.layer.0.output.LayerNorm.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 26 |
+
"encoder.layer.0.output.dense.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 27 |
+
"encoder.layer.0.output.dense.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 28 |
+
"encoder.layer.1.attention.output.LayerNorm.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 29 |
+
"encoder.layer.1.attention.output.LayerNorm.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 30 |
+
"encoder.layer.1.attention.output.dense.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 31 |
+
"encoder.layer.1.attention.output.dense.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 32 |
+
"encoder.layer.1.attention.self.key.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 33 |
+
"encoder.layer.1.attention.self.key.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 34 |
+
"encoder.layer.1.attention.self.query.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 35 |
+
"encoder.layer.1.attention.self.query.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 36 |
+
"encoder.layer.1.attention.self.value.bias": "pytorch_model.v2-00004-of-00006.bin",
|
| 37 |
+
"encoder.layer.1.attention.self.value.weight": "pytorch_model.v2-00004-of-00006.bin",
|
| 38 |
+
"encoder.layer.1.intermediate.dense.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 39 |
+
"encoder.layer.1.intermediate.dense.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 40 |
+
"encoder.layer.1.output.LayerNorm.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 41 |
+
"encoder.layer.1.output.LayerNorm.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 42 |
+
"encoder.layer.1.output.dense.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 43 |
+
"encoder.layer.1.output.dense.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 44 |
+
"encoder.layer.2.attention.output.LayerNorm.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 45 |
+
"encoder.layer.2.attention.output.LayerNorm.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 46 |
+
"encoder.layer.2.attention.output.dense.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 47 |
+
"encoder.layer.2.attention.output.dense.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 48 |
+
"encoder.layer.2.attention.self.key.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 49 |
+
"encoder.layer.2.attention.self.key.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 50 |
+
"encoder.layer.2.attention.self.query.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 51 |
+
"encoder.layer.2.attention.self.query.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 52 |
+
"encoder.layer.2.attention.self.value.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 53 |
+
"encoder.layer.2.attention.self.value.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 54 |
+
"encoder.layer.2.intermediate.dense.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 55 |
+
"encoder.layer.2.intermediate.dense.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 56 |
+
"encoder.layer.2.output.LayerNorm.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 57 |
+
"encoder.layer.2.output.LayerNorm.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 58 |
+
"encoder.layer.2.output.dense.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 59 |
+
"encoder.layer.2.output.dense.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 60 |
+
"encoder.layer.3.attention.output.LayerNorm.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 61 |
+
"encoder.layer.3.attention.output.LayerNorm.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 62 |
+
"encoder.layer.3.attention.output.dense.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 63 |
+
"encoder.layer.3.attention.output.dense.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 64 |
+
"encoder.layer.3.attention.self.key.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 65 |
+
"encoder.layer.3.attention.self.key.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 66 |
+
"encoder.layer.3.attention.self.query.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 67 |
+
"encoder.layer.3.attention.self.query.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 68 |
+
"encoder.layer.3.attention.self.value.bias": "pytorch_model.v2-00005-of-00006.bin",
|
| 69 |
+
"encoder.layer.3.attention.self.value.weight": "pytorch_model.v2-00005-of-00006.bin",
|
| 70 |
+
"encoder.layer.3.intermediate.dense.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 71 |
+
"encoder.layer.3.intermediate.dense.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 72 |
+
"encoder.layer.3.output.LayerNorm.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 73 |
+
"encoder.layer.3.output.LayerNorm.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 74 |
+
"encoder.layer.3.output.dense.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 75 |
+
"encoder.layer.3.output.dense.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 76 |
+
"encoder.layer.4.attention.output.LayerNorm.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 77 |
+
"encoder.layer.4.attention.output.LayerNorm.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 78 |
+
"encoder.layer.4.attention.output.dense.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 79 |
+
"encoder.layer.4.attention.output.dense.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 80 |
+
"encoder.layer.4.attention.self.key.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 81 |
+
"encoder.layer.4.attention.self.key.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 82 |
+
"encoder.layer.4.attention.self.query.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 83 |
+
"encoder.layer.4.attention.self.query.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 84 |
+
"encoder.layer.4.attention.self.value.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 85 |
+
"encoder.layer.4.attention.self.value.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 86 |
+
"encoder.layer.4.intermediate.dense.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 87 |
+
"encoder.layer.4.intermediate.dense.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 88 |
+
"encoder.layer.4.output.LayerNorm.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 89 |
+
"encoder.layer.4.output.LayerNorm.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 90 |
+
"encoder.layer.4.output.dense.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 91 |
+
"encoder.layer.4.output.dense.weight": "pytorch_model.v2-00006-of-00006.bin",
|
| 92 |
+
"pooler.dense.bias": "pytorch_model.v2-00006-of-00006.bin",
|
| 93 |
+
"pooler.dense.weight": "pytorch_model.v2-00006-of-00006.bin"
|
| 94 |
+
}
|
| 95 |
+
}
|
pytorch_model.v2-00001-of-00006.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78ee4627d757583832992a63346937ccf2cdcb9803469eea0151c0bd45cf9ed5
|
| 3 |
+
size 5043
|
pytorch_model.v2-00002-of-00006.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86fca77d0005e44dc939016d7f5f39be5b0fd67c808b32ea10891c957c75e56c
|
| 3 |
+
size 144819
|
pytorch_model.v2-00003-of-00006.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4b14eb0fd155291e1536a79d3375ae3256d8ecee1fa3ccce12f296ecf95d096
|
| 3 |
+
size 66483
|
pytorch_model.v2-00004-of-00006.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83944a43c65517d03be60e82496ce14560be5c011918cda2d04d75fb210ae0b7
|
| 3 |
+
size 56246
|
pytorch_model.v2-00005-of-00006.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea53c03ac535a24adc6a14fa541926be6b9a6f548184e2d7ba1405ca94026685
|
| 3 |
+
size 59169
|
pytorch_model.v2-00006-of-00006.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c29b1132930b34ecc532f29a9f2cd37ecea0255df1f51b329a8346613064da5
|
| 3 |
+
size 55137
|