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