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