Sanyam52 commited on
Commit
ec30b6e
1 Parent(s): d03ecca

Training in progress epoch 0

Browse files
Files changed (7) hide show
  1. README.md +55 -0
  2. config.json +123 -0
  3. special_tokens_map.json +7 -0
  4. tf_model.h5 +3 -0
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +55 -0
  7. vocab.txt +0 -0
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-base-cased
5
+ tags:
6
+ - generated_from_keras_callback
7
+ model-index:
8
+ - name: Sanyam52/bert-pos-tagging
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
13
+ probably proofread and complete it, then remove this comment. -->
14
+
15
+ # Sanyam52/bert-pos-tagging
16
+
17
+ This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Train Loss: 2.4190
20
+ - Validation Loss: 1.2434
21
+ - Epoch: 0
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'transformers.optimization_tf', 'class_name': 'WarmUp', 'config': {'initial_learning_rate': 2e-05, 'decay_schedule_fn': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 1634, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'warmup_steps': 1000, 'power': 1.0, 'name': None}, 'registered_name': 'WarmUp'}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
41
+ - training_precision: mixed_float16
42
+
43
+ ### Training results
44
+
45
+ | Train Loss | Validation Loss | Epoch |
46
+ |:----------:|:---------------:|:-----:|
47
+ | 2.4190 | 1.2434 | 0 |
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.44.2
53
+ - TensorFlow 2.17.0
54
+ - Datasets 3.0.0
55
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
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": "\"",
14
+ "1": "''",
15
+ "2": "#",
16
+ "3": "$",
17
+ "4": "(",
18
+ "5": ")",
19
+ "6": ",",
20
+ "7": ".",
21
+ "8": ":",
22
+ "9": "``",
23
+ "10": "CC",
24
+ "11": "CD",
25
+ "12": "DT",
26
+ "13": "EX",
27
+ "14": "FW",
28
+ "15": "IN",
29
+ "16": "JJ",
30
+ "17": "JJR",
31
+ "18": "JJS",
32
+ "19": "LS",
33
+ "20": "MD",
34
+ "21": "NN",
35
+ "22": "NNP",
36
+ "23": "NNPS",
37
+ "24": "NNS",
38
+ "25": "NN|SYM",
39
+ "26": "PDT",
40
+ "27": "POS",
41
+ "28": "PRP",
42
+ "29": "PRP$",
43
+ "30": "RB",
44
+ "31": "RBR",
45
+ "32": "RBS",
46
+ "33": "RP",
47
+ "34": "SYM",
48
+ "35": "TO",
49
+ "36": "UH",
50
+ "37": "VB",
51
+ "38": "VBD",
52
+ "39": "VBG",
53
+ "40": "VBN",
54
+ "41": "VBP",
55
+ "42": "VBZ",
56
+ "43": "WDT",
57
+ "44": "WP",
58
+ "45": "WP$",
59
+ "46": "WRB"
60
+ },
61
+ "initializer_range": 0.02,
62
+ "intermediate_size": 3072,
63
+ "label2id": {
64
+ "\"": 0,
65
+ "#": 2,
66
+ "$": 3,
67
+ "''": 1,
68
+ "(": 4,
69
+ ")": 5,
70
+ ",": 6,
71
+ ".": 7,
72
+ ":": 8,
73
+ "CC": 10,
74
+ "CD": 11,
75
+ "DT": 12,
76
+ "EX": 13,
77
+ "FW": 14,
78
+ "IN": 15,
79
+ "JJ": 16,
80
+ "JJR": 17,
81
+ "JJS": 18,
82
+ "LS": 19,
83
+ "MD": 20,
84
+ "NN": 21,
85
+ "NNP": 22,
86
+ "NNPS": 23,
87
+ "NNS": 24,
88
+ "NN|SYM": 25,
89
+ "PDT": 26,
90
+ "POS": 27,
91
+ "PRP": 28,
92
+ "PRP$": 29,
93
+ "RB": 30,
94
+ "RBR": 31,
95
+ "RBS": 32,
96
+ "RP": 33,
97
+ "SYM": 34,
98
+ "TO": 35,
99
+ "UH": 36,
100
+ "VB": 37,
101
+ "VBD": 38,
102
+ "VBG": 39,
103
+ "VBN": 40,
104
+ "VBP": 41,
105
+ "VBZ": 42,
106
+ "WDT": 43,
107
+ "WP": 44,
108
+ "WP$": 45,
109
+ "WRB": 46,
110
+ "``": 9
111
+ },
112
+ "layer_norm_eps": 1e-12,
113
+ "max_position_embeddings": 512,
114
+ "model_type": "bert",
115
+ "num_attention_heads": 12,
116
+ "num_hidden_layers": 12,
117
+ "pad_token_id": 0,
118
+ "position_embedding_type": "absolute",
119
+ "transformers_version": "4.44.2",
120
+ "type_vocab_size": 2,
121
+ "use_cache": true,
122
+ "vocab_size": 28996
123
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e538de4d8aeeac2b08595dd3721035ecad8917a825e99e8aca355c559a63aef4
3
+ size 431296644
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": false,
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
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff