Instructions to use ACEEE1222/bart-large-chinese-LCSTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ACEEE1222/bart-large-chinese-LCSTS with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("fnlp/bart-large-chinese") model = PeftModel.from_pretrained(base_model, "ACEEE1222/bart-large-chinese-LCSTS") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from ACEEE1222/bart-large-chinese-LCSTS: direct link, hf CLI and curl.
- Browser
- Download file 1.07 MB
-
https://huggingface.co/ACEEE1222/bart-large-chinese-LCSTS/resolve/main/tokenizer.json
- Command line
-
hf download hf://ACEEE1222/bart-large-chinese-LCSTS/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/ACEEE1222/bart-large-chinese-LCSTS/resolve/main/tokenizer.json
1.07 MB
File too large to display, you can check the raw version instead.