hf-transformers-bot commited on
Commit
80bfe92
·
verified ·
1 Parent(s): 79f9acd

Update tiny models for TapasForQuestionAnswering

Browse files
Files changed (4) hide show
  1. config.json +62 -0
  2. model.safetensors +3 -0
  3. tokenizer_config.json +37 -0
  4. vocab.txt +0 -0
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "agg_temperature": 1.0,
4
+ "aggregation_labels": null,
5
+ "aggregation_loss_importance": 0.8,
6
+ "aggregation_loss_weight": 1.0,
7
+ "aggregation_temperature": 1.0,
8
+ "allow_empty_column_selection": false,
9
+ "answer_loss_cutoff": 100,
10
+ "answer_loss_importance": 0.001,
11
+ "architectures": [
12
+ "TapasForQuestionAnswering"
13
+ ],
14
+ "attention_probs_dropout_prob": 0.1,
15
+ "average_approximation_function": "ratio",
16
+ "average_logits_per_cell": true,
17
+ "bos_token_id": null,
18
+ "cell_selection_preference": 0.5,
19
+ "disable_per_token_loss": false,
20
+ "dtype": "float32",
21
+ "eos_token_id": null,
22
+ "hidden_act": "gelu",
23
+ "hidden_dropout_prob": 0.1,
24
+ "hidden_size": 32,
25
+ "huber_loss_delta": 25.0,
26
+ "init_cell_selection_weights_to_zero": true,
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 37,
29
+ "is_decoder": false,
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": null,
36
+ "num_aggregation_labels": 4,
37
+ "num_attention_heads": 4,
38
+ "num_hidden_layers": 2,
39
+ "pad_token_id": 0,
40
+ "positive_label_weight": 10.0,
41
+ "positive_weight": 10.0,
42
+ "reset_position_index_per_cell": true,
43
+ "select_one_column": true,
44
+ "temperature": 1.0,
45
+ "tie_word_embeddings": true,
46
+ "transformers_version": "5.16.0.dev0",
47
+ "type_vocab_sizes": [
48
+ 3,
49
+ 256,
50
+ 256,
51
+ 2,
52
+ 256,
53
+ 256,
54
+ 10
55
+ ],
56
+ "use_answer_as_supervision": true,
57
+ "use_gumbel_for_agg": false,
58
+ "use_gumbel_for_aggregation": false,
59
+ "use_gumbel_for_cells": false,
60
+ "use_normalized_answer_loss": false,
61
+ "vocab_size": 30522
62
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19a8df68510ee6430273c76f06a40f50064fd247f1a328fc21318d42eb22694f
3
+ size 4170408
tokenizer_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {},
3
+ "additional_special_tokens": [
4
+ "[EMPTY]"
5
+ ],
6
+ "backend": "custom",
7
+ "cell_trim_length": -1,
8
+ "clean_up_tokenization_spaces": true,
9
+ "cls_token": "[CLS]",
10
+ "do_basic_tokenize": true,
11
+ "do_lower_case": true,
12
+ "drop_rows_to_fit": false,
13
+ "empty_token": "[EMPTY]",
14
+ "extra_special_tokens": [
15
+ "[EMPTY]"
16
+ ],
17
+ "is_local": false,
18
+ "local_files_only": false,
19
+ "mask_token": "[MASK]",
20
+ "max_column_id": 512,
21
+ "max_question_length": null,
22
+ "max_row_id": 512,
23
+ "min_question_length": null,
24
+ "model_max_length": 512,
25
+ "model_specific_special_tokens": {
26
+ "empty_token": "[EMPTY]"
27
+ },
28
+ "never_split": null,
29
+ "pad_token": "[PAD]",
30
+ "sep_token": "[SEP]",
31
+ "strip_accents": null,
32
+ "strip_column_names": false,
33
+ "tokenize_chinese_chars": true,
34
+ "tokenizer_class": "TapasTokenizer",
35
+ "unk_token": "[UNK]",
36
+ "update_answer_coordinates": false
37
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff