mallikrao2 commited on
Commit
4944eb5
1 Parent(s): 04995a6

Upload 7 files

Browse files
Files changed (7) hide show
  1. README.md +74 -0
  2. config.json +25 -0
  3. special_tokens_map.json +7 -0
  4. tf_model.h5 +3 -0
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +13 -0
  7. vocab.txt +0 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: mallikrao2/qa-finetuned-swag
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
+ # mallikrao2/qa-finetuned-swag
14
+
15
+ This model is a fine-tuned version of [mallikrao2/sQuad_bertmodel1_](https://huggingface.co/mallikrao2/sQuad_bertmodel1_) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Train Loss: 0.0020
18
+ - Train Accuracy: 0.9994
19
+ - Validation Loss: 1.9750
20
+ - Validation Accuracy: 0.7508
21
+ - Epoch: 19
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': 'Adam', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 5e-05, 'decay_steps': 66860, '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}
41
+ - training_precision: float32
42
+
43
+ ### Training results
44
+
45
+ | Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
46
+ |:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
47
+ | 0.8405 | 0.6630 | 0.6156 | 0.7596 | 0 |
48
+ | 0.4697 | 0.8233 | 0.6102 | 0.7643 | 1 |
49
+ | 0.2479 | 0.9087 | 0.7102 | 0.7573 | 2 |
50
+ | 0.1571 | 0.9439 | 0.8434 | 0.7482 | 3 |
51
+ | 0.1139 | 0.9599 | 1.0923 | 0.7453 | 4 |
52
+ | 0.0881 | 0.9698 | 1.0614 | 0.7421 | 5 |
53
+ | 0.0705 | 0.9758 | 1.1311 | 0.7412 | 6 |
54
+ | 0.0577 | 0.9802 | 1.1761 | 0.7387 | 7 |
55
+ | 0.0453 | 0.9845 | 1.3310 | 0.7446 | 8 |
56
+ | 0.0379 | 0.9869 | 1.3076 | 0.7361 | 9 |
57
+ | 0.0301 | 0.9898 | 1.3147 | 0.7434 | 10 |
58
+ | 0.0228 | 0.9923 | 1.6641 | 0.7388 | 11 |
59
+ | 0.0195 | 0.9932 | 1.6168 | 0.7397 | 12 |
60
+ | 0.0165 | 0.9948 | 1.6042 | 0.7458 | 13 |
61
+ | 0.0118 | 0.9960 | 1.6922 | 0.7426 | 14 |
62
+ | 0.0098 | 0.9970 | 1.7052 | 0.7449 | 15 |
63
+ | 0.0059 | 0.9982 | 1.8137 | 0.7453 | 16 |
64
+ | 0.0040 | 0.9986 | 1.9369 | 0.7504 | 17 |
65
+ | 0.0032 | 0.9991 | 1.9089 | 0.7498 | 18 |
66
+ | 0.0020 | 0.9994 | 1.9750 | 0.7508 | 19 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.29.2
72
+ - TensorFlow 2.8.0
73
+ - Datasets 2.12.0
74
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mallikrao2/sQuad_bertmodel1_",
3
+ "architectures": [
4
+ "BertForMultipleChoice"
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
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "transformers_version": "4.29.2",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 30522
25
+ }
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:ad62e5372fad64bd0524190d1c8b287cf32a2e0cfc1df099fa64e9e869db15aa
3
+ size 438203732
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff