How to use Xenova/ernie-3.0-medium-zh with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('fill-mask', 'Xenova/ernie-3.0-medium-zh');