We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dab45b2 commit 5942b86Copy full SHA for 5942b86
tfkit/task/seq2seq/model.py
@@ -4,7 +4,7 @@
4
from torch import nn
5
from torch.nn.functional import softmax
6
from transformers import AutoModel
7
-
+import torch.nn.functional as F
8
from tfkit.task.seq2seq import Preprocessor
9
from tfkit.utility.loss import NegativeCElLoss, SelfKDLoss
10
from tfkit.utility.model import tie_encoder_decoder_weights
0 commit comments