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): ...@@ -322,7 +322,7 @@ class BertLayer(nn.Module):
def __init__(self, config): def __init__(self, config):
super(BertLayer, self).__init__() super(BertLayer, self).__init__()
self.self_attention = BertAttention(config) self.self_attention = BertAttention(config)
if config.get('is_decoder', False): if config.get("is_decoder", False):
self.attention = BertAttention(config) self.attention = BertAttention(config)
self.intermediate = BertIntermediate(config) self.intermediate = BertIntermediate(config)
self.output = BertOutput(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