ManuelaDanu commited on
Commit
03b44e9
·
verified ·
1 Parent(s): c729439

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +48 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "TokenClassificationModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "auto_map": {
8
+ "AutoModelForTokenClassification": "modeling.TokenClassificationModel"
9
+ },
10
+ "backbone_model_name": "/mnt/DATA/DT4H/NER_task/CardioLM_paper_models/base_models/xlm-roberta-large",
11
+ "bos_token_id": 0,
12
+ "class_weights": null,
13
+ "classifier_dropout": 0.1,
14
+ "classifier_hidden_layers": null,
15
+ "custom_model_type": "TokenClassificationModel",
16
+ "dtype": "bfloat16",
17
+ "eos_token_id": 2,
18
+ "hidden_act": "gelu",
19
+ "hidden_dropout_prob": 0.1,
20
+ "hidden_size": 1024,
21
+ "id2label": {
22
+ "0": "O",
23
+ "1": "B-DISEASE",
24
+ "2": "I-DISEASE"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 4096,
28
+ "is_decoder": false,
29
+ "label2id": {
30
+ "B-DISEASE": 1,
31
+ "I-DISEASE": 2,
32
+ "O": 0
33
+ },
34
+ "layer_norm_eps": 1e-05,
35
+ "max_position_embeddings": 514,
36
+ "model_type": "xlm-roberta",
37
+ "num_attention_heads": 16,
38
+ "num_hidden_layers": 24,
39
+ "output_past": true,
40
+ "pad_token_id": 1,
41
+ "position_embedding_type": "absolute",
42
+ "requires_trust_remote_code": true,
43
+ "tie_word_embeddings": true,
44
+ "transformers_version": "5.7.0",
45
+ "type_vocab_size": 1,
46
+ "use_cache": false,
47
+ "vocab_size": 250002
48
+ }