Upload folder using huggingface_hub
Browse files- README.md +23 -0
- assets/tokenizer/vocabulary.spm +0 -0
- config.json +23 -0
- metadata.json +6 -0
- model.weights.h5 +3 -0
- tokenizer.json +12 -0
README.md
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: keras-nlp
|
3 |
+
---
|
4 |
+
This is a [`Phi3` model](https://keras.io/api/keras_nlp/models/phi3) uploaded using the KerasNLP library and can be used with JAX, TensorFlow, and PyTorch backends.
|
5 |
+
Model config:
|
6 |
+
* **name:** phi3_backbone_1
|
7 |
+
* **trainable:** True
|
8 |
+
* **vocabulary_size:** 32064
|
9 |
+
* **num_layers:** 32
|
10 |
+
* **num_query_heads:** 32
|
11 |
+
* **hidden_dim:** 3072
|
12 |
+
* **intermediate_dim:** 8192
|
13 |
+
* **num_key_value_heads:** 32
|
14 |
+
* **layer_norm_epsilon:** 1e-05
|
15 |
+
* **dropout:** 0.0
|
16 |
+
* **max_sequence_length:** 4096
|
17 |
+
* **original_max_sequence_length:** 4096
|
18 |
+
* **rope_max_wavelength:** 10000.0
|
19 |
+
* **rope_scaling_type:** None
|
20 |
+
* **rope_scaling_short_factor:** None
|
21 |
+
* **rope_scaling_long_factor:** None
|
22 |
+
|
23 |
+
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 (500 kB). View file
|
|
config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras_nlp.src.models.phi3.phi3_backbone",
|
3 |
+
"class_name": "Phi3Backbone",
|
4 |
+
"config": {
|
5 |
+
"name": "phi3_backbone_1",
|
6 |
+
"trainable": true,
|
7 |
+
"vocabulary_size": 32064,
|
8 |
+
"num_layers": 32,
|
9 |
+
"num_query_heads": 32,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"intermediate_dim": 8192,
|
12 |
+
"num_key_value_heads": 32,
|
13 |
+
"layer_norm_epsilon": 1e-05,
|
14 |
+
"dropout": 0.0,
|
15 |
+
"max_sequence_length": 4096,
|
16 |
+
"original_max_sequence_length": 4096,
|
17 |
+
"rope_max_wavelength": 10000.0,
|
18 |
+
"rope_scaling_type": null,
|
19 |
+
"rope_scaling_short_factor": null,
|
20 |
+
"rope_scaling_long_factor": null
|
21 |
+
},
|
22 |
+
"registered_name": "keras_nlp>Phi3Backbone"
|
23 |
+
}
|
metadata.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"keras_version": "3.3.3",
|
3 |
+
"keras_nlp_version": "0.10.0",
|
4 |
+
"parameter_count": 3821079552,
|
5 |
+
"date_saved": "2024-05-06@23:30:58"
|
6 |
+
}
|
model.weights.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:276f47353d6e6199cd2f5f378b38c9fb238a60d9ddf8b3d8ed995beae68e67e2
|
3 |
+
size 7643265592
|
tokenizer.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras_nlp.src.models.phi3.phi3_tokenizer",
|
3 |
+
"class_name": "Phi3Tokenizer",
|
4 |
+
"config": {
|
5 |
+
"name": "phi3_tokenizer",
|
6 |
+
"trainable": true,
|
7 |
+
"dtype": "int32",
|
8 |
+
"proto": null,
|
9 |
+
"sequence_length": null
|
10 |
+
},
|
11 |
+
"registered_name": "keras_nlp>Phi3Tokenizer"
|
12 |
+
}
|