Instructions to use sshleifer/tinier_bart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sshleifer/tinier_bart with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("sshleifer/tinier_bart") model = AutoModelForSeq2SeqLM.from_pretrained("sshleifer/tinier_bart", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
add flax model
ed9a6fc
-
Update vocab.json
4ae71b2 -
Update tokenizer_config.json
3479d2b -
Update merges.txt
3c7a27b -
Update vocab.json
4dc9373 -
Update tokenizer_config.json
d0fab5a -
Update merges.txt
2ab3b8d
-
Update pytorch_model.bin
210bd8b -
Update config.json
f642705 -
Update config.json
8943f66 -
Update config.json
3bd1005 -
initial commit
96354dc