Fill-Mask
Transformers
PyTorch
English
bart
text2text-generation
summarization
long context
custom_code
Instructions to use ccdv/lsg-bart-base-16384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ccdv/lsg-bart-base-16384 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ccdv/lsg-bart-base-16384", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ccdv/lsg-bart-base-16384", trust_remote_code=True) model = AutoModelForSeq2SeqLM.from_pretrained("ccdv/lsg-bart-base-16384", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
small fix
bf675ee
-
fix for transformers >= 4.35.2
5e22f52
-
bos_token + readme
b61a610
-
update for transformers >= 4.29.1
080bc4a
-
readme + version
a3b14d2
-
readme
2d03238
-
small fix with torch.finfo
8eb4e9a
-
readme
612a63a
-
readme
d09c9a9
-
fix version 4.23
f5d2721
-
replace 1e4 mask
fc051b4
-
config
5e95b21 -
config
de6c06a -
first
003a42f -
initial commit
aadef97