From e858bf6499864346a73dae42d09d902785635df9 Mon Sep 17 00:00:00 2001 From: Franck Dary <franck.dary@lis-lab.fr> Date: Thu, 30 Apr 2020 21:43:50 +0200 Subject: [PATCH] updated machines --- UD_any/parser/machine.rm | 14 +++++++------- UD_any/tagmorpho/machine.rm | 9 +++++---- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/UD_any/parser/machine.rm b/UD_any/parser/machine.rm index a6a12ac..6813e09 100644 --- a/UD_any/parser/machine.rm +++ b/UD_any/parser/machine.rm @@ -3,13 +3,13 @@ Classifier : parser { Transitions : {parser,data/parser.ts} Network type : Modular - Context : Unk{1} Buffer{-3 -2 -1 0 1 2} Stack{2 1 0} Columns{FORM UPOS} GRU{1 1 0.0 1} In{128} Out{512} - Focused : Column{ID} NbElem{1} Buffer{0} Stack{0} GRU{1 1 0.0 1} In{128} Out{256} - Focused : Column{EOS} NbElem{1} Buffer{-1 0} Stack{} GRU{1 1 0.0 1} In{128} Out{256} - Focused : Column{FORM} NbElem{10} Buffer{-1 0} Stack{2 1 0} GRU{1 1 0.0 1} In{128} Out{256} - Focused : Column{FEATS} NbElem{10} Buffer{-1 0} Stack{2 1 0} GRU{1 1 0.0 1} In{128} Out{256} - Focused : Column{DEPREL} NbElem{1} Buffer{} Stack{2 1 0} GRU{1 1 0.0 1} In{128} Out{256} - DepthLayerTree : Columns{DEPREL} Buffer{-1} Stack{2 1 0} LayerSizes{6} GRU{1 1 0.0 1} In{128} Out{128} + Context : Buffer{-3 -2 -1 0 1 2} Stack{2 1 0} Columns{FORM UPOS} GRU{1 1 0.0 1} In{128} Out{128} + Focused : Column{ID} NbElem{1} Buffer{0} Stack{0} GRU{1 1 0.0 1} In{128} Out{128} + Focused : Column{EOS} NbElem{1} Buffer{-1} Stack{} GRU{1 1 0.0 1} In{128} Out{128} + Focused : Column{FORM} NbElem{10} Buffer{-1 0 1} Stack{2 1 0} GRU{1 1 0.0 1} In{128} Out{128} + Focused : Column{FEATS} NbElem{10} Buffer{-1 0 1} Stack{2 1 0} GRU{1 1 0.0 1} In{128} Out{128} + Focused : Column{DEPREL} NbElem{1} Buffer{} Stack{2 1 0} GRU{1 1 0.0 1} In{128} Out{128} + DepthLayerTree : Columns{DEPREL} Buffer{} Stack{2 1 0} LayerSizes{3} GRU{1 1 0.0 1} In{128} Out{128} InputDropout : 0.3 MLP : {2048 0.3} End diff --git a/UD_any/tagmorpho/machine.rm b/UD_any/tagmorpho/machine.rm index 116e6c4..c0cfdc3 100644 --- a/UD_any/tagmorpho/machine.rm +++ b/UD_any/tagmorpho/machine.rm @@ -3,10 +3,11 @@ Classifier : tagmorpho { Transitions : {tagger,data/tagger.ts morpho,data/morpho_parts.ts} Network type : Modular - Context : Buffer{-3 -2 -1 0 1 2} Stack{} Columns{FORM UPOS} GRU{1 1 0 1} In{128} Out{512} - Focused : Column{ID} NbElem{1} Buffer{-1 0} Stack{} GRU{1 1 0 1} In{128} Out{256} - Focused : Column{FORM} NbElem{10} Buffer{-1 0} Stack{} GRU{1 1 0 1} In{128} Out{256} - Focused : Column{FEATS} NbElem{10} Buffer{-1 0} Stack{} GRU{1 1 0 1} In{128} Out{256} + StateName : States{tagger morpho} Out{128} + Context : Buffer{-3 -2 -1 0 1 2} Stack{} Columns{FORM UPOS} GRU{1 1 0 1} In{128} Out{128} + Focused : Column{ID} NbElem{1} Buffer{-1 0} Stack{} GRU{1 1 0 1} In{128} Out{128} + Focused : Column{FORM} NbElem{10} Buffer{-1 0} Stack{} GRU{1 1 0 1} In{128} Out{128} + Focused : Column{FEATS} NbElem{10} Buffer{-1 0} Stack{} GRU{1 1 0 1} In{128} Out{128} InputDropout : 0.3 MLP : {2048 0.3} End -- GitLab