nielsr HF staff commited on
Commit
81916d2
1 Parent(s): bcb8119

Upload TF model

Browse files
Files changed (2) hide show
  1. config.json +63 -59
  2. tf_model.h5 +2 -2
config.json CHANGED
@@ -1,59 +1,63 @@
1
- {
2
- "aggregation_loss_weight": 1.0,
3
- "aggregation_temperature": 1.0,
4
- "allow_empty_column_selection": false,
5
- "answer_loss_cutoff": null,
6
- "answer_loss_importance": 1.0,
7
- "architectures": [
8
- "TapasForQuestionAnswering"
9
- ],
10
- "attention_probs_dropout_prob": 0.1,
11
- "average_approximation_function": "ratio",
12
- "average_logits_per_cell": false,
13
- "cell_selection_preference": null,
14
- "disable_per_token_loss": false,
15
- "gradient_checkpointing": false,
16
- "hidden_act": "gelu",
17
- "hidden_dropout_prob": 0.1,
18
- "hidden_size": 768,
19
- "huber_loss_delta": null,
20
- "init_cell_selection_weights_to_zero": false,
21
- "initializer_range": 0.02,
22
- "intermediate_size": 3072,
23
- "layer_norm_eps": 1e-12,
24
- "max_num_columns": 32,
25
- "max_num_rows": 64,
26
- "max_position_embeddings": 1024,
27
- "model_type": "tapas",
28
- "num_aggregation_labels": 0,
29
- "num_attention_heads": 12,
30
- "num_hidden_layers": 12,
31
- "pad_token_id": 0,
32
- "positive_label_weight": 10.0,
33
- "reset_position_index_per_cell": true,
34
- "select_one_column": true,
35
- "softmax_temperature": 1.0,
36
- "type_vocab_size": [
37
- 3,
38
- 256,
39
- 256,
40
- 2,
41
- 256,
42
- 256,
43
- 10
44
- ],
45
- "type_vocab_sizes": [
46
- 3,
47
- 256,
48
- 256,
49
- 2,
50
- 256,
51
- 256,
52
- 10
53
- ],
54
- "use_answer_as_supervision": null,
55
- "use_gumbel_for_aggregation": false,
56
- "use_gumbel_for_cells": false,
57
- "use_normalized_answer_loss": false,
58
- "vocab_size": 30522
59
- }
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/tapas-base-finetuned-sqa",
3
+ "aggregation_labels": null,
4
+ "aggregation_loss_weight": 1.0,
5
+ "aggregation_temperature": 1.0,
6
+ "allow_empty_column_selection": false,
7
+ "answer_loss_cutoff": null,
8
+ "answer_loss_importance": 1.0,
9
+ "architectures": [
10
+ "TapasForQuestionAnswering"
11
+ ],
12
+ "attention_probs_dropout_prob": 0.1,
13
+ "average_approximation_function": "ratio",
14
+ "average_logits_per_cell": false,
15
+ "cell_selection_preference": null,
16
+ "disable_per_token_loss": false,
17
+ "gradient_checkpointing": false,
18
+ "hidden_act": "gelu",
19
+ "hidden_dropout_prob": 0.1,
20
+ "hidden_size": 768,
21
+ "huber_loss_delta": null,
22
+ "init_cell_selection_weights_to_zero": false,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "layer_norm_eps": 1e-12,
26
+ "max_num_columns": 32,
27
+ "max_num_rows": 64,
28
+ "max_position_embeddings": 1024,
29
+ "model_type": "tapas",
30
+ "no_aggregation_label_index": null,
31
+ "num_aggregation_labels": 0,
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 12,
34
+ "pad_token_id": 0,
35
+ "positive_label_weight": 10.0,
36
+ "reset_position_index_per_cell": true,
37
+ "select_one_column": true,
38
+ "softmax_temperature": 1.0,
39
+ "transformers_version": "4.13.0.dev0",
40
+ "type_vocab_size": [
41
+ 3,
42
+ 256,
43
+ 256,
44
+ 2,
45
+ 256,
46
+ 256,
47
+ 10
48
+ ],
49
+ "type_vocab_sizes": [
50
+ 3,
51
+ 256,
52
+ 256,
53
+ 2,
54
+ 256,
55
+ 256,
56
+ 10
57
+ ],
58
+ "use_answer_as_supervision": null,
59
+ "use_gumbel_for_aggregation": false,
60
+ "use_gumbel_for_cells": false,
61
+ "use_normalized_answer_loss": false,
62
+ "vocab_size": 30522
63
+ }
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f87be208179f5fd9ef766fd8a50e26977307640880136b54431a1f0fba6bf612
3
- size 442980576
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8209f39f50f28714aab0e0395999f173f3c55fbe3397105e2a297ac32a96640
3
+ size 442994440