Wu, Ke

Results 9 issues of Wu, Ke

Say I have a function foo that uses package bar, e.g. ``` func foo : bar < in > out { "${bar}/cmd" "${in}" > "${out}" } ``` If I call...

Inter-operation is achieved with cgo. The wrapper offers an idiomatic Go package for objective function minimization via L-BFGS. Slight behavioral differences from the C library: - The optimization routine is...

Training input: ``` a x b y ``` Output of running `crfsuite learn` ``` CRFSuite 0.12 Copyright (c) 2007-2011 Naoaki Okazaki Start time of the training: 2011-11-16T01:05:15Z Reading the data...

Currently if I write a function like the following: ```py def mask_invalid( x: Shaped[Array, '*B *C'], mask: Bool[Array, '*B'] ) -> Shaped[Array, '*B *C']: return jnp.where(jnp.expand_dims(mask, range(mask.ndim, x.ndim)), x, 0)...

feature

Hi k2 developers! I am trying to implement a rudimentary version [GNAT](https://arxiv.org/abs/2205.13674) in k2, largely following [the CTC implementation in Icefall](https://github.com/k2-fsa/icefall/blob/cad6735e0739f149ba3f452e52a948da946527dc/egs/librispeech/ASR/conformer_ctc/train.py#L398): 1. A sausage with actual scores is created using...

Currently both functions call ScoreCCandidate in SentenceScorer to get a ScoreP smart pointer (which, when non-null, gives access to non-static versions of Score::GetZero or Score::GetOne). However, most actual implementations of...

# What does this PR do? This PR adds inputs_to_logits_ratio to LasrCTCConfig so that LasrForCTC can be used in an ASR pipeline with chunked decoding. ## Before submitting - [...

Tested with Python 3.12: ``` uv venv -c --python 3.12 . .venv/bin/active uv pip install -e .[dev] pytest ```