Model upload
Browse files- config.json +54 -0
- model.safetensors +3 -0
- special_tokens_map.json +15 -0
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "FacebookAI/xlm-roberta-large",
|
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": 1024,
|
13 |
+
"id2label": {
|
14 |
+
"0": "O",
|
15 |
+
"1": "B-EVT",
|
16 |
+
"2": "B-LOC",
|
17 |
+
"3": "B-ORG",
|
18 |
+
"4": "B-PER",
|
19 |
+
"5": "B-PRO",
|
20 |
+
"6": "I-EVT",
|
21 |
+
"7": "I-LOC",
|
22 |
+
"8": "I-ORG",
|
23 |
+
"9": "I-PER",
|
24 |
+
"10": "I-PRO"
|
25 |
+
},
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"intermediate_size": 4096,
|
28 |
+
"label2id": {
|
29 |
+
"B-EVT": 1,
|
30 |
+
"B-LOC": 2,
|
31 |
+
"B-ORG": 3,
|
32 |
+
"B-PER": 4,
|
33 |
+
"B-PRO": 5,
|
34 |
+
"I-EVT": 6,
|
35 |
+
"I-LOC": 7,
|
36 |
+
"I-ORG": 8,
|
37 |
+
"I-PER": 9,
|
38 |
+
"I-PRO": 10,
|
39 |
+
"O": 0
|
40 |
+
},
|
41 |
+
"layer_norm_eps": 1e-05,
|
42 |
+
"max_position_embeddings": 514,
|
43 |
+
"model_type": "xlm-roberta",
|
44 |
+
"num_attention_heads": 16,
|
45 |
+
"num_hidden_layers": 24,
|
46 |
+
"output_past": true,
|
47 |
+
"pad_token_id": 1,
|
48 |
+
"position_embedding_type": "absolute",
|
49 |
+
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.41.0",
|
51 |
+
"type_vocab_size": 1,
|
52 |
+
"use_cache": true,
|
53 |
+
"vocab_size": 250002
|
54 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1624212a92c5846b96a5fbb10ddd2960ca8ee24bad3c9ace25dbc575a1823209
|
3 |
+
size 2235456956
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|