from local

This commit is contained in:
dohe0342 2023-01-26 14:17:46 +09:00
parent 29713fe01d
commit 6a2640d543
2 changed files with 1 additions and 0 deletions

View File

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