PinkiKumari22 commited on
Commit
b88812c
1 Parent(s): 8ede7d3

Upload TFBertForQuestionAnswering

Browse files
Files changed (3) hide show
  1. README.md +53 -0
  2. config.json +27 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: PinkiKumari22/FinalPretrainedModel
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: finetuned_qa
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
+ # finetuned_qa
14
+
15
+ This model is a fine-tuned version of [PinkiKumari22/FinalPretrainedModel](https://huggingface.co/PinkiKumari22/FinalPretrainedModel) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Train Loss: 2.7164
18
+ - Epoch: 1
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 16468, '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.01}
38
+ - training_precision: mixed_float16
39
+
40
+ ### Training results
41
+
42
+ | Train Loss | Epoch |
43
+ |:----------:|:-----:|
44
+ | 3.1490 | 0 |
45
+ | 2.7164 | 1 |
46
+
47
+
48
+ ### Framework versions
49
+
50
+ - Transformers 4.35.0
51
+ - TensorFlow 2.14.0
52
+ - Datasets 2.14.6
53
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "PinkiKumari22/FinalPretrainedModel",
3
+ "architectures": [
4
+ "BertForQuestionAnswering"
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
+ "is_decoder": true,
15
+ "layer_norm_eps": 1e-12,
16
+ "max_position_embeddings": 512,
17
+ "model_type": "bert",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 0,
21
+ "position_embedding_type": "absolute",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.35.0",
24
+ "type_vocab_size": 2,
25
+ "use_cache": true,
26
+ "vocab_size": 30522
27
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ff679daeec545622f1747c8f0d147362ec9f90d51bf07a2b151d7d6978d8994
3
+ size 435842000