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
38084507
Commit
38084507
authored
Oct 02, 2019
by
VictorSanh
Committed by
Victor SANH
Oct 03, 2019
Browse files
add distillation_configs
parent
ebb32261
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
examples/distillation/training_configs/distilbert-base-uncased.json
...istillation/training_configs/distilbert-base-uncased.json
+15
-0
examples/distillation/training_configs/distilgpt2.json
examples/distillation/training_configs/distilgpt2.json
+10
-0
No files found.
examples/distillation/training_configs/distilbert-base-uncased.json
0 → 100644
View file @
38084507
{
"activation"
:
"gelu"
,
"attention_dropout"
:
0.1
,
"dim"
:
768
,
"dropout"
:
0.1
,
"hidden_dim"
:
3072
,
"initializer_range"
:
0.02
,
"max_position_embeddings"
:
512
,
"n_heads"
:
12
,
"n_layers"
:
6
,
"sinusoidal_pos_embds"
:
true
,
"tie_weights_"
:
true
,
"vocab_size"
:
30522
}
\ No newline at end of file
examples/distillation/training_configs/distilgpt2.json
0 → 100644
View file @
38084507
{
"initializer_range"
:
0.02
,
"layer_norm_epsilon"
:
0.00001
,
"n_ctx"
:
1024
,
"n_embd"
:
768
,
"n_head"
:
12
,
"n_layer"
:
6
,
"n_positions"
:
1024
,
"vocab_size"
:
50257
}
\ No newline at end of file
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