Upload XLMRobertaForTokenClassification
Browse files- config.json +106 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/content/roberta-finetuned-ner/checkpoint-14982",
|
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 |
+
"0": "O",
|
15 |
+
"1": "B-PERSON",
|
16 |
+
"2": "I-PERSON",
|
17 |
+
"3": "B-NORP",
|
18 |
+
"4": "I-NORP",
|
19 |
+
"5": "B-FAC",
|
20 |
+
"6": "I-FAC",
|
21 |
+
"7": "B-ORG",
|
22 |
+
"8": "I-ORG",
|
23 |
+
"9": "B-GPE",
|
24 |
+
"10": "I-GPE",
|
25 |
+
"11": "B-LOC",
|
26 |
+
"12": "I-LOC",
|
27 |
+
"13": "B-PRODUCT",
|
28 |
+
"14": "I-PRODUCT",
|
29 |
+
"15": "B-DATE",
|
30 |
+
"16": "I-DATE",
|
31 |
+
"17": "B-TIME",
|
32 |
+
"18": "I-TIME",
|
33 |
+
"19": "B-PERCENT",
|
34 |
+
"20": "I-PERCENT",
|
35 |
+
"21": "B-MONEY",
|
36 |
+
"22": "I-MONEY",
|
37 |
+
"23": "B-QUANTITY",
|
38 |
+
"24": "I-QUANTITY",
|
39 |
+
"25": "B-ORDINAL",
|
40 |
+
"26": "I-ORDINAL",
|
41 |
+
"27": "B-CARDINAL",
|
42 |
+
"28": "I-CARDINAL",
|
43 |
+
"29": "B-EVENT",
|
44 |
+
"30": "I-EVENT",
|
45 |
+
"31": "B-WORK_OF_ART",
|
46 |
+
"32": "I-WORK_OF_ART",
|
47 |
+
"33": "B-LAW",
|
48 |
+
"34": "I-LAW",
|
49 |
+
"35": "B-LANGUAGE",
|
50 |
+
"36": "I-LANGUAGE"
|
51 |
+
},
|
52 |
+
"initializer_range": 0.02,
|
53 |
+
"intermediate_size": 3072,
|
54 |
+
"label2id": {
|
55 |
+
"B-CARDINAL": 27,
|
56 |
+
"B-DATE": 15,
|
57 |
+
"B-EVENT": 29,
|
58 |
+
"B-FAC": 5,
|
59 |
+
"B-GPE": 9,
|
60 |
+
"B-LANGUAGE": 35,
|
61 |
+
"B-LAW": 33,
|
62 |
+
"B-LOC": 11,
|
63 |
+
"B-MONEY": 21,
|
64 |
+
"B-NORP": 3,
|
65 |
+
"B-ORDINAL": 25,
|
66 |
+
"B-ORG": 7,
|
67 |
+
"B-PERCENT": 19,
|
68 |
+
"B-PERSON": 1,
|
69 |
+
"B-PRODUCT": 13,
|
70 |
+
"B-QUANTITY": 23,
|
71 |
+
"B-TIME": 17,
|
72 |
+
"B-WORK_OF_ART": 31,
|
73 |
+
"I-CARDINAL": 28,
|
74 |
+
"I-DATE": 16,
|
75 |
+
"I-EVENT": 30,
|
76 |
+
"I-FAC": 6,
|
77 |
+
"I-GPE": 10,
|
78 |
+
"I-LANGUAGE": 36,
|
79 |
+
"I-LAW": 34,
|
80 |
+
"I-LOC": 12,
|
81 |
+
"I-MONEY": 22,
|
82 |
+
"I-NORP": 4,
|
83 |
+
"I-ORDINAL": 26,
|
84 |
+
"I-ORG": 8,
|
85 |
+
"I-PERCENT": 20,
|
86 |
+
"I-PERSON": 2,
|
87 |
+
"I-PRODUCT": 14,
|
88 |
+
"I-QUANTITY": 24,
|
89 |
+
"I-TIME": 18,
|
90 |
+
"I-WORK_OF_ART": 32,
|
91 |
+
"O": 0
|
92 |
+
},
|
93 |
+
"layer_norm_eps": 1e-05,
|
94 |
+
"max_position_embeddings": 514,
|
95 |
+
"model_type": "xlm-roberta",
|
96 |
+
"num_attention_heads": 12,
|
97 |
+
"num_hidden_layers": 12,
|
98 |
+
"output_past": true,
|
99 |
+
"pad_token_id": 1,
|
100 |
+
"position_embedding_type": "absolute",
|
101 |
+
"torch_dtype": "float32",
|
102 |
+
"transformers_version": "4.34.0",
|
103 |
+
"type_vocab_size": 1,
|
104 |
+
"use_cache": true,
|
105 |
+
"vocab_size": 250002
|
106 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5582076d8a4a3500590c9c83ffbe904c6b8aaeaf8e598c8b8e18b742f3c0ac89
|
3 |
+
size 1109991593
|