Upload XLMRobertaMultiTask
Browse files- config.json +46 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "xlm-roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaMultiTask"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 3072,
|
15 |
+
"label2id": {
|
16 |
+
"xnli": {
|
17 |
+
"contradiction": 2.0,
|
18 |
+
"entailment": 0.0,
|
19 |
+
"neutral": 1.0
|
20 |
+
}
|
21 |
+
},
|
22 |
+
"layer_norm_eps": 1e-05,
|
23 |
+
"max_position_embeddings": 514,
|
24 |
+
"model_type": "xlm-roberta",
|
25 |
+
"num_accum_batches": 1,
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_hidden_layers": 12,
|
28 |
+
"output_past": true,
|
29 |
+
"pad_token_id": 1,
|
30 |
+
"position_embedding_type": "absolute",
|
31 |
+
"r3f": false,
|
32 |
+
"r4f": false,
|
33 |
+
"retain_gradients": false,
|
34 |
+
"scale_loss": false,
|
35 |
+
"tasks": [
|
36 |
+
[
|
37 |
+
"xnli",
|
38 |
+
3
|
39 |
+
]
|
40 |
+
],
|
41 |
+
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.28.1",
|
43 |
+
"type_vocab_size": 1,
|
44 |
+
"use_cache": true,
|
45 |
+
"vocab_size": 250002
|
46 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b13c84ee9f57b4448e0716fd5edcfe5ff8e6616dc4b833e1fb85cae531c2fb9c
|
3 |
+
size 1112254389
|