Instructions to use hou/translation-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hou/translation-model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hou/translation-model") model = AutoModelForSeq2SeqLM.from_pretrained("hou/translation-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
8a24cdb | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c01b29c7514b9d019c6cf6330703a1a8649a91962cf58950331f60f814fad9e5
size 2460465095
|