mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-23 22:38:58 +06:00
replace double quotes with simple quotes
This commit is contained in:
parent
9ca788b2e8
commit
df85a0ff0b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user