Upload TF model
Browse files- config.json +69 -67
- tf_model.h5 +3 -0
config.json
CHANGED
@@ -1,67 +1,69 @@
|
|
1 |
-
{
|
2 |
-
"
|
3 |
-
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
|
8 |
-
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
256,
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
256,
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
"
|
65 |
-
"
|
66 |
-
"
|
67 |
-
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/tapas-medium-finetuned-wikisql-supervised",
|
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": true,
|
12 |
+
"answer_loss_cutoff": 36.4519,
|
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.903421,
|
21 |
+
"disable_per_token_loss": false,
|
22 |
+
"gradient_checkpointing": false,
|
23 |
+
"hidden_act": "gelu",
|
24 |
+
"hidden_dropout_prob": 0.1,
|
25 |
+
"hidden_size": 512,
|
26 |
+
"huber_loss_delta": 222.088,
|
27 |
+
"init_cell_selection_weights_to_zero": true,
|
28 |
+
"initializer_range": 0.02,
|
29 |
+
"intermediate_size": 2048,
|
30 |
+
"layer_norm_eps": 1e-12,
|
31 |
+
"max_num_columns": 32,
|
32 |
+
"max_num_rows": 64,
|
33 |
+
"max_position_embeddings": 512,
|
34 |
+
"model_type": "tapas",
|
35 |
+
"no_aggregation_label_index": 0,
|
36 |
+
"num_aggregation_labels": 4,
|
37 |
+
"num_attention_heads": 8,
|
38 |
+
"num_hidden_layers": 8,
|
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.763141,
|
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": false,
|
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:f1dd54b4b4e7a95c1ead364bd1386946963e5ea026f2eafe06963a3b5fb7d8e2
|
3 |
+
size 167839944
|