Divyasreepat
commited on
Commit
•
1aac136
1
Parent(s):
952db80
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +16 -0
- assets/tokenizer/vocabulary.spm +3 -0
- config.json +18 -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,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: keras-hub
|
3 |
+
---
|
4 |
+
This is a [`XLMRoberta` model](https://keras.io/api/keras_hub/models/xlm_roberta) uploaded using the KerasHub library and can be used with JAX, TensorFlow, and PyTorch backends.
|
5 |
+
Model config:
|
6 |
+
* **name:** xlm_roberta_backbone
|
7 |
+
* **trainable:** True
|
8 |
+
* **vocabulary_size:** 250002
|
9 |
+
* **num_layers:** 24
|
10 |
+
* **num_heads:** 16
|
11 |
+
* **hidden_dim:** 1024
|
12 |
+
* **intermediate_dim:** 4096
|
13 |
+
* **dropout:** 0.1
|
14 |
+
* **max_sequence_length:** 512
|
15 |
+
|
16 |
+
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:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
3 |
+
size 5069051
|
config.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras_nlp.src.models.xlm_roberta.xlm_roberta_backbone",
|
3 |
+
"class_name": "XLMRobertaBackbone",
|
4 |
+
"config": {
|
5 |
+
"name": "xlm_roberta_backbone",
|
6 |
+
"trainable": true,
|
7 |
+
"vocabulary_size": 250002,
|
8 |
+
"num_layers": 24,
|
9 |
+
"num_heads": 16,
|
10 |
+
"hidden_dim": 1024,
|
11 |
+
"intermediate_dim": 4096,
|
12 |
+
"dropout": 0.1,
|
13 |
+
"max_sequence_length": 512
|
14 |
+
},
|
15 |
+
"registered_name": "keras_nlp>XLMRobertaBackbone",
|
16 |
+
"assets": [],
|
17 |
+
"weights": "model.weights.h5"
|
18 |
+
}
|
metadata.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"keras_version": "3.0.1",
|
3 |
+
"keras_nlp_version": "0.7.0",
|
4 |
+
"parameter_count": 558837760,
|
5 |
+
"date_saved": "2023-12-27@02:40:35"
|
6 |
+
}
|
model.weights.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:049b1832dd2821a4963ddd0d8be25a5f7048ddbef596a2a4ab5198c5487e7db8
|
3 |
+
size 2236134264
|
tokenizer.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras_nlp.src.models.xlm_roberta.xlm_roberta_tokenizer",
|
3 |
+
"class_name": "XLMRobertaTokenizer",
|
4 |
+
"config": {
|
5 |
+
"name": "xlm_roberta_tokenizer",
|
6 |
+
"trainable": true,
|
7 |
+
"dtype": "int32",
|
8 |
+
"proto": null,
|
9 |
+
"sequence_length": null
|
10 |
+
},
|
11 |
+
"registered_name": "keras_nlp>XLMRobertaTokenizer",
|
12 |
+
"assets": [
|
13 |
+
"assets/tokenizer/vocabulary.spm"
|
14 |
+
],
|
15 |
+
"weights": null
|
16 |
+
}
|