xaviergillard
commited on
Commit
•
f398a09
1
Parent(s):
8ab4e68
Upload XLMRobertaForTokenClassification
Browse files- README.md +1 -1
- config.json +48 -48
- model.safetensors +1 -1
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
-
license: mit
|
3 |
language:
|
4 |
- fr
|
5 |
- nl
|
|
|
6 |
pipeline_tag: token-classification
|
7 |
---
|
8 |
|
|
|
1 |
---
|
|
|
2 |
language:
|
3 |
- fr
|
4 |
- nl
|
5 |
+
license: mit
|
6 |
pipeline_tag: token-classification
|
7 |
---
|
8 |
|
config.json
CHANGED
@@ -1,48 +1,48 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "xlm-roberta-base
|
3 |
-
"architectures": [
|
4 |
-
"XLMRobertaForTokenClassification"
|
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 |
-
"id2label": {
|
14 |
-
"-100": "IGN",
|
15 |
-
"0": "O",
|
16 |
-
"1": "B-PERS",
|
17 |
-
"2": "I-PERS",
|
18 |
-
"3": "B-LOC",
|
19 |
-
"4": "I-LOC",
|
20 |
-
"5": "B-DATE",
|
21 |
-
"6": "I-DATE"
|
22 |
-
},
|
23 |
-
"initializer_range": 0.02,
|
24 |
-
"intermediate_size": 3072,
|
25 |
-
"label2id": {
|
26 |
-
"B-DATE": 5,
|
27 |
-
"B-LOC": 3,
|
28 |
-
"B-PERS": 1,
|
29 |
-
"I-DATE": 6,
|
30 |
-
"I-LOC": 4,
|
31 |
-
"I-PERS": 2,
|
32 |
-
"IGN": -100,
|
33 |
-
"O": 0
|
34 |
-
},
|
35 |
-
"layer_norm_eps": 1e-05,
|
36 |
-
"max_position_embeddings": 514,
|
37 |
-
"model_type": "xlm-roberta",
|
38 |
-
"num_attention_heads": 12,
|
39 |
-
"num_hidden_layers": 12,
|
40 |
-
"output_past": true,
|
41 |
-
"pad_token_id": 1,
|
42 |
-
"position_embedding_type": "absolute",
|
43 |
-
"torch_dtype": "float32",
|
44 |
-
"transformers_version": "4.
|
45 |
-
"type_vocab_size": 1,
|
46 |
-
"use_cache": true,
|
47 |
-
"vocab_size": 250002
|
48 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "FacebookAI/xlm-roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaForTokenClassification"
|
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 |
+
"id2label": {
|
14 |
+
"-100": "IGN",
|
15 |
+
"0": "O",
|
16 |
+
"1": "B-PERS",
|
17 |
+
"2": "I-PERS",
|
18 |
+
"3": "B-LOC",
|
19 |
+
"4": "I-LOC",
|
20 |
+
"5": "B-DATE",
|
21 |
+
"6": "I-DATE"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"B-DATE": 5,
|
27 |
+
"B-LOC": 3,
|
28 |
+
"B-PERS": 1,
|
29 |
+
"I-DATE": 6,
|
30 |
+
"I-LOC": 4,
|
31 |
+
"I-PERS": 2,
|
32 |
+
"IGN": -100,
|
33 |
+
"O": 0
|
34 |
+
},
|
35 |
+
"layer_norm_eps": 1e-05,
|
36 |
+
"max_position_embeddings": 514,
|
37 |
+
"model_type": "xlm-roberta",
|
38 |
+
"num_attention_heads": 12,
|
39 |
+
"num_hidden_layers": 12,
|
40 |
+
"output_past": true,
|
41 |
+
"pad_token_id": 1,
|
42 |
+
"position_embedding_type": "absolute",
|
43 |
+
"torch_dtype": "float32",
|
44 |
+
"transformers_version": "4.42.3",
|
45 |
+
"type_vocab_size": 1,
|
46 |
+
"use_cache": true,
|
47 |
+
"vocab_size": 250002
|
48 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1109860880
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76631282d975f96c9b40be44c6c7f1d7cc57afc1bf4d5d1904c24c14c5df556b
|
3 |
size 1109860880
|