Divyasreepat
commited on
Commit
•
0bc81c0
1
Parent(s):
2477d8f
Upload folder using huggingface_hub
Browse files- README.md +20 -0
- assets/tokenizer/vocabulary.spm +0 -0
- config.json +20 -0
- metadata.json +6 -0
- model.weights.h5 +3 -0
- tokenizer.json +22 -0
README.md
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: keras-hub
|
3 |
+
---
|
4 |
+
This is a [`T5` model](https://keras.io/api/keras_hub/models/t5) uploaded using the KerasHub library and can be used with JAX, TensorFlow, and PyTorch backends.
|
5 |
+
Model config:
|
6 |
+
* **name:** t5_backbone
|
7 |
+
* **trainable:** True
|
8 |
+
* **vocabulary_size:** 32128
|
9 |
+
* **hidden_dim:** 512
|
10 |
+
* **intermediate_dim:** 1024
|
11 |
+
* **num_layers:** 8
|
12 |
+
* **num_heads:** 6
|
13 |
+
* **activation:** gelu
|
14 |
+
* **key_value_dim:** 64
|
15 |
+
* **dropout:** 0.1
|
16 |
+
* **use_gated_activation:** True
|
17 |
+
* **layer_norm_epsilon:** 1e-06
|
18 |
+
* **tie_embedding_weights:** False
|
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 (792 kB). View file
|
|
config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras_hub.src.models.t5.t5_backbone",
|
3 |
+
"class_name": "T5Backbone",
|
4 |
+
"config": {
|
5 |
+
"name": "t5_backbone",
|
6 |
+
"trainable": true,
|
7 |
+
"vocabulary_size": 32128,
|
8 |
+
"hidden_dim": 512,
|
9 |
+
"intermediate_dim": 1024,
|
10 |
+
"num_layers": 8,
|
11 |
+
"num_heads": 6,
|
12 |
+
"activation": "gelu",
|
13 |
+
"key_value_dim": 64,
|
14 |
+
"dropout": 0.1,
|
15 |
+
"use_gated_activation": true,
|
16 |
+
"layer_norm_epsilon": 1e-06,
|
17 |
+
"tie_embedding_weights": false
|
18 |
+
},
|
19 |
+
"registered_name": "keras_hub>T5Backbone"
|
20 |
+
}
|
metadata.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"keras_version": "3.6.0",
|
3 |
+
"keras_hub_version": "0.16.1",
|
4 |
+
"parameter_count": 76961152,
|
5 |
+
"date_saved": "2024-10-22@14:11:02"
|
6 |
+
}
|
model.weights.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1fb1fee4033319556cbd867b6c601c2cfc3667564a78bd7a9cd9dd3c69c739de
|
3 |
+
size 308534120
|
tokenizer.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras_hub.src.models.t5.t5_tokenizer",
|
3 |
+
"class_name": "T5Tokenizer",
|
4 |
+
"config": {
|
5 |
+
"name": "t5_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 |
+
"proto": null,
|
17 |
+
"sequence_length": null,
|
18 |
+
"add_bos": false,
|
19 |
+
"add_eos": false
|
20 |
+
},
|
21 |
+
"registered_name": "keras_hub>T5Tokenizer"
|
22 |
+
}
|