We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 824d947 commit 7d56607Copy full SHA for 7d56607
texar/torch/modules/classifiers/bert_classifier.py
@@ -76,9 +76,10 @@ def __init__(self,
76
# Create the underlying encoder
77
encoder_hparams = dict_fetch(hparams,
78
self._ENCODER_CLASS.default_hparams())
79
+ encoder_hparams['pretrained_model_name'] = None
80
81
self._encoder = self._ENCODER_CLASS(
- pretrained_model_name=pretrained_model_name,
82
+ pretrained_model_name=None,
83
cache_dir=cache_dir,
84
hparams=encoder_hparams)
85
0 commit comments