CoolFace
Modelpublic

gyr66/relation_extraction_roberta_base

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes14downloads
config.json76 linesDownload Raw Back to root
1{2  "_name_or_path": "roberta-base",3  "architectures": [4    "BertForRelationExtraction"5  ],6  "attention_probs_dropout_prob": 0.1,7  "bos_token_id": 0,8  "classifier_dropout": null,9  "e1_end_token_id": 50267,10  "e1_start_token_id": 50266,11  "e2_end_token_id": 50268,12  "e2_start_token_id": 50265,13  "eos_token_id": 2,14  "finetuning_task": "text-classification",15  "hidden_act": "gelu",16  "hidden_dropout_prob": 0.1,17  "hidden_size": 768,18  "id2label": {19    "0": "0",20    "1": "1",21    "2": "10",22    "3": "11",23    "4": "12",24    "5": "13",25    "6": "14",26    "7": "15",27    "8": "16",28    "9": "17",29    "10": "18",30    "11": "2",31    "12": "3",32    "13": "4",33    "14": "5",34    "15": "6",35    "16": "7",36    "17": "8",37    "18": "9"38  },39  "initializer_range": 0.02,40  "intermediate_size": 3072,41  "label2id": {42    "0": 0,43    "1": 1,44    "10": 2,45    "11": 3,46    "12": 4,47    "13": 5,48    "14": 6,49    "15": 7,50    "16": 8,51    "17": 9,52    "18": 10,53    "2": 11,54    "3": 12,55    "4": 13,56    "5": 14,57    "6": 15,58    "7": 16,59    "8": 17,60    "9": 1861  },62  "layer_norm_eps": 1e-05,63  "max_position_embeddings": 514,64  "model_type": "roberta",65  "num_attention_heads": 12,66  "num_hidden_layers": 12,67  "pad_token_id": 1,68  "position_embedding_type": "absolute",69  "problem_type": "single_label_classification",70  "torch_dtype": "float32",71  "transformers_version": "4.35.2",72  "type_vocab_size": 1,73  "use_cache": true,74  "vocab_size": 5026975}76