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,
|
@@ -26,6 +27,8 @@
|
|
26 |
"eos_token_ids": [
|
27 |
2
|
28 |
],
|
|
|
|
|
29 |
"id2label": {
|
30 |
"0": "LABEL_0",
|
31 |
"1": "LABEL_1",
|
@@ -56,5 +59,7 @@
|
|
56 |
"student_decoder_layers": null,
|
57 |
"student_encoder_layers": null,
|
58 |
"task_specific_params": {},
|
|
|
|
|
59 |
"vocab_size": 50264
|
60 |
}
|
|
|
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,
|
|
|
27 |
"eos_token_ids": [
|
28 |
2
|
29 |
],
|
30 |
+
"forced_eos_token_id": 2,
|
31 |
+
"gradient_checkpointing": false,
|
32 |
"id2label": {
|
33 |
"0": "LABEL_0",
|
34 |
"1": "LABEL_1",
|
|
|
59 |
"student_decoder_layers": null,
|
60 |
"student_encoder_layers": null,
|
61 |
"task_specific_params": {},
|
62 |
+
"transformers_version": "4.7.0.dev0",
|
63 |
+
"use_cache": true,
|
64 |
"vocab_size": 50264
|
65 |
}
|
flax_model.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:120ad3457db00af297272d4fadeb4f49d50ae03c56c08babe3e1963d00df1401
|
3 |
+
size 1625380786
|