CoolFace
Modelpublic

tner/roberta-large-bc5cdr

sourceHugging Faceupdated 4y agoView on Hugging Face
2likes1.9kdownloads
config.json166 linesDownload Raw Back to root
1{2  "_name_or_path": "roberta-large-bc5cdr",3  "adapters": {4    "adapters": {},5    "config_map": {},6    "fusion_config_map": {},7    "fusions": {}8  },9  "architectures": [10    "RobertaForTokenClassification"11  ],12  "attention_probs_dropout_prob": 0.1,13  "bos_token_id": 0,14  "classifier_dropout": null,15  "crf_state_dict": {16    "_constraint_mask": [17      [18        1.0,19        1.0,20        1.0,21        0.0,22        0.0,23        0.0,24        1.025      ],26      [27        1.0,28        1.0,29        1.0,30        0.0,31        1.0,32        0.0,33        1.034      ],35      [36        1.0,37        1.0,38        1.0,39        1.0,40        0.0,41        0.0,42        1.043      ],44      [45        1.0,46        1.0,47        1.0,48        1.0,49        0.0,50        0.0,51        1.052      ],53      [54        1.0,55        1.0,56        1.0,57        0.0,58        1.0,59        0.0,60        1.061      ],62      [63        1.0,64        1.0,65        1.0,66        0.0,67        0.0,68        0.0,69        0.070      ],71      [72        0.0,73        0.0,74        0.0,75        0.0,76        0.0,77        0.0,78        0.079      ]80    ],81    "end_transitions": [82      1.1829675436019897,83      0.338004469871521,84      1.610476016998291,85      -2.1025612354278564,86      0.02604414150118827887    ],88    "start_transitions": [89      0.23535622656345367,90      -0.5871618390083313,91      -0.908195972442627,92      1.289412021636963,93      0.749162197113037194    ],95    "transitions": [96      [97        0.08883310854434967,98        -0.34687548875808716,99        -0.5557966232299805,100        -0.6514758467674255,101        -0.32734575867652893102      ],103      [104        -0.020529085770249367,105        -1.1056996583938599,106        -0.6824190020561218,107        0.38456156849861145,108        -0.19291424751281738109      ],110      [111        -0.6466730237007141,112        -0.2793288826942444,113        -0.8555130958557129,114        0.10881402343511581,115        0.8075306415557861116      ],117      [118        -0.09906835854053497,119        -0.14599257707595825,120        0.10467313230037689,121        -0.26882439851760864,122        -0.12745390832424164123      ],124      [125        0.11021356284618378,126        -0.1971757709980011,127        0.632551372051239,128        0.9238606095314026,129        -0.20630259811878204130      ]131    ]132  },133  "eos_token_id": 2,134  "hidden_act": "gelu",135  "hidden_dropout_prob": 0.1,136  "hidden_size": 1024,137  "id2label": {138    "0": "O",139    "1": "B-Chemical",140    "2": "B-Disease",141    "3": "I-Disease",142    "4": "I-Chemical"143  },144  "initializer_range": 0.02,145  "intermediate_size": 4096,146  "label2id": {147    "B-Chemical": 1,148    "B-Disease": 2,149    "I-Chemical": 4,150    "I-Disease": 3,151    "O": 0152  },153  "layer_norm_eps": 1e-05,154  "max_position_embeddings": 514,155  "model_type": "roberta",156  "num_attention_heads": 16,157  "num_hidden_layers": 24,158  "pad_token_id": 1,159  "position_embedding_type": "absolute",160  "torch_dtype": "float32",161  "transformers_version": "4.11.3",162  "type_vocab_size": 1,163  "use_cache": true,164  "vocab_size": 50265165}166