from local

This commit is contained in:
dohe0342 2023-01-25 17:14:35 +09:00
parent 40be6a4aa5
commit 8e13524258
2 changed files with 1 additions and 1 deletions

View File

@ -833,7 +833,7 @@ def compute_loss(
warm_step = params.warm_step
#texts = batch["supervisions"]["text"]
texts = batch["supervisions"]["greedy pseudo text"]
texts = batch["greedy pseudo text"]
token_ids = sp.encode(texts, out_type=int)
y = k2.RaggedTensor(token_ids).to(device)