mattdangerw
commited on
Commit
•
5370ccb
1
Parent(s):
98187d6
Upload folder using huggingface_hub
Browse files- config.json +2 -4
- metadata.json +4 -3
- tokenizer.json +15 -9
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"module": "
|
3 |
"class_name": "ElectraBackbone",
|
4 |
"config": {
|
5 |
"name": "electra_backbone",
|
@@ -14,7 +14,5 @@
|
|
14 |
"max_sequence_length": 512,
|
15 |
"num_segments": 2
|
16 |
},
|
17 |
-
"registered_name": "
|
18 |
-
"assets": [],
|
19 |
-
"weights": "model.weights.h5"
|
20 |
}
|
|
|
1 |
{
|
2 |
+
"module": "keras_hub.src.models.electra.electra_backbone",
|
3 |
"class_name": "ElectraBackbone",
|
4 |
"config": {
|
5 |
"name": "electra_backbone",
|
|
|
14 |
"max_sequence_length": 512,
|
15 |
"num_segments": 2
|
16 |
},
|
17 |
+
"registered_name": "keras_hub>ElectraBackbone"
|
|
|
|
|
18 |
}
|
metadata.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
2 |
-
"keras_version": "3.0
|
3 |
-
"
|
4 |
"parameter_count": 33576960,
|
5 |
-
"date_saved": "2024-
|
|
|
6 |
}
|
|
|
1 |
{
|
2 |
+
"keras_version": "3.7.0",
|
3 |
+
"keras_hub_version": "0.19.0",
|
4 |
"parameter_count": 33576960,
|
5 |
+
"date_saved": "2024-12-20@20:12:03",
|
6 |
+
"tasks": []
|
7 |
}
|
tokenizer.json
CHANGED
@@ -1,21 +1,27 @@
|
|
1 |
{
|
2 |
-
"module": "
|
3 |
"class_name": "ElectraTokenizer",
|
4 |
"config": {
|
5 |
"name": "electra_tokenizer",
|
6 |
"trainable": true,
|
7 |
-
"dtype":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"vocabulary": null,
|
9 |
"sequence_length": null,
|
10 |
"lowercase": true,
|
11 |
"strip_accents": false,
|
12 |
"split": true,
|
13 |
"suffix_indicator": "##",
|
14 |
-
"oov_token": "[UNK]"
|
|
|
|
|
15 |
},
|
16 |
-
"registered_name": "
|
17 |
-
|
18 |
-
"assets/tokenizer/vocabulary.txt"
|
19 |
-
],
|
20 |
-
"weights": null
|
21 |
-
}
|
|
|
1 |
{
|
2 |
+
"module": "keras_hub.src.models.electra.electra_tokenizer",
|
3 |
"class_name": "ElectraTokenizer",
|
4 |
"config": {
|
5 |
"name": "electra_tokenizer",
|
6 |
"trainable": true,
|
7 |
+
"dtype": {
|
8 |
+
"module": "keras",
|
9 |
+
"class_name": "DTypePolicy",
|
10 |
+
"config": {
|
11 |
+
"name": "int32"
|
12 |
+
},
|
13 |
+
"registered_name": null
|
14 |
+
},
|
15 |
+
"config_file": "tokenizer.json",
|
16 |
"vocabulary": null,
|
17 |
"sequence_length": null,
|
18 |
"lowercase": true,
|
19 |
"strip_accents": false,
|
20 |
"split": true,
|
21 |
"suffix_indicator": "##",
|
22 |
+
"oov_token": "[UNK]",
|
23 |
+
"special_tokens": null,
|
24 |
+
"special_tokens_in_strings": false
|
25 |
},
|
26 |
+
"registered_name": "keras_hub>ElectraTokenizer"
|
27 |
+
}
|
|
|
|
|
|
|
|