Divyasreepat
commited on
Commit
•
ad0f89b
1
Parent(s):
2086aed
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:** 24
|
10 |
+
* **num_heads:** 16
|
11 |
+
* **num_groups:** 1
|
12 |
+
* **num_inner_repetitions:** 1
|
13 |
+
* **embedding_dim:** 128
|
14 |
+
* **hidden_dim:** 2048
|
15 |
+
* **intermediate_dim:** 8192
|
16 |
+
* **dropout:** 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": 24,
|
9 |
+
"num_heads": 16,
|
10 |
+
"num_groups": 1,
|
11 |
+
"num_inner_repetitions": 1,
|
12 |
+
"embedding_dim": 128,
|
13 |
+
"hidden_dim": 2048,
|
14 |
+
"intermediate_dim": 8192,
|
15 |
+
"dropout": 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": 58724864,
|
5 |
+
"date_saved": "2023-12-27@02:00:10"
|
6 |
+
}
|
model.weights.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1650f01c2f749bdfbb1eee43319ff82393004eed93ac586c4eba8e08649914f6
|
3 |
+
size 234958376
|
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 |
+
}
|