summaryrefslogtreecommitdiff
path: root/training/conf/model
diff options
context:
space:
mode:
Diffstat (limited to 'training/conf/model')
-rw-r--r--training/conf/model/lit_transformer.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/conf/model/lit_transformer.yaml b/training/conf/model/lit_transformer.yaml
index 6ffde4e..c190151 100644
--- a/training/conf/model/lit_transformer.yaml
+++ b/training/conf/model/lit_transformer.yaml
@@ -1,7 +1,7 @@
_target_: text_recognizer.models.transformer.TransformerLitModel
interval: step
monitor: val/loss
-ignore_tokens: [ <s>, <e>, <p> ]
+max_output_len: 451
start_token: <s>
end_token: <e>
pad_token: <p>