dominicdecoco12 commited on
Commit
317cc46
·
verified ·
1 Parent(s): e9aeb83

Training in progress, step 500

Browse files
config.json CHANGED
@@ -1,50 +1,34 @@
1
  {
2
- "activation_dropout": 0.0,
3
- "activation_function": "gelu_new",
4
  "architectures": [
5
- "GPT2ForTokenClassification"
6
  ],
7
  "attention_probs_dropout_prob": 0.1,
8
- "attn_pdrop": 0.1,
9
- "bos_token_id": 0,
10
- "embd_pdrop": 0.1,
11
- "eos_token_id": 2,
12
  "hidden_act": "gelu",
13
  "hidden_dropout_prob": 0.1,
 
14
  "id2label": {
15
  "0": "O",
16
  "1": "B-Disease",
17
  "2": "I-Disease"
18
  },
19
  "initializer_range": 0.02,
20
- "intermediate_size": 4096,
21
  "label2id": {
22
  "B-Disease": 1,
23
  "I-Disease": 2,
24
  "O": 0
25
  },
26
  "layer_norm_eps": 1e-12,
27
- "layer_norm_epsilon": 1e-05,
28
- "layerdrop": 0.0,
29
- "model_type": "gpt2",
30
- "n_embd": 1024,
31
- "n_head": 16,
32
- "n_inner": null,
33
- "n_layer": 24,
34
- "n_positions": 1024,
35
- "pad_token_id": 1,
36
- "reorder_and_upcast_attn": false,
37
- "resid_pdrop": 0.1,
38
- "scale_attn_by_inverse_layer_idx": false,
39
- "scale_attn_weights": true,
40
- "scale_embedding": true,
41
- "summary_activation": null,
42
- "summary_first_dropout": 0.1,
43
- "summary_proj_to_labels": true,
44
- "summary_type": "cls_index",
45
- "summary_use_proj": true,
46
  "torch_dtype": "float32",
47
  "transformers_version": "4.51.2",
 
48
  "use_cache": true,
49
- "vocab_size": 42384
50
  }
 
1
  {
 
 
2
  "architectures": [
3
+ "BertForTokenClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
 
 
 
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
  "id2label": {
11
  "0": "O",
12
  "1": "B-Disease",
13
  "2": "I-Disease"
14
  },
15
  "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
  "label2id": {
18
  "B-Disease": 1,
19
  "I-Disease": 2,
20
  "O": 0
21
  },
22
  "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  "torch_dtype": "float32",
30
  "transformers_version": "4.51.2",
31
+ "type_vocab_size": 2,
32
  "use_cache": true,
33
+ "vocab_size": 28996
34
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:51817b9a6ae58470ed94919d1501c69fc9b8493d21299400453b122dbc170b13
3
- size 1387087524
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ee22ec9b645eb28341ef7dd5b7c499e62f099a2c57c85c6fbd00be3c8f4d624
3
+ size 430911284
special_tokens_map.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "bos_token": "<s>",
3
- "eos_token": "</s>",
4
- "pad_token": "<pad>",
5
- "sep_token": "</s>",
6
- "unk_token": "<unk>"
7
  }
 
1
  {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
  }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,31 +1,39 @@
1
  {
2
  "added_tokens_decoder": {
3
  "0": {
4
- "content": "<s>",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
10
  },
11
- "1": {
12
- "content": "<pad>",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
- "2": {
20
- "content": "</s>",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
24
  "single_word": false,
25
  "special": true
26
  },
27
- "3": {
28
- "content": "<unk>",
 
 
 
 
 
 
 
 
29
  "lstrip": false,
30
  "normalized": false,
31
  "rstrip": false,
@@ -33,13 +41,18 @@
33
  "special": true
34
  }
35
  },
36
- "bos_token": "<s>",
37
- "clean_up_tokenization_spaces": false,
38
- "eos_token": "</s>",
 
39
  "extra_special_tokens": {},
 
40
  "model_max_length": 1000000000000000019884624838656,
41
- "pad_token": "<pad>",
42
- "sep_token": "</s>",
43
- "tokenizer_class": "BioGptTokenizer",
44
- "unk_token": "<unk>"
 
 
 
45
  }
 
1
  {
2
  "added_tokens_decoder": {
3
  "0": {
4
+ "content": "[PAD]",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
10
  },
11
+ "100": {
12
+ "content": "[UNK]",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
+ "101": {
20
+ "content": "[CLS]",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
24
  "single_word": false,
25
  "special": true
26
  },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
  "lstrip": false,
38
  "normalized": false,
39
  "rstrip": false,
 
41
  "special": true
42
  }
43
  },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
  "extra_special_tokens": {},
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": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
  }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff