from local

This commit is contained in:
dohe0342 2023-04-13 02:34:54 +09:00
parent 57c32c5dc6
commit 0abbeae846
2 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class Transducer(nn.Module):
self.prompt = None self.prompt = None
if prompt: if prompt:
#self.prompt = torch.randn((200, 512), requires_grad=True) #self.prompt = torch.randn((200, 512), requires_grad=True)
self.prompt = torch.nn.Parameter(torch.rand((50, 512))) self.prompt = torch.nn.Parameter(torch.randn((50, 512))/10)
def forward( def forward(
self, self,