Divyasreepat
commited on
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +18 -0
- assets/tokenizer/vocabulary.spm +3 -0
- config.json +20 -0
- metadata.json +6 -0
- model.weights.h5 +3 -0
- tokenizer.json +16 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
assets/tokenizer/vocabulary.spm filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: keras-hub
|
3 |
+
---
|
4 |
+
This is a [`Gemma` model](https://keras.io/api/keras_hub/models/gemma) uploaded using the KerasHub library and can be used with JAX, TensorFlow, and PyTorch backends.
|
5 |
+
Model config:
|
6 |
+
* **name:** gemma_backbone
|
7 |
+
* **trainable:** True
|
8 |
+
* **vocabulary_size:** 256000
|
9 |
+
* **num_layers:** 28
|
10 |
+
* **num_query_heads:** 16
|
11 |
+
* **num_key_value_heads:** 16
|
12 |
+
* **hidden_dim:** 3072
|
13 |
+
* **intermediate_dim:** 49152
|
14 |
+
* **head_dim:** 256
|
15 |
+
* **layer_norm_epsilon:** 1e-06
|
16 |
+
* **dropout:** 0
|
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.spm
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2
|
3 |
+
size 4241003
|
config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras_nlp.models.gemma.gemma_backbone",
|
3 |
+
"class_name": "GemmaBackbone",
|
4 |
+
"config": {
|
5 |
+
"name": "gemma_backbone",
|
6 |
+
"trainable": true,
|
7 |
+
"vocabulary_size": 256000,
|
8 |
+
"num_layers": 28,
|
9 |
+
"num_query_heads": 16,
|
10 |
+
"num_key_value_heads": 16,
|
11 |
+
"hidden_dim": 3072,
|
12 |
+
"intermediate_dim": 49152,
|
13 |
+
"head_dim": 256,
|
14 |
+
"layer_norm_epsilon": 1e-06,
|
15 |
+
"dropout": 0
|
16 |
+
},
|
17 |
+
"registered_name": "keras_nlp>GemmaBackbone",
|
18 |
+
"assets": [],
|
19 |
+
"weights": "model.weights.h5"
|
20 |
+
}
|
metadata.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"keras_version": "3.0.4",
|
3 |
+
"keras_nlp_version": "0.7.0",
|
4 |
+
"parameter_count": 8537680896,
|
5 |
+
"date_saved": "2024-02-13@19:13:09"
|
6 |
+
}
|
model.weights.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8268225265833e398b95286ec45530134d905d750edb588a39c45cad12e291e6
|
3 |
+
size 17076474392
|
tokenizer.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras_nlp.src.models.gemma.gemma_tokenizer",
|
3 |
+
"class_name": "GemmaTokenizer",
|
4 |
+
"config": {
|
5 |
+
"name": "gemma_tokenizer",
|
6 |
+
"trainable": true,
|
7 |
+
"dtype": "int32",
|
8 |
+
"proto": null,
|
9 |
+
"sequence_length": null
|
10 |
+
},
|
11 |
+
"registered_name": "keras_nlp>GemmaTokenizer",
|
12 |
+
"assets": [
|
13 |
+
"assets/tokenizer/vocabulary.spm"
|
14 |
+
],
|
15 |
+
"weights": null
|
16 |
+
}
|