Skip to content

Releases: dalelane/tfjs-models

1.0.0-fix

15 Dec 14:11
Compare
Choose a tag to compare
1.0.0-fix Pre-release
Pre-release
fix: improve check for accessing token map in qna model

This commit has a small fix in the qna model function
getBestAnswers to protect the calls to convertBack so that it is
only called with indexes that can be found in tokenToOrigMap.

Contributes to: tensorflow/tfjs#5946

Signed-off-by: Dale Lane <[email protected]>