Instructions to use facebook/bart-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/bart-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="facebook/bart-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("facebook/bart-base") model = AutoModel.from_pretrained("facebook/bart-base", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
2557745
-
Update config.json
d7db7a7
-
Update config.json
bc16ad0 -
Update pytorch_model.bin
757bac0 -
Update config.json
a0f3da1 -
Update config.json
e658f90 -
initial commit
a1f138e