from local
This commit is contained in:
parent
835be29b83
commit
8877dec7a4
Binary file not shown.
Binary file not shown.
@ -833,8 +833,6 @@ def compute_loss(
|
|||||||
warm_step = params.warm_step
|
warm_step = params.warm_step
|
||||||
|
|
||||||
texts = batch["supervisions"]["text"]
|
texts = batch["supervisions"]["text"]
|
||||||
print('hi~~~')
|
|
||||||
print(texts)
|
|
||||||
#texts = batch["greedy pseudo text"]
|
#texts = batch["greedy pseudo text"]
|
||||||
token_ids = sp.encode(texts, out_type=int)
|
token_ids = sp.encode(texts, out_type=int)
|
||||||
y = k2.RaggedTensor(token_ids).to(device)
|
y = k2.RaggedTensor(token_ids).to(device)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user