badokorach commited on
Commit
834ff19
1 Parent(s): 7b9fbf0

Training in progress epoch 0

Browse files
Files changed (6) hide show
  1. README.md +7 -20
  2. config.json +21 -22
  3. special_tokens_map.json +3 -11
  4. tf_model.h5 +2 -2
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +16 -17
README.md CHANGED
@@ -1,5 +1,6 @@
1
  ---
2
- base_model: twmkn9/albert-base-v2-squad2
 
3
  tags:
4
  - generated_from_keras_callback
5
  model-index:
@@ -12,11 +13,11 @@ probably proofread and complete it, then remove this comment. -->
12
 
13
  # badokorach/mobilebert-uncased-finetuned-agic-031223
14
 
15
- This model is a fine-tuned version of [twmkn9/albert-base-v2-squad2](https://huggingface.co/twmkn9/albert-base-v2-squad2) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
- - Train Loss: 0.1807
18
  - Validation Loss: 0.0
19
- - Epoch: 14
20
 
21
  ## Model description
22
 
@@ -35,28 +36,14 @@ More information needed
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
- - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 1e-05, 'decay_steps': 2265, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.02}
39
  - training_precision: mixed_float16
40
 
41
  ### Training results
42
 
43
  | Train Loss | Validation Loss | Epoch |
44
  |:----------:|:---------------:|:-----:|
45
- | 2.7349 | 0.0 | 0 |
46
- | 1.9998 | 0.0 | 1 |
47
- | 1.5750 | 0.0 | 2 |
48
- | 1.2249 | 0.0 | 3 |
49
- | 0.9387 | 0.0 | 4 |
50
- | 0.7156 | 0.0 | 5 |
51
- | 0.5497 | 0.0 | 6 |
52
- | 0.4392 | 0.0 | 7 |
53
- | 0.3686 | 0.0 | 8 |
54
- | 0.3066 | 0.0 | 9 |
55
- | 0.2670 | 0.0 | 10 |
56
- | 0.2375 | 0.0 | 11 |
57
- | 0.2141 | 0.0 | 12 |
58
- | 0.1966 | 0.0 | 13 |
59
- | 0.1807 | 0.0 | 14 |
60
 
61
 
62
  ### Framework versions
 
1
  ---
2
+ license: mit
3
+ base_model: csarron/mobilebert-uncased-squad-v2
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
 
13
 
14
  # badokorach/mobilebert-uncased-finetuned-agic-031223
15
 
16
+ This model is a fine-tuned version of [csarron/mobilebert-uncased-squad-v2](https://huggingface.co/csarron/mobilebert-uncased-squad-v2) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 2.8297
19
  - Validation Loss: 0.0
20
+ - Epoch: 0
21
 
22
  ## Model description
23
 
 
36
  ### Training hyperparameters
37
 
38
  The following hyperparameters were used during training:
39
+ - optimizer: {'inner_optimizer': {'module': 'transformers.optimization_tf', 'class_name': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 1e-05, 'decay_steps': 1725, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.8999999761581421, 'beta_2': 0.9990000128746033, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.02}, 'registered_name': 'AdamWeightDecay'}, 'dynamic': True, 'initial_scale': 32768.0, 'dynamic_growth_steps': 2000}
40
  - training_precision: mixed_float16
41
 
42
  ### Training results
43
 
44
  | Train Loss | Validation Loss | Epoch |
45
  |:----------:|:---------------:|:-----:|
46
+ | 2.8297 | 0.0 | 0 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
 
49
  ### Framework versions
config.json CHANGED
@@ -1,33 +1,32 @@
1
  {
2
- "_name_or_path": "twmkn9/albert-base-v2-squad2",
3
  "architectures": [
4
- "AlbertForQuestionAnswering"
5
  ],
6
- "attention_probs_dropout_prob": 0,
7
- "bos_token_id": 2,
8
- "classifier_dropout_prob": 0.1,
9
- "down_scale_factor": 1,
10
  "embedding_size": 128,
11
- "eos_token_id": 3,
12
- "gap_size": 0,
13
- "hidden_act": "gelu_new",
14
- "hidden_dropout_prob": 0,
15
- "hidden_size": 768,
16
  "initializer_range": 0.02,
17
- "inner_group_num": 1,
18
- "intermediate_size": 3072,
 
19
  "layer_norm_eps": 1e-12,
20
  "max_position_embeddings": 512,
21
- "model_type": "albert",
22
- "net_structure_type": 0,
23
- "num_attention_heads": 12,
24
- "num_hidden_groups": 1,
25
- "num_hidden_layers": 12,
26
- "num_memory_blocks": 0,
27
- "output_past": true,
28
  "pad_token_id": 0,
29
- "position_embedding_type": "absolute",
30
  "transformers_version": "4.35.2",
 
 
31
  "type_vocab_size": 2,
32
- "vocab_size": 30000
 
 
33
  }
 
1
  {
2
+ "_name_or_path": "csarron/mobilebert-uncased-squad-v2",
3
  "architectures": [
4
+ "MobileBertForQuestionAnswering"
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_activation": false,
8
+ "classifier_dropout": null,
 
9
  "embedding_size": 128,
10
+ "hidden_act": "relu",
11
+ "hidden_dropout_prob": 0.0,
12
+ "hidden_size": 512,
 
 
13
  "initializer_range": 0.02,
14
+ "intermediate_size": 512,
15
+ "intra_bottleneck_size": 128,
16
+ "key_query_shared_bottleneck": true,
17
  "layer_norm_eps": 1e-12,
18
  "max_position_embeddings": 512,
19
+ "model_type": "mobilebert",
20
+ "normalization_type": "no_norm",
21
+ "num_attention_heads": 4,
22
+ "num_feedforward_networks": 4,
23
+ "num_hidden_layers": 24,
 
 
24
  "pad_token_id": 0,
 
25
  "transformers_version": "4.35.2",
26
+ "trigram_input": true,
27
+ "true_hidden_size": 128,
28
  "type_vocab_size": 2,
29
+ "use_bottleneck": true,
30
+ "use_bottleneck_attention": false,
31
+ "vocab_size": 30522
32
  }
special_tokens_map.json CHANGED
@@ -1,15 +1,7 @@
1
  {
2
- "bos_token": "[CLS]",
3
  "cls_token": "[CLS]",
4
- "eos_token": "[SEP]",
5
- "mask_token": {
6
- "content": "[MASK]",
7
- "lstrip": true,
8
- "normalized": false,
9
- "rstrip": false,
10
- "single_word": false
11
- },
12
- "pad_token": "<pad>",
13
  "sep_token": "[SEP]",
14
- "unk_token": "<unk>"
15
  }
 
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 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:007ce6aaa2834e6e6e2540f1736ff882f841556c830a1207333e695357e976a2
3
- size 44417688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f23afd3be7223edd33da9ffc3684c3e14fd509e78216bf08fee300bae9181fe2
3
+ size 99822192
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,22 +1,22 @@
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
- "1": {
12
- "content": "<unk>",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
- "2": {
20
  "content": "[CLS]",
21
  "lstrip": false,
22
  "normalized": false,
@@ -24,7 +24,7 @@
24
  "single_word": false,
25
  "special": true
26
  },
27
- "3": {
28
  "content": "[SEP]",
29
  "lstrip": false,
30
  "normalized": false,
@@ -32,28 +32,27 @@
32
  "single_word": false,
33
  "special": true
34
  },
35
- "4": {
36
  "content": "[MASK]",
37
- "lstrip": true,
38
  "normalized": false,
39
  "rstrip": false,
40
  "single_word": false,
41
  "special": true
42
  }
43
  },
44
- "bos_token": "[CLS]",
45
  "clean_up_tokenization_spaces": true,
46
  "cls_token": "[CLS]",
 
47
  "do_lower_case": true,
48
- "eos_token": "[SEP]",
49
- "keep_accents": false,
50
  "mask_token": "[MASK]",
51
- "max_len": 512,
52
- "model_max_length": 512,
53
- "pad_token": "<pad>",
54
- "remove_space": true,
55
  "sep_token": "[SEP]",
56
- "sp_model_kwargs": {},
57
- "tokenizer_class": "AlbertTokenizer",
58
- "unk_token": "<unk>"
 
59
  }
 
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,
 
24
  "single_word": false,
25
  "special": true
26
  },
27
+ "102": {
28
  "content": "[SEP]",
29
  "lstrip": false,
30
  "normalized": 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_basic_tokenize": true,
47
  "do_lower_case": true,
48
+ "full_tokenizer_file": null,
 
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": "MobileBertTokenizer",
57
+ "unk_token": "[UNK]"
58
  }