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:
- 955b4bed478a9e75b07b32f529ba0ee6a8d6fc665708b96bb7ad0cc86d1f2320
- Size of remote file:
- 4.16 kB
- SHA256:
- a91cbb325ee63a4bb6c023da37a7301049413bd32bcdf1619cd36c51a5d38052
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.