Skip to content
Snippets Groups Projects
Commit 482a36e0 authored by Franck Dary's avatar Franck Dary
Browse files

updated parser machine

parent 47fc8ddd
No related branches found
No related tags found
No related merge requests found
......@@ -4,25 +4,20 @@ Classifier : parser
Transitions : {parser,data/parser_eager_rel_strict.ts}
LossMultiplier : {}
Network type : Modular
Context : Buffer{-3 -2 -1 0 1 2} Stack{} Columns{FORM} LSTM{1 1 0 1} In{64} Out{64}
Context : Buffer{-3 -2 -1 0 1 2} Stack{1 0} Columns{UPOS} LSTM{1 1 0 1} In{64} Out{64}
Focused : Column{ID} NbElem{1} Buffer{-1 0 1 2} Stack{2 1 0} LSTM{1 1 0 1} In{64} Out{64}
Focused : Column{FORM} NbElem{13} Buffer{-1 0 1 2} Stack{2 1 0} LSTM{1 1 0 1} In{64} Out{64}
Focused : Column{FEATS} NbElem{13} Buffer{-1 0} Stack{2 1 0} LSTM{1 1 0 1} In{64} Out{64}
Focused : Column{EOS} NbElem{1} Buffer{-1 0 1} Stack{} LSTM{1 1 0 1} In{64} Out{64}
Focused : Column{DEPREL} NbElem{1} Buffer{} Stack{2 1 0} LSTM{1 1 0 1} In{64} Out{64}
DepthLayerTree : Columns{DEPREL} Buffer{} Stack{2 1 0} LayerSizes{3} LSTM{1 1 0.0 1} In{64} Out{64}
History : NbElem{10} LSTM{1 1 0 1} In{64} Out{64}
InputDropout : 0.5
MLP : {2048 0.3 2048 0.3}
Context : Targets{b.-2 b.-1 b.0 b.1 b.2 s.0 s.1 s.2 s.0.0 s.0.-1 s.1.0 s.1.-1} Columns{FORM} LSTM{1 1 0 1} In{64} Out{64} w2v{data/pretrained.w2v}
Context : Targets{b.-2 b.-1 b.0 b.1 b.2 s.0 s.1 s.2 s.0.0 s.0.-1 s.1.0 s.1.-1} Columns{UPOS FEATS DEPREL EOS ID} LSTM{1 1 0 1} In{64} Out{64} w2v{}
Distance : FromBuffer{0} FromStack{0} ToBuffer{} ToStack{0 1 2} Threshold{7} LSTM{1 1 0.0 1} In{16} Out{16}
History : NbElem{10} LSTM{1 1 0 1} In{32} Out{32}
InputDropout : 0.3
MLP : {400 0.3}
End
Optimizer : Adam {0.0003 0.9 0.999 0.00000001 0.00002 true}
Optimizer : Adagrad {0.01 0.00001 0 0.0000000001}
}
Predictions : HEAD DEPREL
Strategy
{
Block : End{cannotMove}
parser parser eager_SHIFT 1
parser parser eager_RIGHT_rel 1
parser parser * 0
Block : End{cannotMove}
parser parser eager_SHIFT 1
parser parser eager_RIGHT_rel 1
parser parser * 0
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment