add flax model
Browse files- .gitattributes +1 -0
- config.json +5 -0
- flax_model.msgpack +3 -0
.gitattributes
CHANGED
@@ -6,3 +6,4 @@
|
|
6 |
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
7 |
*.ot filter=lfs diff=lfs merge=lfs -text
|
8 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
|
|
|
6 |
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
7 |
*.ot filter=lfs diff=lfs merge=lfs -text
|
8 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
config.json
CHANGED
@@ -10,6 +10,7 @@
|
|
10 |
"attention_dropout": 0.0,
|
11 |
"bos_token_id": 0,
|
12 |
"classif_dropout": 0.0,
|
|
|
13 |
"d_model": 1024,
|
14 |
"decoder_attention_heads": 16,
|
15 |
"decoder_ffn_dim": 4096,
|
@@ -27,6 +28,8 @@
|
|
27 |
2
|
28 |
],
|
29 |
"extra_pos_embeddings": 2,
|
|
|
|
|
30 |
"id2label": {
|
31 |
"0": "LABEL_0",
|
32 |
"1": "LABEL_1",
|
@@ -57,5 +60,7 @@
|
|
57 |
"static_position_embeddings": false,
|
58 |
"student_decoder_layers": null,
|
59 |
"student_encoder_layers": null,
|
|
|
|
|
60 |
"vocab_size": 50264
|
61 |
}
|
|
|
10 |
"attention_dropout": 0.0,
|
11 |
"bos_token_id": 0,
|
12 |
"classif_dropout": 0.0,
|
13 |
+
"classifier_dropout": 0.0,
|
14 |
"d_model": 1024,
|
15 |
"decoder_attention_heads": 16,
|
16 |
"decoder_ffn_dim": 4096,
|
|
|
28 |
2
|
29 |
],
|
30 |
"extra_pos_embeddings": 2,
|
31 |
+
"forced_eos_token_id": 2,
|
32 |
+
"gradient_checkpointing": false,
|
33 |
"id2label": {
|
34 |
"0": "LABEL_0",
|
35 |
"1": "LABEL_1",
|
|
|
60 |
"static_position_embeddings": false,
|
61 |
"student_decoder_layers": null,
|
62 |
"student_encoder_layers": null,
|
63 |
+
"transformers_version": "4.7.0.dev0",
|
64 |
+
"use_cache": true,
|
65 |
"vocab_size": 50264
|
66 |
}
|
flax_model.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e91d92b90b19061e1a9c88efdb43983090c1d8e582d9c3399a1f3395cc6a7a5
|
3 |
+
size 535554836
|