Upload 5 files
Browse files- .gitattributes +1 -0
- config.json +166 -0
- model.safetensors +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +3 -0
- tokenizer_config.json +56 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "B-AerospaceManufacturer",
|
| 15 |
+
"1": "B-AnatomicalStructure",
|
| 16 |
+
"2": "B-ArtWork",
|
| 17 |
+
"3": "B-Artist",
|
| 18 |
+
"4": "B-Athlete",
|
| 19 |
+
"5": "B-CarManufacturer",
|
| 20 |
+
"6": "B-Cleric",
|
| 21 |
+
"7": "B-Clothing",
|
| 22 |
+
"8": "B-Disease",
|
| 23 |
+
"9": "B-Drink",
|
| 24 |
+
"10": "B-Facility",
|
| 25 |
+
"11": "B-Food",
|
| 26 |
+
"12": "B-HumanSettlement",
|
| 27 |
+
"13": "B-MedicalProcedure",
|
| 28 |
+
"14": "B-Medication/Vaccine",
|
| 29 |
+
"15": "B-MusicalGRP",
|
| 30 |
+
"16": "B-MusicalWork",
|
| 31 |
+
"17": "B-ORG",
|
| 32 |
+
"18": "B-OtherLOC",
|
| 33 |
+
"19": "B-OtherPER",
|
| 34 |
+
"20": "B-OtherPROD",
|
| 35 |
+
"21": "B-Politician",
|
| 36 |
+
"22": "B-PrivateCorp",
|
| 37 |
+
"23": "B-PublicCorp",
|
| 38 |
+
"24": "B-Scientist",
|
| 39 |
+
"25": "B-Software",
|
| 40 |
+
"26": "B-SportsGRP",
|
| 41 |
+
"27": "B-SportsManager",
|
| 42 |
+
"28": "B-Station",
|
| 43 |
+
"29": "B-Symptom",
|
| 44 |
+
"30": "B-Vehicle",
|
| 45 |
+
"31": "B-VisualWork",
|
| 46 |
+
"32": "B-WrittenWork",
|
| 47 |
+
"33": "I-AerospaceManufacturer",
|
| 48 |
+
"34": "I-AnatomicalStructure",
|
| 49 |
+
"35": "I-ArtWork",
|
| 50 |
+
"36": "I-Artist",
|
| 51 |
+
"37": "I-Athlete",
|
| 52 |
+
"38": "I-CarManufacturer",
|
| 53 |
+
"39": "I-Cleric",
|
| 54 |
+
"40": "I-Clothing",
|
| 55 |
+
"41": "I-Disease",
|
| 56 |
+
"42": "I-Drink",
|
| 57 |
+
"43": "I-Facility",
|
| 58 |
+
"44": "I-Food",
|
| 59 |
+
"45": "I-HumanSettlement",
|
| 60 |
+
"46": "I-MedicalProcedure",
|
| 61 |
+
"47": "I-Medication/Vaccine",
|
| 62 |
+
"48": "I-MusicalGRP",
|
| 63 |
+
"49": "I-MusicalWork",
|
| 64 |
+
"50": "I-ORG",
|
| 65 |
+
"51": "I-OtherLOC",
|
| 66 |
+
"52": "I-OtherPER",
|
| 67 |
+
"53": "I-OtherPROD",
|
| 68 |
+
"54": "I-Politician",
|
| 69 |
+
"55": "I-PrivateCorp",
|
| 70 |
+
"56": "I-PublicCorp",
|
| 71 |
+
"57": "I-Scientist",
|
| 72 |
+
"58": "I-Software",
|
| 73 |
+
"59": "I-SportsGRP",
|
| 74 |
+
"60": "I-SportsManager",
|
| 75 |
+
"61": "I-Station",
|
| 76 |
+
"62": "I-Symptom",
|
| 77 |
+
"63": "I-Vehicle",
|
| 78 |
+
"64": "I-VisualWork",
|
| 79 |
+
"65": "I-WrittenWork",
|
| 80 |
+
"66": "O"
|
| 81 |
+
},
|
| 82 |
+
"initializer_range": 0.02,
|
| 83 |
+
"intermediate_size": 4096,
|
| 84 |
+
"label2id": {
|
| 85 |
+
"B-AerospaceManufacturer": 0,
|
| 86 |
+
"B-AnatomicalStructure": 1,
|
| 87 |
+
"B-ArtWork": 2,
|
| 88 |
+
"B-Artist": 3,
|
| 89 |
+
"B-Athlete": 4,
|
| 90 |
+
"B-CarManufacturer": 5,
|
| 91 |
+
"B-Cleric": 6,
|
| 92 |
+
"B-Clothing": 7,
|
| 93 |
+
"B-Disease": 8,
|
| 94 |
+
"B-Drink": 9,
|
| 95 |
+
"B-Facility": 10,
|
| 96 |
+
"B-Food": 11,
|
| 97 |
+
"B-HumanSettlement": 12,
|
| 98 |
+
"B-MedicalProcedure": 13,
|
| 99 |
+
"B-Medication/Vaccine": 14,
|
| 100 |
+
"B-MusicalGRP": 15,
|
| 101 |
+
"B-MusicalWork": 16,
|
| 102 |
+
"B-ORG": 17,
|
| 103 |
+
"B-OtherLOC": 18,
|
| 104 |
+
"B-OtherPER": 19,
|
| 105 |
+
"B-OtherPROD": 20,
|
| 106 |
+
"B-Politician": 21,
|
| 107 |
+
"B-PrivateCorp": 22,
|
| 108 |
+
"B-PublicCorp": 23,
|
| 109 |
+
"B-Scientist": 24,
|
| 110 |
+
"B-Software": 25,
|
| 111 |
+
"B-SportsGRP": 26,
|
| 112 |
+
"B-SportsManager": 27,
|
| 113 |
+
"B-Station": 28,
|
| 114 |
+
"B-Symptom": 29,
|
| 115 |
+
"B-Vehicle": 30,
|
| 116 |
+
"B-VisualWork": 31,
|
| 117 |
+
"B-WrittenWork": 32,
|
| 118 |
+
"I-AerospaceManufacturer": 33,
|
| 119 |
+
"I-AnatomicalStructure": 34,
|
| 120 |
+
"I-ArtWork": 35,
|
| 121 |
+
"I-Artist": 36,
|
| 122 |
+
"I-Athlete": 37,
|
| 123 |
+
"I-CarManufacturer": 38,
|
| 124 |
+
"I-Cleric": 39,
|
| 125 |
+
"I-Clothing": 40,
|
| 126 |
+
"I-Disease": 41,
|
| 127 |
+
"I-Drink": 42,
|
| 128 |
+
"I-Facility": 43,
|
| 129 |
+
"I-Food": 44,
|
| 130 |
+
"I-HumanSettlement": 45,
|
| 131 |
+
"I-MedicalProcedure": 46,
|
| 132 |
+
"I-Medication/Vaccine": 47,
|
| 133 |
+
"I-MusicalGRP": 48,
|
| 134 |
+
"I-MusicalWork": 49,
|
| 135 |
+
"I-ORG": 50,
|
| 136 |
+
"I-OtherLOC": 51,
|
| 137 |
+
"I-OtherPER": 52,
|
| 138 |
+
"I-OtherPROD": 53,
|
| 139 |
+
"I-Politician": 54,
|
| 140 |
+
"I-PrivateCorp": 55,
|
| 141 |
+
"I-PublicCorp": 56,
|
| 142 |
+
"I-Scientist": 57,
|
| 143 |
+
"I-Software": 58,
|
| 144 |
+
"I-SportsGRP": 59,
|
| 145 |
+
"I-SportsManager": 60,
|
| 146 |
+
"I-Station": 61,
|
| 147 |
+
"I-Symptom": 62,
|
| 148 |
+
"I-Vehicle": 63,
|
| 149 |
+
"I-VisualWork": 64,
|
| 150 |
+
"I-WrittenWork": 65,
|
| 151 |
+
"O": 66
|
| 152 |
+
},
|
| 153 |
+
"layer_norm_eps": 1e-05,
|
| 154 |
+
"max_position_embeddings": 514,
|
| 155 |
+
"model_type": "xlm-roberta",
|
| 156 |
+
"num_attention_heads": 16,
|
| 157 |
+
"num_hidden_layers": 24,
|
| 158 |
+
"output_past": true,
|
| 159 |
+
"pad_token_id": 1,
|
| 160 |
+
"position_embedding_type": "absolute",
|
| 161 |
+
"torch_dtype": "float32",
|
| 162 |
+
"transformers_version": "4.48.3",
|
| 163 |
+
"type_vocab_size": 1,
|
| 164 |
+
"use_cache": true,
|
| 165 |
+
"vocab_size": 250002
|
| 166 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a859dfefac361bf86833c28702ff5ec4755be86a1aa0de5a729c94f021e54d5
|
| 3 |
+
size 2235686564
|
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 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8373f9cd3d27591e1924426bcc1c8799bc5a9affc4fc857982c5d66668dd1f41
|
| 3 |
+
size 17082832
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": true,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<s>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<pad>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "</s>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<unk>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"250001": {
|
| 37 |
+
"content": "<mask>",
|
| 38 |
+
"lstrip": true,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"bos_token": "<s>",
|
| 46 |
+
"clean_up_tokenization_spaces": false,
|
| 47 |
+
"cls_token": "<s>",
|
| 48 |
+
"eos_token": "</s>",
|
| 49 |
+
"extra_special_tokens": {},
|
| 50 |
+
"mask_token": "<mask>",
|
| 51 |
+
"model_max_length": 512,
|
| 52 |
+
"pad_token": "<pad>",
|
| 53 |
+
"sep_token": "</s>",
|
| 54 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
| 55 |
+
"unk_token": "<unk>"
|
| 56 |
+
}
|