add model
Browse files- config.json +119 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "trained_models/t5_qanom-joint-23.03.22",
|
3 |
+
"append_verb_form": true,
|
4 |
+
"architectures": [
|
5 |
+
"T5ForConditionalGeneration"
|
6 |
+
],
|
7 |
+
"d_ff": 2048,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 512,
|
10 |
+
"debug_mode": false,
|
11 |
+
"decoder_start_token_id": 0,
|
12 |
+
"description": "optimal joint config from sweep, mainly for qanom",
|
13 |
+
"dir_switch": "joint_optimal",
|
14 |
+
"do_eval_on": "validation",
|
15 |
+
"dropout_rate": 0.1,
|
16 |
+
"eos_token_id": 1,
|
17 |
+
"eval_steps": 500,
|
18 |
+
"evaluation_strategy": "steps",
|
19 |
+
"feed_forward_proj": "relu",
|
20 |
+
"fp16": true,
|
21 |
+
"gradient_accumulation_steps": 14,
|
22 |
+
"initializer_factor": 1.0,
|
23 |
+
"is_encoder_decoder": true,
|
24 |
+
"layer_norm_epsilon": 1e-06,
|
25 |
+
"learning_rate": 0.001,
|
26 |
+
"load_best_model_at_end": true,
|
27 |
+
"logging_steps": 500,
|
28 |
+
"logging_strategy": "steps",
|
29 |
+
"metric_for_best_model": "eval_loss",
|
30 |
+
"model_type": "t5",
|
31 |
+
"n_positions": 512,
|
32 |
+
"num_beams": 5,
|
33 |
+
"num_decoder_layers": 6,
|
34 |
+
"num_heads": 8,
|
35 |
+
"num_layers": 6,
|
36 |
+
"output_past": true,
|
37 |
+
"overwrite_output_dir": true,
|
38 |
+
"pad_token_id": 0,
|
39 |
+
"per_device_eval_batch_size": 12,
|
40 |
+
"per_device_train_batch_size": 12,
|
41 |
+
"predicate_marker_type": "generic",
|
42 |
+
"predict_with_generate": true,
|
43 |
+
"preprocess_input_func": "input_predicate_marker",
|
44 |
+
"preprocessing_kwargs": {
|
45 |
+
"append_verb_form": true,
|
46 |
+
"debug_mode": false,
|
47 |
+
"description": "optimal joint config from sweep, mainly for qanom",
|
48 |
+
"dir_switch": "joint_optimal",
|
49 |
+
"do_eval_on": "validation",
|
50 |
+
"dropout_rate": 0.1,
|
51 |
+
"eval_steps": 500,
|
52 |
+
"evaluation_strategy": "steps",
|
53 |
+
"fp16": true,
|
54 |
+
"gradient_accumulation_steps": 14,
|
55 |
+
"learning_rate": 0.001,
|
56 |
+
"load_best_model_at_end": true,
|
57 |
+
"logging_steps": 500,
|
58 |
+
"logging_strategy": "steps",
|
59 |
+
"metric_for_best_model": "eval_loss",
|
60 |
+
"model_type": "t5",
|
61 |
+
"num_beams": 5,
|
62 |
+
"overwrite_output_dir": true,
|
63 |
+
"per_device_eval_batch_size": 12,
|
64 |
+
"per_device_train_batch_size": 12,
|
65 |
+
"predicate_marker_type": "generic",
|
66 |
+
"predict_with_generate": true,
|
67 |
+
"preprocess_input_func": "input_predicate_marker",
|
68 |
+
"qanom_joint_factor": 14,
|
69 |
+
"save_steps": 500,
|
70 |
+
"save_strategy": "steps",
|
71 |
+
"seed": 44,
|
72 |
+
"source_prefix": "parse: ",
|
73 |
+
"train_dataset": "joint_qanom",
|
74 |
+
"train_epochs": 20,
|
75 |
+
"use_bilateral_predicate_marker": true
|
76 |
+
},
|
77 |
+
"qanom_joint_factor": 14,
|
78 |
+
"relative_attention_num_buckets": 32,
|
79 |
+
"save_steps": 500,
|
80 |
+
"save_strategy": "steps",
|
81 |
+
"seed": 44,
|
82 |
+
"source_prefix": "parse: ",
|
83 |
+
"task_specific_params": {
|
84 |
+
"summarization": {
|
85 |
+
"early_stopping": true,
|
86 |
+
"length_penalty": 2.0,
|
87 |
+
"max_length": 200,
|
88 |
+
"min_length": 30,
|
89 |
+
"no_repeat_ngram_size": 3,
|
90 |
+
"num_beams": 4,
|
91 |
+
"prefix": "summarize: "
|
92 |
+
},
|
93 |
+
"translation_en_to_de": {
|
94 |
+
"early_stopping": true,
|
95 |
+
"max_length": 300,
|
96 |
+
"num_beams": 4,
|
97 |
+
"prefix": "translate English to German: "
|
98 |
+
},
|
99 |
+
"translation_en_to_fr": {
|
100 |
+
"early_stopping": true,
|
101 |
+
"max_length": 300,
|
102 |
+
"num_beams": 4,
|
103 |
+
"prefix": "translate English to French: "
|
104 |
+
},
|
105 |
+
"translation_en_to_ro": {
|
106 |
+
"early_stopping": true,
|
107 |
+
"max_length": 300,
|
108 |
+
"num_beams": 4,
|
109 |
+
"prefix": "translate English to Romanian: "
|
110 |
+
}
|
111 |
+
},
|
112 |
+
"torch_dtype": "float32",
|
113 |
+
"train_dataset": "joint_qanom",
|
114 |
+
"train_epochs": 20,
|
115 |
+
"transformers_version": "4.17.0",
|
116 |
+
"use_bilateral_predicate_marker": true,
|
117 |
+
"use_cache": true,
|
118 |
+
"vocab_size": 32101
|
119 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:67987af0aa8b7d2584e73cfaa33571bae84c52e4bc3534c5e896e1e7824343bd
|
3 |
+
size 242028475
|