from local

This commit is contained in:
dohe0342 2023-06-09 16:55:11 +09:00
parent 7fc02a434a
commit 51dfc1c130
2 changed files with 0 additions and 1 deletions

View File

@ -850,7 +850,6 @@ def compute_loss(
texts = batch["supervisions"]["text"]
texts = [text.upper() for text in texts]
print(texts)
token_ids = sp.encode(texts, out_type=int)
y = k2.RaggedTensor(token_ids).to(device)