shubhamgantayat commited on
Commit
a421780
·
verified ·
1 Parent(s): 5b34697

Training in progress, epoch 1

Browse files
config.json CHANGED
@@ -1,69 +1,36 @@
1
  {
2
- "_name_or_path": "shubhamgantayat/my_pii_model_gpt_2",
3
- "activation_function": "gelu_new",
4
  "architectures": [
5
- "GPT2ForTokenClassification"
6
  ],
7
- "attn_pdrop": 0.1,
8
- "bos_token_id": 50256,
9
- "embd_pdrop": 0.1,
10
- "eos_token_id": 50256,
 
 
11
  "id2label": {
12
- "0": "I-STREET_ADDRESS",
13
- "1": "I-ID_NUM",
14
- "2": "I-NAME_STUDENT",
15
- "3": "B-PHONE_NUM",
16
- "4": "B-USERNAME",
17
- "5": "B-EMAIL",
18
- "6": "I-PHONE_NUM",
19
- "7": "O",
20
- "8": "B-STREET_ADDRESS",
21
- "9": "B-URL_PERSONAL",
22
- "10": "I-URL_PERSONAL",
23
- "11": "B-ID_NUM",
24
- "12": "B-NAME_STUDENT"
25
  },
26
  "initializer_range": 0.02,
 
27
  "label2id": {
28
- "B-EMAIL": 5,
29
- "B-ID_NUM": 11,
30
- "B-NAME_STUDENT": 12,
31
- "B-PHONE_NUM": 3,
32
- "B-STREET_ADDRESS": 8,
33
- "B-URL_PERSONAL": 9,
34
- "B-USERNAME": 4,
35
- "I-ID_NUM": 1,
36
- "I-NAME_STUDENT": 2,
37
- "I-PHONE_NUM": 6,
38
- "I-STREET_ADDRESS": 0,
39
- "I-URL_PERSONAL": 10,
40
- "O": 7
41
- },
42
- "layer_norm_epsilon": 1e-05,
43
- "model_type": "gpt2",
44
- "n_ctx": 1024,
45
- "n_embd": 768,
46
- "n_head": 12,
47
- "n_inner": null,
48
- "n_layer": 12,
49
- "n_positions": 1024,
50
- "reorder_and_upcast_attn": false,
51
- "resid_pdrop": 0.1,
52
- "scale_attn_by_inverse_layer_idx": false,
53
- "scale_attn_weights": true,
54
- "summary_activation": null,
55
- "summary_first_dropout": 0.1,
56
- "summary_proj_to_labels": true,
57
- "summary_type": "cls_index",
58
- "summary_use_proj": true,
59
- "task_specific_params": {
60
- "text-generation": {
61
- "do_sample": true,
62
- "max_length": 50
63
- }
64
  },
 
 
 
 
 
 
 
65
  "torch_dtype": "float32",
66
  "transformers_version": "4.38.2",
 
67
  "use_cache": true,
68
- "vocab_size": 50257
69
  }
 
1
  {
2
+ "_name_or_path": "google-bert/bert-large-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": 1024,
12
  "id2label": {
13
+ "0": "O",
14
+ "1": "B-CHEMICAL",
15
+ "2": "I-CHEMICAL"
 
 
 
 
 
 
 
 
 
 
16
  },
17
  "initializer_range": 0.02,
18
+ "intermediate_size": 4096,
19
  "label2id": {
20
+ "B-CHEMICAL": 1,
21
+ "I-CHEMICAL": 2,
22
+ "O": 0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  },
24
+ "layer_norm_eps": 1e-12,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "bert",
27
+ "num_attention_heads": 16,
28
+ "num_hidden_layers": 24,
29
+ "pad_token_id": 0,
30
+ "position_embedding_type": "absolute",
31
  "torch_dtype": "float32",
32
  "transformers_version": "4.38.2",
33
+ "type_vocab_size": 2,
34
  "use_cache": true,
35
+ "vocab_size": 30522
36
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:78365c6438b0395b4edae75cba9944facdc62dc0ccfa3deef0a73c1d87edd617
3
- size 497814348
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75367bea95c9fae99b164ae6613353b33561e75fcb27a8e816194e43c47ed2d8
3
+ size 1336428268
runs/Apr15_07-08-01_49dea0775c7f/events.out.tfevents.1713164882.49dea0775c7f.185.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:227adc7f10d11bf1bfa836318585575f66e1e89c7abd800eb55b3fa8c533016b
3
+ size 4785
runs/Apr15_07-08-21_49dea0775c7f/events.out.tfevents.1713164901.49dea0775c7f.185.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a73510e640f2f058dca711a809fd1e22914fce4cfa4394b2c7d09e9a27a4064a
3
+ size 5267
special_tokens_map.json CHANGED
@@ -1,18 +1,6 @@
1
  {
2
- "bos_token": {
3
- "content": "<|endoftext|>",
4
- "lstrip": false,
5
- "normalized": true,
6
- "rstrip": false,
7
- "single_word": false
8
- },
9
- "eos_token": {
10
- "content": "<|endoftext|>",
11
- "lstrip": false,
12
- "normalized": true,
13
- "rstrip": false,
14
- "single_word": false
15
- },
16
  "pad_token": {
17
  "content": "[PAD]",
18
  "lstrip": false,
@@ -20,11 +8,6 @@
20
  "rstrip": false,
21
  "single_word": false
22
  },
23
- "unk_token": {
24
- "content": "<|endoftext|>",
25
- "lstrip": false,
26
- "normalized": true,
27
- "rstrip": false,
28
- "single_word": false
29
- }
30
  }
 
1
  {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
 
 
 
 
 
 
 
 
 
 
 
 
4
  "pad_token": {
5
  "content": "[PAD]",
6
  "lstrip": false,
 
8
  "rstrip": false,
9
  "single_word": false
10
  },
11
+ "sep_token": "[SEP]",
12
+ "unk_token": "[UNK]"
 
 
 
 
 
13
  }
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,16 +1,39 @@
1
  {
2
- "add_prefix_space": true,
3
  "added_tokens_decoder": {
4
- "50256": {
5
- "content": "<|endoftext|>",
6
  "lstrip": false,
7
- "normalized": true,
8
  "rstrip": false,
9
  "single_word": false,
10
  "special": true
11
  },
12
- "50257": {
13
- "content": "[PAD]",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  "lstrip": false,
15
  "normalized": false,
16
  "rstrip": false,
@@ -18,15 +41,15 @@
18
  "special": true
19
  }
20
  },
21
- "bos_token": "<|endoftext|>",
22
  "clean_up_tokenization_spaces": true,
23
- "eos_token": "<|endoftext|>",
24
- "max_length": 1024,
25
- "model_max_length": 1024,
 
26
  "pad_token": "[PAD]",
27
- "stride": 0,
28
- "tokenizer_class": "GPT2Tokenizer",
29
- "truncation_side": "right",
30
- "truncation_strategy": "longest_first",
31
- "unk_token": "<|endoftext|>"
32
  }
 
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_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:833730114593cda1e55abb055be521a2e929a3cb3c37a4ee4ef59b9b09ddf58e
3
  size 4984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1084e7de888274ddc87d31bd540978e580582d484e5c94bfefc690032859c32e
3
  size 4984
vocab.txt ADDED
The diff for this file is too large to render. See raw diff