Divyasreepat commited on
Commit
15128e1
1 Parent(s): e2b460f

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: keras-hub
3
+ ---
4
+ This is a [`Electra` model](https://keras.io/api/keras_hub/models/electra) uploaded using the KerasHub library and can be used with JAX, TensorFlow, and PyTorch backends.
5
+ Model config:
6
+ * **name:** electra_backbone
7
+ * **trainable:** True
8
+ * **vocab_size:** 30522
9
+ * **num_layers:** 12
10
+ * **num_heads:** 4
11
+ * **hidden_dim:** 256
12
+ * **embedding_dim:** 128
13
+ * **intermediate_dim:** 1024
14
+ * **dropout:** 0.1
15
+ * **max_sequence_length:** 512
16
+ * **num_segments:** 2
17
+
18
+ This model card has been generated automatically and should be completed by the model author. See [Model Cards documentation](https://huggingface.co/docs/hub/model-cards) for more information.
assets/tokenizer/vocabulary.txt ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "module": "keras_nlp.models.electra.electra_backbone",
3
+ "class_name": "ElectraBackbone",
4
+ "config": {
5
+ "name": "electra_backbone",
6
+ "trainable": true,
7
+ "vocab_size": 30522,
8
+ "num_layers": 12,
9
+ "num_heads": 4,
10
+ "hidden_dim": 256,
11
+ "embedding_dim": 128,
12
+ "intermediate_dim": 1024,
13
+ "dropout": 0.1,
14
+ "max_sequence_length": 512,
15
+ "num_segments": 2
16
+ },
17
+ "registered_name": "keras_nlp>ElectraBackbone",
18
+ "assets": [],
19
+ "weights": "model.weights.h5"
20
+ }
metadata.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "keras_version": "3.0.2",
3
+ "keras_nlp_version": "0.7.0",
4
+ "parameter_count": 13548800,
5
+ "date_saved": "2024-02-14@21:31:11"
6
+ }
model.weights.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44285d1ea2a9c9cef7d8e74dbc0de06cc712c3a314586d2188bd9bbcded3c91d
3
+ size 54604856
tokenizer.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }