Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
combo
Manage
Activity
Members
Labels
Plan
Issues
20
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Syntactic Tools
combo
Commits
51be6680
Commit
51be6680
authored
4 years ago
by
Mateusz Klimaszewski
Committed by
Mateusz Klimaszewski
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add documentation EUD model training.
parent
8e09e336
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!9
Enhanced dependency parsing develop to master
,
!8
Enhanced dependency parsing
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/training.md
+21
-1
21 additions, 1 deletion
docs/training.md
with
21 additions
and
1 deletion
docs/training.md
+
21
−
1
View file @
51be6680
...
...
@@ -43,7 +43,27 @@ Examples (for clarity without training/validation data paths):
```bash
combo --mode train --targets head,deprel --features token,char,upostag
```
## Enhanced UD
Training a model with Enhanced UD prediction
**requires**
data pre-processing.
```
bash
combo
--mode
train
\
--training_data_path
your_preprocessed_training_path
\
--validation_data_path
your_preprocessed_validation_path
\
--targets
feats,upostag,xpostag,head,deprel,lemma,deps
\
--config_path
config.graph.template.jsonnet
```
### Data pre-processing
Download data from
[
IWPT20 Shared Task
](
https://universaldependencies.org/iwpt20/data.html
)
.
It contains
`enhanced_collapse_empty_nodes.pl`
script which is required as pre-processing step.
Apply this script to training and validation data.
```
bash
perl enhanced_collapse_empty_nodes.pl training.conllu
>
training.fixed.conllu
```
## Configuration
### Advanced
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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