mattdangerw commited on
Commit
29e3b48
1 Parent(s): 903c0f8

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +2 -4
  2. metadata.json +4 -3
  3. tokenizer.json +15 -9
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "module": "keras_nlp.models.electra.electra_backbone",
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": "keras_nlp>ElectraBackbone",
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.2",
3
- "keras_nlp_version": "0.7.0",
4
  "parameter_count": 109482240,
5
- "date_saved": "2024-02-14@21:30:50"
 
6
  }
 
1
  {
2
+ "keras_version": "3.7.0",
3
+ "keras_hub_version": "0.19.0",
4
  "parameter_count": 109482240,
5
+ "date_saved": "2024-12-20@20:11:53",
6
+ "tasks": []
7
  }
tokenizer.json CHANGED
@@ -1,21 +1,27 @@
1
  {
2
- "module": "keras_nlp.models.electra.electra_tokenizer",
3
  "class_name": "ElectraTokenizer",
4
  "config": {
5
  "name": "electra_tokenizer",
6
  "trainable": true,
7
- "dtype": "int32",
 
 
 
 
 
 
 
 
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": "keras_nlp>ElectraTokenizer",
17
- "assets": [
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
+ }