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.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/training/conf/model/lit_transformer.yaml b/training/conf/model/lit_transformer.yaml
index 5172533..c1491ec 100644
--- a/training/conf/model/lit_transformer.yaml
+++ b/training/conf/model/lit_transformer.yaml
@@ -1,5 +1,8 @@
-_target_: text_recognizer.models.transformer.TransformerLitModel
+_target_: text_recognizer.models.LitTransformer
max_output_len: 682
start_token: <s>
end_token: <e>
pad_token: <p>
+mapping:
+ _target_: text_recognizer.data.mappings.EmnistMapping
+ extra_symbols: ["\n"]