Divyasreepat
commited on
Commit
•
b487b47
1
Parent(s):
275b535
Upload folder using huggingface_hub
Browse files- README.md +20 -0
- assets/tokenizer/vocabulary.spm +0 -0
- config.json +27 -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 [`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:** 768
|
10 |
+
* **intermediate_dim:** 2048
|
11 |
+
* **num_layers:** 12
|
12 |
+
* **num_heads:** 12
|
13 |
+
* **activation:** {'module': 'builtins', 'class_name': 'function', 'config': 'keras_nlp>gelu_approximate', 'registered_name': 'function'}
|
14 |
+
* **key_value_dim:** None
|
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,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras_nlp.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": 768,
|
9 |
+
"intermediate_dim": 2048,
|
10 |
+
"num_layers": 12,
|
11 |
+
"num_heads": 12,
|
12 |
+
"activation": {
|
13 |
+
"module": "builtins",
|
14 |
+
"class_name": "function",
|
15 |
+
"config": "keras_nlp>gelu_approximate",
|
16 |
+
"registered_name": "function"
|
17 |
+
},
|
18 |
+
"key_value_dim": null,
|
19 |
+
"dropout": 0.1,
|
20 |
+
"use_gated_activation": true,
|
21 |
+
"layer_norm_epsilon": 1e-06,
|
22 |
+
"tie_embedding_weights": false
|
23 |
+
},
|
24 |
+
"registered_name": "keras_nlp>T5Backbone",
|
25 |
+
"assets": [],
|
26 |
+
"weights": "model.weights.h5"
|
27 |
+
}
|
metadata.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"keras_version": "3.0.1",
|
3 |
+
"keras_nlp_version": "0.7.0",
|
4 |
+
"parameter_count": 247577856,
|
5 |
+
"date_saved": "2023-12-27@02:30:24"
|
6 |
+
}
|
model.weights.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bf070b7d7f7187fdfe607658173a90f092096d4edd1b16a9898b4ec42e088a22
|
3 |
+
size 991272168
|
tokenizer.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras_nlp.src.models.t5.t5_tokenizer",
|
3 |
+
"class_name": "T5Tokenizer",
|
4 |
+
"config": {
|
5 |
+
"name": "t5_tokenizer",
|
6 |
+
"trainable": true,
|
7 |
+
"dtype": "int32",
|
8 |
+
"proto": null,
|
9 |
+
"sequence_length": null
|
10 |
+
},
|
11 |
+
"registered_name": "keras_nlp>T5Tokenizer",
|
12 |
+
"assets": [
|
13 |
+
"assets/tokenizer/vocabulary.spm"
|
14 |
+
],
|
15 |
+
"weights": null
|
16 |
+
}
|