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
f3dcbc39
Commit
f3dcbc39
authored
3 years ago
by
Mateusz Klimaszewski
Browse files
Options
Downloads
Patches
Plain Diff
Configure validation metric for early stopping.
parent
9d959692
No related merge requests found
Pipeline
#2908
passed with stage
Stage:
in 4 minutes and 46 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
combo/config.multitask.template.jsonnet
+3
-1
3 additions, 1 deletion
combo/config.multitask.template.jsonnet
combo/config.shared.libsonnet
+2
-2
2 additions, 2 deletions
combo/config.shared.libsonnet
with
5 additions
and
3 deletions
combo/config.multitask.template.jsonnet
+
3
−
1
View file @
f3dcbc39
...
...
@@ -397,7 +397,9 @@ assert pretrained_tokens == null || pretrained_transformer_name == null: "Can't
},
},
}),
trainer
:
shared_config
.
Trainer
(
cuda_device
,
num_epochs
,
learning_rate
,
use_tensorboard
),
trainer
:
shared_config
.
Trainer
(
cuda_device
,
num_epochs
,
learning_rate
,
use_tensorboard
,
[
"+conllu_EM"
,
"+iob_f1-measure-overall"
]
),
random_seed
:
8787
,
pytorch_seed
:
8787
,
numpy_seed
:
8787
,
...
...
This diff is collapsed.
Click to expand it.
combo/config.shared.libsonnet
+
2
−
2
View file @
f3dcbc39
{
local
trainer
(
cuda_device
,
num_epochs
,
learning_rate
,
use_tensorboard
)
=
local
trainer
(
cuda_device
,
num_epochs
,
learning_rate
,
use_tensorboard
,
validation_metric
=
"+EM"
)
=
std
.
prune
({
checkpointer
:
{
type
:
"finishing_only_checkpointer"
,
...
...
@@ -23,7 +23,7 @@
learning_rate_scheduler
:
{
type
:
"combo_scheduler"
,
},
validation_metric
:
"+EM"
,
validation_metric
:
validation_metric
,
}),
local
lemma
(
hidden_size
,
dropout
)
=
{
...
...
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