Ade26 commited on
Commit
24ed82f
1 Parent(s): 51fc7bc

Upload TapasForQuestionAnswering

Browse files
Files changed (2) hide show
  1. config.json +70 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/tapas-base-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": 768,
26
+ "huber_loss_delta": 0.121194,
27
+ "init_cell_selection_weights_to_zero": true,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 3072,
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": 12,
38
+ "num_hidden_layers": 12,
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
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.35.2",
47
+ "type_vocab_size": [
48
+ 3,
49
+ 256,
50
+ 256,
51
+ 2,
52
+ 256,
53
+ 256,
54
+ 10
55
+ ],
56
+ "type_vocab_sizes": [
57
+ 3,
58
+ 256,
59
+ 256,
60
+ 2,
61
+ 256,
62
+ 256,
63
+ 10
64
+ ],
65
+ "use_answer_as_supervision": true,
66
+ "use_gumbel_for_aggregation": false,
67
+ "use_gumbel_for_cells": false,
68
+ "use_normalized_answer_loss": false,
69
+ "vocab_size": 30522
70
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ab8708ee6ab7e6e6fe8ed151cd3d056054fb58f8d38469bdba4d172b23aa147
3
+ size 442730704