CoolFace
Modelpublic

Posos/ClinicalNER

sourceHugging Facecc-by-nc-sa-4.0updated 3y agoView on Hugging Face
12likes82downloads
config.json59 linesDownload Raw Back to root
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    "0": "O",15    "1": "B-Drug",16    "2": "I-Drug",17    "3": "B-Form",18    "4": "I-Form",19    "5": "B-Strength",20    "6": "I-Strength",21    "7": "B-Frequency",22    "8": "I-Frequency",23    "9": "B-Dosage",24    "10": "I-Dosage",25    "11": "B-Duration",26    "12": "I-Duration"27  },28  "initializer_range": 0.02,29  "intermediate_size": 3072,30  "label2id": {31    "B-Dosage": 9,32    "B-Drug": 1,33    "B-Duration": 11,34    "B-Form": 3,35    "B-Frequency": 7,36    "B-Strength": 5,37    "I-Dosage": 10,38    "I-Drug": 2,39    "I-Duration": 12,40    "I-Form": 4,41    "I-Frequency": 8,42    "I-Strength": 6,43    "O": 044  },45  "layer_norm_eps": 1e-05,46  "max_position_embeddings": 514,47  "model_type": "xlm-roberta",48  "num_attention_heads": 12,49  "num_hidden_layers": 12,50  "output_past": true,51  "pad_token_id": 1,52  "position_embedding_type": "absolute",53  "torch_dtype": "float32",54  "transformers_version": "4.20.1",55  "type_vocab_size": 1,56  "use_cache": true,57  "vocab_size": 25000258}59