Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
classifier_activation
Browse files Browse the repository at this point in the history
  • Loading branch information
zheyuye committed Jul 29, 2020
1 parent 510d991 commit 9d60cda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gluonnlp/models/bart.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def from_cfg(cls, cfg, dtype=None,
tie_weights=cfg.MODEL.tie_weights,
data_norm=cfg.MODEL.data_norm,
use_pooler=use_pooler,
classifier_activation=classifier_activation,
attention_dropout=cfg.MODEL.attention_dropout,
activation_dropout=cfg.MODEL.activation_dropout,
dropout=cfg.MODEL.dropout,
Expand Down

0 comments on commit 9d60cda

Please sign in to comment.