ソースを参照

revert changes

dbaranchuk 3 年 前
コミット
0e8b7490f7
1 ファイル変更0 行追加1 行削除
  1. 0 1
      src/bloom/model.py

+ 0 - 1
src/bloom/model.py

@@ -584,7 +584,6 @@ class BloomForSequenceClassification(BloomPreTrainedModel):
                 )
 
         pooled_logits = logits[torch.arange(batch_size, device=logits.device), sequence_lengths]
-        
         loss = None
         if labels is not None:
             if self.config.problem_type is None: