"examples/summarization/test_summarization_examples.py" did not exist on "b43c78e5d32b6eb8f367c52950336591ef8d82eb"
Commit df85a0ff authored by Rémi Louf's avatar Rémi Louf
Browse files

replace double quotes with simple quotes

parent 9ca788b2
......@@ -322,7 +322,7 @@ class BertLayer(nn.Module):
def __init__(self, config):
super(BertLayer, self).__init__()
self.self_attention = BertAttention(config)
if config.get('is_decoder', False):
if config.get("is_decoder", False):
self.attention = BertAttention(config)
self.intermediate = BertIntermediate(config)
self.output = BertOutput(config)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment