StaAhmed commited on
Commit
51a2ee6
1 Parent(s): e0fd4b9

Training in progress epoch 0

Browse files
Files changed (6) hide show
  1. README.md +8 -8
  2. config.json +17 -23
  3. special_tokens_map.json +35 -7
  4. tf_model.h5 +2 -2
  5. tokenizer.json +2 -2
  6. tokenizer_config.json +14 -15
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- license: mit
3
- base_model: timpal0l/mdeberta-v3-base-squad2
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
@@ -13,9 +13,9 @@ probably proofread and complete it, then remove this comment. -->
13
 
14
  # StaAhmed/Model_QA
15
 
16
- This model is a fine-tuned version of [timpal0l/mdeberta-v3-base-squad2](https://huggingface.co/timpal0l/mdeberta-v3-base-squad2) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Train Loss: 3.4553
19
  - Epoch: 0
20
 
21
  ## Model description
@@ -42,12 +42,12 @@ The following hyperparameters were used during training:
42
 
43
  | Train Loss | Epoch |
44
  |:----------:|:-----:|
45
- | 3.4553 | 0 |
46
 
47
 
48
  ### Framework versions
49
 
50
- - Transformers 4.35.2
51
  - TensorFlow 2.15.0
52
- - Datasets 2.17.0
53
- - Tokenizers 0.15.1
 
1
  ---
2
+ license: apache-2.0
3
+ base_model: Intel/dynamic_tinybert
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
 
13
 
14
  # StaAhmed/Model_QA
15
 
16
+ This model is a fine-tuned version of [Intel/dynamic_tinybert](https://huggingface.co/Intel/dynamic_tinybert) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 3.9951
19
  - Epoch: 0
20
 
21
  ## Model description
 
42
 
43
  | Train Loss | Epoch |
44
  |:----------:|:-----:|
45
+ | 3.9951 | 0 |
46
 
47
 
48
  ### Framework versions
49
 
50
+ - Transformers 4.37.2
51
  - TensorFlow 2.15.0
52
+ - Datasets 2.17.1
53
+ - Tokenizers 0.15.2
config.json CHANGED
@@ -1,35 +1,29 @@
1
  {
2
- "_name_or_path": "timpal0l/mdeberta-v3-base-squad2",
3
  "architectures": [
4
- "DebertaV2ForQuestionAnswering"
5
  ],
 
6
  "attention_probs_dropout_prob": 0.1,
7
- "hidden_act": "gelu",
 
 
 
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
10
  "initializer_range": 0.02,
11
  "intermediate_size": 3072,
12
- "layer_norm_eps": 1e-07,
13
  "max_position_embeddings": 512,
14
- "max_relative_positions": -1,
15
- "model_type": "deberta-v2",
16
- "norm_rel_ebd": "layer_norm",
17
  "num_attention_heads": 12,
18
- "num_hidden_layers": 12,
19
  "pad_token_id": 0,
20
- "pooler_dropout": 0,
21
- "pooler_hidden_act": "gelu",
22
- "pooler_hidden_size": 768,
23
- "pos_att_type": [
24
- "p2c",
25
- "c2p"
26
- ],
27
- "position_biased_input": false,
28
- "position_buckets": 256,
29
- "relative_attention": true,
30
- "share_att_key": true,
31
- "torch_dtype": "float32",
32
- "transformers_version": "4.35.2",
33
- "type_vocab_size": 0,
34
- "vocab_size": 251000
35
  }
 
1
  {
2
+ "_name_or_path": "Intel/dynamic_tinybert",
3
  "architectures": [
4
+ "BertForQuestionAnswering"
5
  ],
6
+ "attention_head_size": 26,
7
  "attention_probs_dropout_prob": 0.1,
8
+ "cell": {},
9
+ "classifier_dropout": null,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "relu",
12
  "hidden_dropout_prob": 0.1,
13
  "hidden_size": 768,
14
  "initializer_range": 0.02,
15
  "intermediate_size": 3072,
16
+ "layer_norm_eps": 1e-12,
17
  "max_position_embeddings": 512,
18
+ "model_type": "bert",
 
 
19
  "num_attention_heads": 12,
20
+ "num_hidden_layers": 6,
21
  "pad_token_id": 0,
22
+ "position_embedding_type": "absolute",
23
+ "pre_trained": "",
24
+ "structure": [],
25
+ "transformers_version": "4.37.2",
26
+ "type_vocab_size": 2,
27
+ "use_cache": true,
28
+ "vocab_size": 30522
 
 
 
 
 
 
 
 
29
  }
special_tokens_map.json CHANGED
@@ -1,9 +1,37 @@
1
  {
2
- "bos_token": "[CLS]",
3
- "cls_token": "[CLS]",
4
- "eos_token": "[SEP]",
5
- "mask_token": "[MASK]",
6
- "pad_token": "[PAD]",
7
- "sep_token": "[SEP]",
8
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  }
 
1
  {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
  }
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0fc5ce905a0d2519fbc32876fefa53af6b20fa47c42d5e56f3acb5647e5e839d
3
- size 1113165584
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b882c42a0804de1c8a4d9d699df16b235e1911e6f9fb3ce64e1079f81541a7c
3
+ size 265609448
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a1138eab70286f87e95bdf1fb4f1f173698ab5b130389032f399ea67b917bd07
3
- size 16316412
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e584a910b73d688ab7251fdc120d33bf7d717025d271b50029ea9058e8ca407
3
+ size 711659
tokenizer_config.json CHANGED
@@ -8,31 +8,31 @@
8
  "single_word": false,
9
  "special": true
10
  },
11
- "1": {
12
- "content": "[CLS]",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
- "2": {
20
- "content": "[SEP]",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
24
  "single_word": false,
25
  "special": true
26
  },
27
- "3": {
28
- "content": "[UNK]",
29
  "lstrip": false,
30
  "normalized": false,
31
  "rstrip": false,
32
  "single_word": false,
33
  "special": true
34
  },
35
- "250101": {
36
  "content": "[MASK]",
37
  "lstrip": false,
38
  "normalized": false,
@@ -41,18 +41,17 @@
41
  "special": true
42
  }
43
  },
44
- "bos_token": "[CLS]",
45
  "clean_up_tokenization_spaces": true,
46
  "cls_token": "[CLS]",
47
- "do_lower_case": false,
48
- "eos_token": "[SEP]",
49
  "mask_token": "[MASK]",
50
  "model_max_length": 1000000000000000019884624838656,
 
51
  "pad_token": "[PAD]",
52
  "sep_token": "[SEP]",
53
- "sp_model_kwargs": {},
54
- "split_by_punct": false,
55
- "tokenizer_class": "DebertaV2Tokenizer",
56
- "unk_token": "[UNK]",
57
- "vocab_type": "spm"
58
  }
 
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,
 
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
  "mask_token": "[MASK]",
49
  "model_max_length": 1000000000000000019884624838656,
50
+ "never_split": null,
51
  "pad_token": "[PAD]",
52
  "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
 
57
  }