Instructions to use OptimaMT/en-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use OptimaMT/en-zh with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('translation', 'OptimaMT/en-zh');
Download onnx/encoder_model_quantized.onnx from OptimaMT/en-zh: direct link, hf CLI and curl.
- Browser
- Download file 52.9 MB
-
https://huggingface.co/OptimaMT/en-zh/resolve/main/onnx/encoder_model_quantized.onnx
- Command line
-
hf download hf://OptimaMT/en-zh/onnx/encoder_model_quantized.onnx
-
curl -L -o encoder_model_quantized.onnx https://huggingface.co/OptimaMT/en-zh/resolve/main/onnx/encoder_model_quantized.onnx
52.9 MB
- Xet hash:
- 139765406a5b1619864675db77e900d570b70af98870456f696d1f832974d0a7
- Size of remote file:
- 52.9 MB
- SHA256:
- d3b7912bf6a9bd27e4c074c2df91d4ff3d5b4bc5f7f6c8d7cc9c805c98fbafee
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.