From a78c3d5b4880aea417c613c0d9ca772e1e228bf7 Mon Sep 17 00:00:00 2001
From: chenmengzheAAA <123789350+chenmengzheAAA@users.noreply.github.com>
Date: 星期三, 19 七月 2023 10:22:38 +0800
Subject: [PATCH] Merge pull request #748 from alibaba-damo-academy/dev_cmz

---
 funasr/losses/label_smoothing_loss.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/funasr/losses/label_smoothing_loss.py b/funasr/losses/label_smoothing_loss.py
index 8f63df9..3ea34c0 100644
--- a/funasr/losses/label_smoothing_loss.py
+++ b/funasr/losses/label_smoothing_loss.py
@@ -97,7 +97,7 @@
         normalize_length=False,
         criterion=nn.NLLLoss(reduction='none'),
     ):
-        """Construct an LabelSmoothingLoss object."""
+        """Construct an NllLoss object."""
         super(NllLoss, self).__init__()
         self.criterion = criterion
         self.padding_idx = padding_idx

--
Gitblit v1.9.1