Instructions to use congcongwang/bart-base-en-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use congcongwang/bart-base-en-zh with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("congcongwang/bart-base-en-zh") model = AutoModelForSeq2SeqLM.from_pretrained("congcongwang/bart-base-en-zh", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update pytorch_model.bin
5374572 -
Update vocab.json
0c649d0 -
Update tokenizer_config.json
3787723 -
Update special_tokens_map.json
4c5697c -
Update merges.txt
650b4cf -
Update config.json
a251e99 -
initial commit
8604201