Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
macaon_data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Franck Dary
macaon_data
Commits
dc820bb3
Commit
dc820bb3
authored
5 years ago
by
Franck Dary
Browse files
Options
Downloads
Patches
Plain Diff
added tokeparser_incr
parent
2ab427d4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
UD_any/data/getTransitionSets.py
+1
-1
1 addition, 1 deletion
UD_any/data/getTransitionSets.py
UD_any/tokeparser_incr/machine.rm
+42
-0
42 additions, 0 deletions
UD_any/tokeparser_incr/machine.rm
with
43 additions
and
1 deletion
UD_any/data/getTransitionSets.py
+
1
−
1
View file @
dc820bb3
...
...
@@ -97,7 +97,7 @@ if __name__ == "__main__" :
striped
=
line
.
strip
()
if
len
(
striped
)
==
0
or
striped
==
"
root
"
or
striped
==
"
_
"
:
continue
label
=
striped
.
split
(
'
:
'
)[
0
]
label
=
striped
if
label
not
in
labels
:
labels
.
add
(
striped
)
labelsList
.
append
(
striped
)
...
...
This diff is collapsed.
Click to expand it.
UD_any/tokeparser_incr/machine.rm
0 → 100644
+
42
−
0
View file @
dc820bb3
Name : Tokenizer, Tagger and Morpho Machine
Classifier : tokemorpho
{
Transitions : {data/tokenizer.ts data/tagger.ts data/morpho_parts.ts data/parser.ts}
Network type : LSTM
Unknown value threshold : -1
Buffer context : {-5 -4 -3 -2 -1}
Stack context : {}
Columns : {FORM UPOS}
Focused buffer : {-1 0}
Focused stack : {}
Focused columns : {ID FORM FEATS}
Max nb elements : {1 10 10}
Raw input left window : 5
Raw input right window : 5
Embeddings size : 256
MLP : {2048 0.3 2048 0.3}
Context LSTM size : 512
Focused LSTM size : 256
Rawinput LSTM size : 64
Split trans LSTM size : 256
Num layers : 3
BiLSTM : true
LSTM dropout : 0.3
Tree embedding columns : {DEPREL}
Tree embedding buffer : {-1}
Tree embedding stack : {0}
Tree embedding nb : {5 10}
Tree embedding size : 128
}
Splitwords : data/splitwords.ts
Predictions : ID FORM UPOS FEATS HEAD DEPREL EOS
Strategy : incremental
tokenizer tagger ENDWORD 0
tokenizer tagger SPLIT 0
tokenizer tokenizer 0
tagger morpho 0
morpho parser NOTHING 0
morpho morpho 0
parser tokenizer SHIFT 1
parser tokenizer RIGHT 1
parser parser 0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment