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")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("facebook/bart-base") model = AutoModel.from_pretrained("facebook/bart-base") - Inference
- Notebooks
- Google Colab
- Kaggle
On which corpus was BartTokenizer trained?
#8
by boydcheung - opened
Could you specify the corpus and if I would like to extend the vocabulary, what is the expected way?