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
3e1ff307
Commit
3e1ff307
authored
4 years ago
by
Franck Dary
Browse files
Options
Downloads
Patches
Plain Diff
added script to save machine descriptions
parent
9071eb15
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/tokemorpho_incr/machine.rm
+16
-7
16 additions, 7 deletions
UD_any/tokemorpho_incr/machine.rm
scripts/extractMachines.py
+19
-0
19 additions, 0 deletions
scripts/extractMachines.py
with
35 additions
and
7 deletions
UD_any/tokemorpho_incr/machine.rm
+
16
−
7
View file @
3e1ff307
...
...
@@ -3,7 +3,7 @@ Classifier : tokemorpho
{
Transitions : {data/tokenizer.ts data/tagger.ts data/morpho_parts.ts}
Network type : LSTM
Unknown value threshold :
-
1
Unknown value threshold : 1
Buffer context : {-3 -2 -1}
Stack context : {}
Columns : {FORM UPOS}
...
...
@@ -13,15 +13,24 @@ Classifier : tokemorpho
Max nb elements : {1 10 10}
Raw input left window : 5
Raw input right window : 5
Embeddings size :
25
6
MLP : {
8192
0.3}
Embeddings size : 6
4
MLP : {
2048
0.3}
Context LSTM size : 1024
Focused LSTM size : 256
Rawinput LSTM size :
32
Split trans LSTM size :
256
Num layers :
2
Rawinput LSTM size :
16
Split trans LSTM size :
128
Num layers :
3
BiLSTM : true
LSTM dropout : 0.3
LSTM dropout : 0.1
Total input dropout : 0.3
Embeddings dropout : 0.3
Dropout 2d : false
Tree embedding columns : {}
Tree embedding buffer : {}
Tree embedding stack : {}
Tree embedding nb : {}
Tree embedding size : 0
Optimizer : Adam {0.0005 0.9 0.999 0.00000001 0.00001 true}
}
Splitwords : data/splitwords.ts
Predictions : ID FORM UPOS FEATS EOS
...
...
This diff is collapsed.
Click to expand it.
scripts/extractMachines.py
0 → 100755
+
19
−
0
View file @
3e1ff307
#! /usr/bin/python3
import
sys
import
os
import
glob
import
shutil
def
printUsageAndExit
()
:
print
(
"
USAGE : %s bin dest
"
%
sys
.
argv
[
0
],
file
=
sys
.
stderr
)
exit
(
1
)
if
__name__
==
"
__main__
"
:
if
len
(
sys
.
argv
)
!=
3
:
printUsageAndExit
()
for
filename
in
glob
.
iglob
(
sys
.
argv
[
1
]
+
"
/**
"
,
recursive
=
True
)
:
if
os
.
path
.
splitext
(
filename
)[
1
]
==
"
.rm
"
:
shutil
.
copy
(
filename
,
sys
.
argv
[
2
]
+
"
/
"
+
filename
.
split
(
'
/
'
)[
-
2
]
+
"
.rm
"
)
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