Instructions to use Python/cls_en2zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Python/cls_en2zh with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Python/cls_en2zh") model = AutoModelForSeq2SeqLM.from_pretrained("Python/cls_en2zh") - Notebooks
- Google Colab
- Kaggle
Ctrl+K