Transformers
PyTorch
Chinese
marian
text2text-generation
Seq2SeqLM
古文
文言文
中国古代官职翻译
ancient
classical
Instructions to use cbdb/ClassicalChineseOfficeTitleTranslation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cbdb/ClassicalChineseOfficeTitleTranslation with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("cbdb/ClassicalChineseOfficeTitleTranslation") model = AutoModelForSeq2SeqLM.from_pretrained("cbdb/ClassicalChineseOfficeTitleTranslation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download source.spm from cbdb/ClassicalChineseOfficeTitleTranslation: direct link, hf CLI and curl.
- Browser
- Download file 805 kB
-
https://huggingface.co/cbdb/ClassicalChineseOfficeTitleTranslation/resolve/refs%2Fpr%2F2/source.spm
- Command line
-
hf download hf://cbdb/ClassicalChineseOfficeTitleTranslation@refs/pr/2/source.spm
-
curl -L -o source.spm https://huggingface.co/cbdb/ClassicalChineseOfficeTitleTranslation/resolve/refs%2Fpr%2F2/source.spm
805 kB
This file contains binary data. It cannot be displayed, but you can still download it.