async function run() { const { vitchen_toxicity_encode } = require('./bert-tiny-multilingual/bert-tokenizer'); const {loadSavedModel, tensor} = require('./bert-tiny-multilingual/node'); const model = await loadSavedModel('./toxicity9'); const input = vitchen_toxicity_encode(`What's up?`); let t = tensor(input, [192], 'int32'); const prediction = model.predict({ input_ids: t })['output_0']; console.log(prediction.dataSync()[0]) } run()