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:
- d9c1f2ed5686e1852c157bc22313bd152f5b844fabe40b6c346e30496b12c146
- Size of remote file:
- 310 MB
- SHA256:
- 5eb91bffbeeaae3f963e40e7232e55d87767d0afebf6b4c2fd6e16a1c40926df
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.