ArtifactAI
commited on
Commit
·
e0babc4
1
Parent(s):
b92259c
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,3 +8,12 @@ datasets:
|
|
| 8 |
## Introduction
|
| 9 |
|
| 10 |
[Allenai's Longformer Encoder-Decoder (LED)](https://github.com/allenai/longformer#longformer) finetuned on BillSum dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
## Introduction
|
| 9 |
|
| 10 |
[Allenai's Longformer Encoder-Decoder (LED)](https://github.com/allenai/longformer#longformer) finetuned on BillSum dataset.
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
```
|
| 14 |
+
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
| 15 |
+
|
| 16 |
+
tokenizer = AutoTokenizer.from_pretrained("Artifact-AI/led_large_16384_billsum_summarization")
|
| 17 |
+
|
| 18 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("Artifact-AI/led_large_16384_billsum_summarization")
|
| 19 |
+
```
|