quastrinos commited on
Commit
80add85
1 Parent(s): 1b909fe

Upload TFDebertaV2ForMultipleChoice

Browse files
Files changed (3) hide show
  1. README.md +57 -0
  2. config.json +34 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: microsoft/deberta-v3-large
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: TF-40k-openbook-finetuned-deberta-v3-large-mcqa-TPU-v2
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
12
+ probably proofread and complete it, then remove this comment. -->
13
+
14
+ # TF-40k-openbook-finetuned-deberta-v3-large-mcqa-TPU-v2
15
+
16
+ This model is a fine-tuned version of [microsoft/deberta-v3-large](https://huggingface.co/microsoft/deberta-v3-large) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.6671
19
+ - Validation Loss: 0.9061
20
+ - Train Map@3: 0.8095
21
+ - Epoch: 2
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', 'weight_decay': 0.01, 'clipnorm': 1, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': False, 'is_legacy_optimizer': False, 'learning_rate': {'class_name': 'CosineDecay', 'config': {'initial_learning_rate': 2e-06, 'decay_steps': 2826, 'alpha': 5e-09, 'name': None}}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
41
+ - training_precision: mixed_bfloat16
42
+
43
+ ### Training results
44
+
45
+ | Train Loss | Validation Loss | Train Map@3 | Epoch |
46
+ |:----------:|:---------------:|:-----------:|:-----:|
47
+ | 0.9561 | 0.8899 | 0.8073 | 0 |
48
+ | 0.7125 | 0.8513 | 0.8244 | 1 |
49
+ | 0.6671 | 0.9061 | 0.8095 | 2 |
50
+
51
+
52
+ ### Framework versions
53
+
54
+ - Transformers 4.35.0.dev0
55
+ - TensorFlow 2.12.0
56
+ - Datasets 2.14.5
57
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/deberta-v3-large",
3
+ "architectures": [
4
+ "DebertaV2ForMultipleChoice"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 1024,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 4096,
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": 16,
18
+ "num_hidden_layers": 24,
19
+ "pad_token_id": 0,
20
+ "pooler_dropout": 0,
21
+ "pooler_hidden_act": "gelu",
22
+ "pooler_hidden_size": 1024,
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
+ "transformers_version": "4.35.0.dev0",
32
+ "type_vocab_size": 0,
33
+ "vocab_size": 128100
34
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f3446d414bcdba8a2c809e0bfababdc9dcf9329a43c79b91e6404207993854a
3
+ size 1740807208