Translation
Transformers
PyTorch
TensorBoard
English
Chinese
marian
text2text-generation
Generated from Trainer
Instructions to use DunnBC22/opus-mt-zh-en-Chinese_to_English with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DunnBC22/opus-mt-zh-en-Chinese_to_English with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="DunnBC22/opus-mt-zh-en-Chinese_to_English")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("DunnBC22/opus-mt-zh-en-Chinese_to_English") model = AutoModelForSeq2SeqLM.from_pretrained("DunnBC22/opus-mt-zh-en-Chinese_to_English") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- e1004dc20fb9faef49ebbf215350b6107b43413f6956021bd4cd3648bdf52e49
- Size of remote file:
- 807 kB
- SHA256:
- 6a881f4717cd7265f53fea54fd3dc689c767c05338fac7a4590f3088cb2d7855
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.