Divyasreepat
commited on
Commit
•
e4dee20
1
Parent(s):
1069541
Upload folder using huggingface_hub
Browse files- README.md +20 -0
- assets/tokenizer/vocabulary.spm +0 -0
- config.json +22 -0
- metadata.json +6 -0
- model.weights.h5 +3 -0
- tokenizer.json +16 -0
README.md
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: keras-hub
|
3 |
+
---
|
4 |
+
This is a [`Albert` model](https://keras.io/api/keras_hub/models/albert) uploaded using the KerasHub library and can be used with JAX, TensorFlow, and PyTorch backends.
|
5 |
+
Model config:
|
6 |
+
* **name:** albert_backbone
|
7 |
+
* **trainable:** True
|
8 |
+
* **vocabulary_size:** 30000
|
9 |
+
* **num_layers:** 12
|
10 |
+
* **num_heads:** 12
|
11 |
+
* **num_groups:** 1
|
12 |
+
* **num_inner_repetitions:** 1
|
13 |
+
* **embedding_dim:** 128
|
14 |
+
* **hidden_dim:** 768
|
15 |
+
* **intermediate_dim:** 3072
|
16 |
+
* **dropout:** 0.0
|
17 |
+
* **max_sequence_length:** 512
|
18 |
+
* **num_segments:** 2
|
19 |
+
|
20 |
+
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.spm
ADDED
Binary file (760 kB). View file
|
|
config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras_nlp.src.models.albert.albert_backbone",
|
3 |
+
"class_name": "AlbertBackbone",
|
4 |
+
"config": {
|
5 |
+
"name": "albert_backbone",
|
6 |
+
"trainable": true,
|
7 |
+
"vocabulary_size": 30000,
|
8 |
+
"num_layers": 12,
|
9 |
+
"num_heads": 12,
|
10 |
+
"num_groups": 1,
|
11 |
+
"num_inner_repetitions": 1,
|
12 |
+
"embedding_dim": 128,
|
13 |
+
"hidden_dim": 768,
|
14 |
+
"intermediate_dim": 3072,
|
15 |
+
"dropout": 0.0,
|
16 |
+
"max_sequence_length": 512,
|
17 |
+
"num_segments": 2
|
18 |
+
},
|
19 |
+
"registered_name": "keras_nlp>AlbertBackbone",
|
20 |
+
"assets": [],
|
21 |
+
"weights": "model.weights.h5"
|
22 |
+
}
|
metadata.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"keras_version": "3.0.1",
|
3 |
+
"keras_nlp_version": "0.7.0",
|
4 |
+
"parameter_count": 11683584,
|
5 |
+
"date_saved": "2023-12-27@01:59:46"
|
6 |
+
}
|
model.weights.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d8208d7c8b2f7fa06dd1c384b57d5962982446a16b43b692953159d6d282718f
|
3 |
+
size 46793256
|
tokenizer.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras_nlp.src.models.albert.albert_tokenizer",
|
3 |
+
"class_name": "AlbertTokenizer",
|
4 |
+
"config": {
|
5 |
+
"name": "albert_tokenizer",
|
6 |
+
"trainable": true,
|
7 |
+
"dtype": "int32",
|
8 |
+
"proto": null,
|
9 |
+
"sequence_length": null
|
10 |
+
},
|
11 |
+
"registered_name": "keras_nlp>AlbertTokenizer",
|
12 |
+
"assets": [
|
13 |
+
"assets/tokenizer/vocabulary.spm"
|
14 |
+
],
|
15 |
+
"weights": null
|
16 |
+
}
|