Skip to content

Commit

Permalink
trailing whitespace...
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickus Timothee committed Dec 18, 2023
1 parent cfdd2d8 commit a0aa274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mammoth/modules/layer_stack_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def from_opts(cls, opts, embeddings, task_queue_manager):
encoders = nn.ModuleList()
for layer_stack_index, n_layers in enumerate(opts.enc_layers):
stacks = nn.ModuleDict()
is_on_top = layer_stack_index == len(opts.enc_layers) - 1
is_on_top = layer_stack_index == len(opts.enc_layers) - 1
is_on_top = is_on_top and not opts.ab_layers
for module_id in task_queue_manager.get_encoders(layer_stack_index):
if module_id in stacks:
Expand Down

0 comments on commit a0aa274

Please sign in to comment.