pabRomero commited on
Commit
0d9504e
·
verified ·
1 Parent(s): a38233f

Training in progress, epoch 0

Browse files
Files changed (6) hide show
  1. config.json +17 -16
  2. model.safetensors +2 -2
  3. tokenizer.json +0 -0
  4. tokenizer_config.json +2 -5
  5. training_args.bin +1 -1
  6. vocab.txt +0 -0
config.json CHANGED
@@ -1,13 +1,14 @@
1
  {
2
- "_name_or_path": "medicalai/ClinicalBERT",
3
- "activation": "gelu",
4
  "architectures": [
5
- "DistilBertForTokenClassification"
6
  ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "hidden_dim": 3072,
 
 
11
  "id2label": {
12
  "0": "O",
13
  "1": "B-Drug",
@@ -30,6 +31,7 @@
30
  "18": "I-ADE"
31
  },
32
  "initializer_range": 0.02,
 
33
  "label2id": {
34
  "B-ADE": 17,
35
  "B-Dosage": 11,
@@ -51,17 +53,16 @@
51
  "I-Strength": 8,
52
  "O": 0
53
  },
 
54
  "max_position_embeddings": 512,
55
- "model_type": "distilbert",
56
- "n_heads": 12,
57
- "n_layers": 6,
58
- "output_past": true,
59
  "pad_token_id": 0,
60
- "qa_dropout": 0.1,
61
- "seq_classif_dropout": 0.2,
62
- "sinusoidal_pos_embds": false,
63
- "tie_weights_": true,
64
  "torch_dtype": "float32",
65
  "transformers_version": "4.44.0",
66
- "vocab_size": 119547
 
 
67
  }
 
1
  {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
 
3
  "architectures": [
4
+ "BertForTokenClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
  "id2label": {
13
  "0": "O",
14
  "1": "B-Drug",
 
31
  "18": "I-ADE"
32
  },
33
  "initializer_range": 0.02,
34
+ "intermediate_size": 3072,
35
  "label2id": {
36
  "B-ADE": 17,
37
  "B-Dosage": 11,
 
53
  "I-Strength": 8,
54
  "O": 0
55
  },
56
+ "layer_norm_eps": 1e-12,
57
  "max_position_embeddings": 512,
58
+ "model_type": "bert",
59
+ "num_attention_heads": 12,
60
+ "num_hidden_layers": 12,
 
61
  "pad_token_id": 0,
62
+ "position_embedding_type": "absolute",
 
 
 
63
  "torch_dtype": "float32",
64
  "transformers_version": "4.44.0",
65
+ "type_vocab_size": 2,
66
+ "use_cache": true,
67
+ "vocab_size": 30522
68
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4c3825338e73eb31dd3139b5b81de4b68faca22334de0eff081908eb58b441c9
3
- size 539007116
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e65309d7468724f6a000cf5b8e4fcb18b57ea8f491ed110737a41fdadb7d3fb
3
+ size 435648380
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -43,16 +43,13 @@
43
  },
44
  "clean_up_tokenization_spaces": true,
45
  "cls_token": "[CLS]",
46
- "do_basic_tokenize": true,
47
  "do_lower_case": true,
48
- "full_tokenizer_file": null,
49
  "mask_token": "[MASK]",
50
- "model_max_length": 1000000000000000019884624838656,
51
- "never_split": null,
52
  "pad_token": "[PAD]",
53
  "sep_token": "[SEP]",
54
  "strip_accents": null,
55
  "tokenize_chinese_chars": true,
56
- "tokenizer_class": "DistilBertTokenizer",
57
  "unk_token": "[UNK]"
58
  }
 
43
  },
44
  "clean_up_tokenization_spaces": true,
45
  "cls_token": "[CLS]",
 
46
  "do_lower_case": true,
 
47
  "mask_token": "[MASK]",
48
+ "model_max_length": 512,
 
49
  "pad_token": "[PAD]",
50
  "sep_token": "[SEP]",
51
  "strip_accents": null,
52
  "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
54
  "unk_token": "[UNK]"
55
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:95a3e587e4c5c2407bb753e89b20cf304de63395efd55d31a667ba4ea973f45f
3
  size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2691cf58a6cf91103a0142e11346406658b5b3396f59b3499bd7f6410ff7edf8
3
  size 5176
vocab.txt CHANGED
The diff for this file is too large to render. See raw diff