RyanHaniff
commited on
Commit
•
33de76b
1
Parent(s):
f79ba56
Upload TapasForQuestionAnswering
Browse files- config.json +64 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/tapas-base",
|
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.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": 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 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.26.0",
|
41 |
+
"type_vocab_size": [
|
42 |
+
3,
|
43 |
+
256,
|
44 |
+
256,
|
45 |
+
2,
|
46 |
+
256,
|
47 |
+
256,
|
48 |
+
10
|
49 |
+
],
|
50 |
+
"type_vocab_sizes": [
|
51 |
+
3,
|
52 |
+
256,
|
53 |
+
256,
|
54 |
+
2,
|
55 |
+
256,
|
56 |
+
256,
|
57 |
+
10
|
58 |
+
],
|
59 |
+
"use_answer_as_supervision": null,
|
60 |
+
"use_gumbel_for_aggregation": false,
|
61 |
+
"use_gumbel_for_cells": false,
|
62 |
+
"use_normalized_answer_loss": false,
|
63 |
+
"vocab_size": 30522
|
64 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f927cd554d8dd451ddb5560cac3115efb674a87c9a49711f73fed5aa4a595c2
|
3 |
+
size 442761937
|