nielsr commited on
Commit
70ef0dc
1 Parent(s): 4a7bc62

Upload TF model

Browse files

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