nielsr HF staff commited on
Commit
856e82f
1 Parent(s): c39437a

Upload TF model

Browse files
Files changed (2) hide show
  1. config.json +63 -59
  2. tf_model.h5 +3 -0
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
- "TapasModel"
9
- ],
10
- "attention_probs_dropout_prob": 0.0,
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.07,
18
- "hidden_size": 512,
19
- "huber_loss_delta": null,
20
- "init_cell_selection_weights_to_zero": false,
21
- "initializer_range": 0.02,
22
- "intermediate_size": 2048,
23
- "layer_norm_eps": 1e-12,
24
- "max_num_columns": 32,
25
- "max_num_rows": 64,
26
- "max_position_embeddings": 512,
27
- "model_type": "tapas",
28
- "num_aggregation_labels": 0,
29
- "num_attention_heads": 8,
30
- "num_hidden_layers": 4,
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-small",
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
+ "TapasModel"
11
+ ],
12
+ "attention_probs_dropout_prob": 0.0,
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.07,
20
+ "hidden_size": 512,
21
+ "huber_loss_delta": null,
22
+ "init_cell_selection_weights_to_zero": false,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 2048,
25
+ "layer_norm_eps": 1e-12,
26
+ "max_num_columns": 32,
27
+ "max_num_rows": 64,
28
+ "max_position_embeddings": 512,
29
+ "model_type": "tapas",
30
+ "no_aggregation_label_index": null,
31
+ "num_aggregation_labels": 0,
32
+ "num_attention_heads": 8,
33
+ "num_hidden_layers": 4,
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 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6860f8a2760452a2ae0f8366236cfe039882c5681ca47b8f7d867357fbcd160
3
+ size 117288504