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
-
Adding `safetensors` variant of this model
1062de2
-
typo: encoder-encoder -> encoder-decoder (#1)
- typo: encoder-encoder -> encoder-decoder (697b60936996ac65b2b0e739ba3f02b12115f319) Co-authored-by: Daniel Levenson <dleve123@users.noreply.huggingface.co>8435883
-
Update config.json
d0af988
-
remove ipynb file
ea0107e -
update mask token embeddings
b0c3779
-
Fix code example
7652e0c -
Add model card
51f9983
-
add flax model
c5eee23
-
Move tokenizer.json from roberta-large
c2469fb
-
Added vocabulary files from robert-large repo
Thomas Wolfdf1e90c
-
Update config.json
b2ec1a3
-
Update tf_model.h5
fc8b0d2
-
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