Instructions to use IDEA-CCNL/Randeng-BART-139M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IDEA-CCNL/Randeng-BART-139M with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("IDEA-CCNL/Randeng-BART-139M") model = AutoModelForSeq2SeqLM.from_pretrained("IDEA-CCNL/Randeng-BART-139M", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from IDEA-CCNL/Randeng-BART-139M: direct link, hf CLI and curl.
- Browser
- Download file 1.99 MB
-
https://huggingface.co/IDEA-CCNL/Randeng-BART-139M/resolve/main/tokenizer.json
- Command line
-
hf download hf://IDEA-CCNL/Randeng-BART-139M/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/IDEA-CCNL/Randeng-BART-139M/resolve/main/tokenizer.json
1.99 MB
File too large to display, you can check the raw version instead.