Instructions to use DanVP/MoxhiMT-30-web with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use DanVP/MoxhiMT-30-web with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('translation', 'DanVP/MoxhiMT-30-web');
MoxhiMT-30 Web
Transformers.js / ONNX Runtime Web package for running MoxhiMT-30 Chinese-to-Vietnamese translation in a browser.
Recommended runtime variants:
import { pipeline } from '@huggingface/transformers';
const translator = await pipeline('translation', 'DanVP/MoxhiMT-30-web', {
dtype: 'q8', // wasm
});
For WebGPU-capable browsers, test dtype: 'fp16'.
This repo is generated from outputs/_ship_staging/moxhimt-30 by
scripts/web/export_moxhimt30_transformersjs.ps1.
- Downloads last month
- 18