Instructions to use AdamCodd/distilbart-sum-arxiv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AdamCodd/distilbart-sum-arxiv with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("AdamCodd/distilbart-sum-arxiv") model = AutoModelForSeq2SeqLM.from_pretrained("AdamCodd/distilbart-sum-arxiv", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,7 +13,7 @@ This model is a fine-tuned version of [sshleifer/distilbart-xsum-12-6](https://h
|
|
| 13 |
* RougeLSum: 24.260
|
| 14 |
|
| 15 |
## Model description
|
| 16 |
-
This model is a distilled version of BART with 306M parameters (vs. 406 for the BART model)
|
| 17 |
|
| 18 |
## Intended uses & limitations
|
| 19 |
Since this model has been trained on scientific papers, it may perform poorly when attempting to summarize other types of content.
|
|
|
|
| 13 |
* RougeLSum: 24.260
|
| 14 |
|
| 15 |
## Model description
|
| 16 |
+
This model is a distilled version of BART with 306M parameters (vs. 406 for the BART model) prioritizing speed with a 1.68x faster inference rate. It has been trained on 60_000 samples and has a limitation of 1024 tokens.
|
| 17 |
|
| 18 |
## Intended uses & limitations
|
| 19 |
Since this model has been trained on scientific papers, it may perform poorly when attempting to summarize other types of content.
|