Upload XLMRobertaForTokenClassification
Browse files- config.json +143 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "tmp33",
|
| 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 |
+
"gradient_checkpointing": false,
|
| 11 |
+
"hidden_act": "gelu",
|
| 12 |
+
"hidden_dropout_prob": 0.1,
|
| 13 |
+
"hidden_size": 1024,
|
| 14 |
+
"id2label": {
|
| 15 |
+
"0": "B-organization",
|
| 16 |
+
"1": "O",
|
| 17 |
+
"2": "B-other",
|
| 18 |
+
"3": "B-person",
|
| 19 |
+
"4": "I-person",
|
| 20 |
+
"5": "B-location",
|
| 21 |
+
"6": "I-organization",
|
| 22 |
+
"7": "I-other",
|
| 23 |
+
"8": "I-location",
|
| 24 |
+
"9": "B-cardinal number",
|
| 25 |
+
"10": "B-date",
|
| 26 |
+
"11": "I-date",
|
| 27 |
+
"12": "B-group",
|
| 28 |
+
"13": "B-geopolitical area",
|
| 29 |
+
"14": "I-geopolitical area",
|
| 30 |
+
"15": "B-law",
|
| 31 |
+
"16": "I-law",
|
| 32 |
+
"17": "B-percent",
|
| 33 |
+
"18": "I-percent",
|
| 34 |
+
"19": "B-ordinal number",
|
| 35 |
+
"20": "B-money",
|
| 36 |
+
"21": "I-money",
|
| 37 |
+
"22": "B-work of art",
|
| 38 |
+
"23": "I-work of art",
|
| 39 |
+
"24": "B-facility",
|
| 40 |
+
"25": "B-time",
|
| 41 |
+
"26": "I-cardinal number",
|
| 42 |
+
"27": "B-quantity",
|
| 43 |
+
"28": "I-quantity",
|
| 44 |
+
"29": "I-group",
|
| 45 |
+
"30": "B-product",
|
| 46 |
+
"31": "I-time",
|
| 47 |
+
"32": "B-event",
|
| 48 |
+
"33": "I-event",
|
| 49 |
+
"34": "I-facility",
|
| 50 |
+
"35": "B-language",
|
| 51 |
+
"36": "I-product",
|
| 52 |
+
"37": "I-ordinal number",
|
| 53 |
+
"38": "I-language",
|
| 54 |
+
"39": "B-chemical",
|
| 55 |
+
"40": "B-disease",
|
| 56 |
+
"41": "I-disease",
|
| 57 |
+
"42": "I-chemical",
|
| 58 |
+
"43": "B-dna",
|
| 59 |
+
"44": "I-dna",
|
| 60 |
+
"45": "B-protein",
|
| 61 |
+
"46": "I-protein",
|
| 62 |
+
"47": "B-cell type",
|
| 63 |
+
"48": "I-cell type",
|
| 64 |
+
"49": "B-cell line",
|
| 65 |
+
"50": "I-cell line",
|
| 66 |
+
"51": "B-rna",
|
| 67 |
+
"52": "I-rna",
|
| 68 |
+
"53": "B-corporation",
|
| 69 |
+
"54": "I-corporation"
|
| 70 |
+
},
|
| 71 |
+
"initializer_range": 0.02,
|
| 72 |
+
"intermediate_size": 4096,
|
| 73 |
+
"label2id": {
|
| 74 |
+
"B-cardinal number": 9,
|
| 75 |
+
"B-cell line": 49,
|
| 76 |
+
"B-cell type": 47,
|
| 77 |
+
"B-chemical": 39,
|
| 78 |
+
"B-corporation": 53,
|
| 79 |
+
"B-date": 10,
|
| 80 |
+
"B-disease": 40,
|
| 81 |
+
"B-dna": 43,
|
| 82 |
+
"B-event": 32,
|
| 83 |
+
"B-facility": 24,
|
| 84 |
+
"B-geopolitical area": 13,
|
| 85 |
+
"B-group": 12,
|
| 86 |
+
"B-language": 35,
|
| 87 |
+
"B-law": 15,
|
| 88 |
+
"B-location": 5,
|
| 89 |
+
"B-money": 20,
|
| 90 |
+
"B-ordinal number": 19,
|
| 91 |
+
"B-organization": 0,
|
| 92 |
+
"B-other": 2,
|
| 93 |
+
"B-percent": 17,
|
| 94 |
+
"B-person": 3,
|
| 95 |
+
"B-product": 30,
|
| 96 |
+
"B-protein": 45,
|
| 97 |
+
"B-quantity": 27,
|
| 98 |
+
"B-rna": 51,
|
| 99 |
+
"B-time": 25,
|
| 100 |
+
"B-work of art": 22,
|
| 101 |
+
"I-cardinal number": 26,
|
| 102 |
+
"I-cell line": 50,
|
| 103 |
+
"I-cell type": 48,
|
| 104 |
+
"I-chemical": 42,
|
| 105 |
+
"I-corporation": 54,
|
| 106 |
+
"I-date": 11,
|
| 107 |
+
"I-disease": 41,
|
| 108 |
+
"I-dna": 44,
|
| 109 |
+
"I-event": 33,
|
| 110 |
+
"I-facility": 34,
|
| 111 |
+
"I-geopolitical area": 14,
|
| 112 |
+
"I-group": 29,
|
| 113 |
+
"I-language": 38,
|
| 114 |
+
"I-law": 16,
|
| 115 |
+
"I-location": 8,
|
| 116 |
+
"I-money": 21,
|
| 117 |
+
"I-ordinal number": 37,
|
| 118 |
+
"I-organization": 6,
|
| 119 |
+
"I-other": 7,
|
| 120 |
+
"I-percent": 18,
|
| 121 |
+
"I-person": 4,
|
| 122 |
+
"I-product": 36,
|
| 123 |
+
"I-protein": 46,
|
| 124 |
+
"I-quantity": 28,
|
| 125 |
+
"I-rna": 52,
|
| 126 |
+
"I-time": 31,
|
| 127 |
+
"I-work of art": 23,
|
| 128 |
+
"O": 1
|
| 129 |
+
},
|
| 130 |
+
"layer_norm_eps": 1e-05,
|
| 131 |
+
"max_position_embeddings": 514,
|
| 132 |
+
"model_type": "xlm-roberta",
|
| 133 |
+
"num_attention_heads": 16,
|
| 134 |
+
"num_hidden_layers": 24,
|
| 135 |
+
"output_past": true,
|
| 136 |
+
"pad_token_id": 1,
|
| 137 |
+
"position_embedding_type": "absolute",
|
| 138 |
+
"torch_dtype": "float32",
|
| 139 |
+
"transformers_version": "4.24.0",
|
| 140 |
+
"type_vocab_size": 1,
|
| 141 |
+
"use_cache": true,
|
| 142 |
+
"vocab_size": 250002
|
| 143 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0135e2cecac64fbc4d0663628550be9c5996e666101d740dd756303bffa86a2
|
| 3 |
+
size 2235719921
|