add flax model
Browse files- .gitattributes +1 -0
- config.json +6 -1
- 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,
|
@@ -24,8 +25,10 @@
|
|
24 |
"encoder_layers": 12,
|
25 |
"eos_token_id": 2,
|
26 |
"extra_pos_embeddings": 2,
|
27 |
-
"forced_bos_token_id": 0,
|
28 |
"force_bos_token_to_be_generated": true,
|
|
|
|
|
|
|
29 |
"id2label": {
|
30 |
"0": "LABEL_0",
|
31 |
"1": "LABEL_1",
|
@@ -66,5 +69,7 @@
|
|
66 |
"num_beams": 4
|
67 |
}
|
68 |
},
|
|
|
|
|
69 |
"vocab_size": 50264
|
70 |
}
|
|
|
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,
|
|
|
25 |
"encoder_layers": 12,
|
26 |
"eos_token_id": 2,
|
27 |
"extra_pos_embeddings": 2,
|
|
|
28 |
"force_bos_token_to_be_generated": true,
|
29 |
+
"forced_bos_token_id": 0,
|
30 |
+
"forced_eos_token_id": 2,
|
31 |
+
"gradient_checkpointing": false,
|
32 |
"id2label": {
|
33 |
"0": "LABEL_0",
|
34 |
"1": "LABEL_1",
|
|
|
69 |
"num_beams": 4
|
70 |
}
|
71 |
},
|
72 |
+
"transformers_version": "4.7.0.dev0",
|
73 |
+
"use_cache": true,
|
74 |
"vocab_size": 50264
|
75 |
}
|
flax_model.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e850d264574dac2076ae01ce78afe398ac02ac4b68e144feb9ca108bb5851c0
|
3 |
+
size 1222255172
|