Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
combo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Syntactic Tools
combo
Commits
a9ad1754
Commit
a9ad1754
authored
May 7, 2021
by
Mateusz Klimaszewski
Browse files
Options
Downloads
Patches
Plain Diff
Change batch size for tamil.
parent
6900d4f0
No related branches found
No related tags found
2 merge requests
!37
Release 1.0.4.
,
!36
Release 1.0.4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/train_iwpt21.py
+5
-1
5 additions, 1 deletion
scripts/train_iwpt21.py
with
5 additions
and
1 deletion
scripts/train_iwpt21.py
+
5
−
1
View file @
a9ad1754
...
...
@@ -119,7 +119,6 @@ def run(_):
--pretrained_transformer_name
{
utils
.
LANG2TRANSFORMER
[
lang
]
}
--serialization_dir
{
serialization_dir
}
--cuda_device
{
FLAGS
.
cuda_device
}
--word_batch_size 2500
--config_path
{
pathlib
.
Path
.
cwd
()
/
'
combo
'
/
'
config.graph.template.jsonnet
'
}
--notensorboard
"""
...
...
@@ -128,6 +127,11 @@ def run(_):
if
lang
in
{
"
fr
"
,
"
ru
"
}:
command
=
command
+
"
--targets deprel,head,upostag,lemma,feats
"
if
lang
in
{
"
ta
"
}:
command
=
command
+
"
--word_batch_size 500
"
else
:
command
=
command
+
"
--word_batch_size 2500
"
utils
.
execute_command
(
""
.
join
(
command
.
splitlines
()))
...
...
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