Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
8eb7f26d
"vscode:/vscode.git/clone" did not exist on "1b5ab39cf4430253e70570cb9b6bacbb5c595133"
Unverified
Commit
8eb7f26d
authored
Jan 04, 2021
by
Sam Shleifer
Committed by
GitHub
Jan 04, 2021
Browse files
simplify marian distillation script (#9394)
parent
d944966b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
examples/research_projects/seq2seq-distillation/distil_marian_no_teacher.sh
...projects/seq2seq-distillation/distil_marian_no_teacher.sh
+3
-2
No files found.
examples/research_projects/seq2seq-distillation/distil_marian_no_teacher.sh
View file @
8eb7f26d
#!/usr/bin/env bash
export
PYTHONPATH
=
"../"
:
"
${
PYTHONPATH
}
"
export
WANDB_PROJECT
=
dmar
python distillation.py
\
export
MAX_LEN
=
128
python finetune.py
\
--learning_rate
=
3e-4
\
--do_train
\
--do_predict
\
--fp16
--no_teacher
\
--fp16
\
--val_check_interval
0.25
\
--data_dir
$ENRO_DIR
\
--max_source_length
$MAX_LEN
--max_target_length
$MAX_LEN
--val_max_target_length
$MAX_LEN
--test_max_target_length
$MAX_LEN
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment