mattdangerw commited on
Commit
416a20e
1 Parent(s): 7d1ba4b

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +2 -4
  2. metadata.json +7 -3
  3. tokenizer.json +14 -8
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "module": "keras_nlp.src.models.bert.bert_backbone",
3
  "class_name": "BertBackbone",
4
  "config": {
5
  "name": "bert_backbone",
@@ -13,7 +13,5 @@
13
  "max_sequence_length": 512,
14
  "num_segments": 2
15
  },
16
- "registered_name": "keras_nlp>BertBackbone",
17
- "assets": [],
18
- "weights": "model.weights.h5"
19
  }
 
1
  {
2
+ "module": "keras_hub.src.models.bert.bert_backbone",
3
  "class_name": "BertBackbone",
4
  "config": {
5
  "name": "bert_backbone",
 
13
  "max_sequence_length": 512,
14
  "num_segments": 2
15
  },
16
+ "registered_name": "keras_hub>BertBackbone"
 
 
17
  }
metadata.json CHANGED
@@ -1,6 +1,10 @@
1
  {
2
- "keras_version": "3.0.1",
3
- "keras_nlp_version": "0.7.0",
4
  "parameter_count": 4385920,
5
- "date_saved": "2023-12-27@02:02:24"
 
 
 
 
6
  }
 
1
  {
2
+ "keras_version": "3.7.0",
3
+ "keras_hub_version": "0.19.0",
4
  "parameter_count": 4385920,
5
+ "date_saved": "2024-12-20@19:42:50",
6
+ "tasks": [
7
+ "MaskedLM",
8
+ "TextClassifier"
9
+ ]
10
  }
tokenizer.json CHANGED
@@ -1,21 +1,27 @@
1
  {
2
- "module": "keras_nlp.src.models.bert.bert_tokenizer",
3
  "class_name": "BertTokenizer",
4
  "config": {
5
  "name": "bert_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>BertTokenizer",
17
- "assets": [
18
- "assets/tokenizer/vocabulary.txt"
19
- ],
20
- "weights": null
21
  }
 
1
  {
2
+ "module": "keras_hub.src.models.bert.bert_tokenizer",
3
  "class_name": "BertTokenizer",
4
  "config": {
5
  "name": "bert_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>BertTokenizer"
 
 
 
 
27
  }