add flax model
Browse files- .ipynb_checkpoints/config-checkpoint.json +25 -0
- config.json +3 -0
- flax_model.msgpack +3 -0
.ipynb_checkpoints/config-checkpoint.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"XLMRobertaForMaskedLM"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 1024,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 4096,
|
13 |
+
"layer_norm_eps": 1e-05,
|
14 |
+
"max_position_embeddings": 514,
|
15 |
+
"model_type": "xlm-roberta",
|
16 |
+
"num_attention_heads": 16,
|
17 |
+
"num_hidden_layers": 24,
|
18 |
+
"output_past": true,
|
19 |
+
"pad_token_id": 1,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"transformers_version": "4.17.0.dev0",
|
22 |
+
"type_vocab_size": 1,
|
23 |
+
"use_cache": true,
|
24 |
+
"vocab_size": 250002
|
25 |
+
}
|
config.json
CHANGED
@@ -17,6 +17,9 @@
|
|
17 |
"num_hidden_layers": 24,
|
18 |
"output_past": true,
|
19 |
"pad_token_id": 1,
|
|
|
|
|
20 |
"type_vocab_size": 1,
|
|
|
21 |
"vocab_size": 250002
|
22 |
}
|
|
|
17 |
"num_hidden_layers": 24,
|
18 |
"output_past": true,
|
19 |
"pad_token_id": 1,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"transformers_version": "4.17.0.dev0",
|
22 |
"type_vocab_size": 1,
|
23 |
+
"use_cache": true,
|
24 |
"vocab_size": 250002
|
25 |
}
|
flax_model.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96d19a73ca044be7c23518d2d23154eb0a1e6fb301d3b086e2d80bdfff1391ce
|
3 |
+
size 2240584013
|