aalogan commited on
Commit
30bb8e5
1 Parent(s): 3d62f70

Training in progress epoch 0

Browse files
Files changed (7) hide show
  1. README.md +53 -0
  2. config.json +63 -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: aalogan/bert-ner-nsm2
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
+ # aalogan/bert-ner-nsm2
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.4885
18
+ - Validation Loss: 0.2361
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: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 2982, '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}
39
+ - training_precision: float32
40
+
41
+ ### Training results
42
+
43
+ | Train Loss | Validation Loss | Epoch |
44
+ |:----------:|:---------------:|:-----:|
45
+ | 0.4885 | 0.2361 | 0 |
46
+
47
+
48
+ ### Framework versions
49
+
50
+ - Transformers 4.18.0
51
+ - TensorFlow 2.8.0
52
+ - Datasets 2.1.0
53
+ - Tokenizers 0.12.1
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-ORG",
15
+ "10": "I-PER",
16
+ "11": "B-ORT",
17
+ "12": "I-ORT",
18
+ "13": "B-DTR",
19
+ "14": "I-DTR",
20
+ "15": "B-ACL",
21
+ "16": "I-ACL",
22
+ "2": "I-ORG",
23
+ "3": "B-DTA",
24
+ "4": "I-DTA",
25
+ "5": "B-ACJ",
26
+ "6": "I-ACJ",
27
+ "7": "B-ROL",
28
+ "8": "I-ROL",
29
+ "9": "B-PER"
30
+ },
31
+ "initializer_range": 0.02,
32
+ "intermediate_size": 3072,
33
+ "label2id": {
34
+ "B-ACJ": "5",
35
+ "B-ACL": "15",
36
+ "B-DTA": "3",
37
+ "B-DTR": "13",
38
+ "B-ORG": "1",
39
+ "B-ORT": "11",
40
+ "B-PER": "9",
41
+ "B-ROL": "7",
42
+ "I-ACJ": "6",
43
+ "I-ACL": "16",
44
+ "I-DTA": "4",
45
+ "I-DTR": "14",
46
+ "I-ORG": "2",
47
+ "I-ORT": "12",
48
+ "I-PER": "10",
49
+ "I-ROL": "8",
50
+ "O": "0"
51
+ },
52
+ "layer_norm_eps": 1e-12,
53
+ "max_position_embeddings": 512,
54
+ "model_type": "bert",
55
+ "num_attention_heads": 12,
56
+ "num_hidden_layers": 12,
57
+ "pad_token_id": 0,
58
+ "position_embedding_type": "absolute",
59
+ "transformers_version": "4.18.0",
60
+ "type_vocab_size": 2,
61
+ "use_cache": true,
62
+ "vocab_size": 28996
63
+ }
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:a535a4a302e81677c93201930f2f6b8ec20b97751c950f70b72f7a4fc80e5c4e
3
+ size 431204428
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