jameswrbrookes commited on
Commit
8e4a029
·
1 Parent(s): de1643e

Training in progress epoch 0

Browse files
Files changed (7) hide show
  1. README.md +53 -0
  2. config.json +75 -0
  3. special_tokens_map.json +1 -0
  4. tf_model.h5 +3 -0
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +1 -0
  7. vocab.txt +0 -0
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: jameswrbrookes/bert-finetuned-chunking
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
+ probably proofread and complete it, then remove this comment. -->
12
+
13
+ # jameswrbrookes/bert-finetuned-chunking
14
+
15
+ This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Train Loss: 0.3336
18
+ - Validation Loss: 0.1877
19
+ - Epoch: 0
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - optimizer: {'inner_optimizer': {'class_name': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 2631, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}}, 'dynamic': True, 'initial_scale': 32768.0, 'dynamic_growth_steps': 2000}
39
+ - training_precision: mixed_float16
40
+
41
+ ### Training results
42
+
43
+ | Train Loss | Validation Loss | Epoch |
44
+ |:----------:|:---------------:|:-----:|
45
+ | 0.3336 | 0.1877 | 0 |
46
+
47
+
48
+ ### Framework versions
49
+
50
+ - Transformers 4.19.4
51
+ - TensorFlow 2.8.2
52
+ - Datasets 2.2.2
53
+ - Tokenizers 0.12.1
config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "O",
14
+ "1": "B-ADJP",
15
+ "10": "I-LST",
16
+ "11": "B-NP",
17
+ "12": "I-NP",
18
+ "13": "B-PP",
19
+ "14": "I-PP",
20
+ "15": "B-PRT",
21
+ "16": "I-PRT",
22
+ "17": "B-SBAR",
23
+ "18": "I-SBAR",
24
+ "19": "B-UCP",
25
+ "2": "I-ADJP",
26
+ "20": "I-UCP",
27
+ "21": "B-VP",
28
+ "22": "I-VP",
29
+ "3": "B-ADVP",
30
+ "4": "I-ADVP",
31
+ "5": "B-CONJP",
32
+ "6": "I-CONJP",
33
+ "7": "B-INTJ",
34
+ "8": "I-INTJ",
35
+ "9": "B-LST"
36
+ },
37
+ "initializer_range": 0.02,
38
+ "intermediate_size": 3072,
39
+ "label2id": {
40
+ "B-ADJP": "1",
41
+ "B-ADVP": "3",
42
+ "B-CONJP": "5",
43
+ "B-INTJ": "7",
44
+ "B-LST": "9",
45
+ "B-NP": "11",
46
+ "B-PP": "13",
47
+ "B-PRT": "15",
48
+ "B-SBAR": "17",
49
+ "B-UCP": "19",
50
+ "B-VP": "21",
51
+ "I-ADJP": "2",
52
+ "I-ADVP": "4",
53
+ "I-CONJP": "6",
54
+ "I-INTJ": "8",
55
+ "I-LST": "10",
56
+ "I-NP": "12",
57
+ "I-PP": "14",
58
+ "I-PRT": "16",
59
+ "I-SBAR": "18",
60
+ "I-UCP": "20",
61
+ "I-VP": "22",
62
+ "O": "0"
63
+ },
64
+ "layer_norm_eps": 1e-12,
65
+ "max_position_embeddings": 512,
66
+ "model_type": "bert",
67
+ "num_attention_heads": 12,
68
+ "num_hidden_layers": 12,
69
+ "pad_token_id": 0,
70
+ "position_embedding_type": "absolute",
71
+ "transformers_version": "4.19.4",
72
+ "type_vocab_size": 2,
73
+ "use_cache": true,
74
+ "vocab_size": 28996
75
+ }
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14319eb012d8bec6d05d76f7a035484d9fce477103266ac9b28259cc61026a4a
3
+ size 431235172
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": false, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "bert-base-cased", "tokenizer_class": "BertTokenizer"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff