Instructions to use Xenova/opus-mt-zh-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/opus-mt-zh-en with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('translation', 'Xenova/opus-mt-zh-en');
Conversion of ONNX files to TRT for TensorRT?
#1 opened about 2 years ago
by
gaudi