Instructions to use arrow-hf/bart-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arrow-hf/bart-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="arrow-hf/bart-large")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("arrow-hf/bart-large") model = AutoModel.from_pretrained("arrow-hf/bart-large") - Notebooks
- Google Colab
- Kaggle
File size: 920 Bytes
6b31f3d 6e25fa9 6b31f3d 6e25fa9 6b31f3d 6e25fa9 6b31f3d 6e25fa9 b3764c9 6e25fa9 6b31f3d 6e25fa9 6b31f3d 6e25fa9 b3764c9 6e25fa9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ---
tags:
- bart
- mirror
library_name: transformers
license: apache-2.0
---
# BART-large (full mirror)
Full mirror of [facebook/bart-large](https://huggingface.co/facebook/bart-large) — includes model weights (`pytorch_model.bin`, ~971 MB), tokenizer files, config.
Mirrored via `huggingface_hub.snapshot_download` for archival; identical to the upstream snapshot at mirror time.
## Usage
```python
from transformers import AutoModel, AutoTokenizer
model = AutoModel.from_pretrained("arrow-hf/bart-large")
tokenizer = AutoTokenizer.from_pretrained("arrow-hf/bart-large")
```
## Related
The tokenizer is used by [arrow-hf/xvla-robotwin-stack-bowls-two-40pct](https://huggingface.co/arrow-hf/xvla-robotwin-stack-bowls-two-40pct) (max_length=50). The X-VLA model uses the BART tokenizer vocabulary; the Florence2 vision-language backbone has its own learned weights and does not load BART's weights directly.
|