Commit
·
7244cd9
1
Parent(s):
148f8c9
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,7 +23,8 @@ metrics:
|
|
| 23 |
<a href="https://colab.research.google.com/drive/1fNOfy7oHYETI_KzJSz8JrhYohFBBl0HY">
|
| 24 |
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
| 25 |
</a>
|
| 26 |
-
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
A fine-tuned version of [google/flan-t5-xxl](https://huggingface.co/google/flan-t5-xxl) on various summarization datasets (xsum, wikihow, cnn_dailymail/3.0.0, samsum, scitldr/AIC, billsum, TLDR, wikipedia-summary)
|
|
@@ -59,7 +60,7 @@ This pipeline will run slower and not have some of the tokenization parameters a
|
|
| 59 |
```python
|
| 60 |
from transformers import pipeline
|
| 61 |
|
| 62 |
-
summarizer = pipeline("summarization", "jordiclive/flan-t5-11b-summarizer-filtered", torch_dtype=torch.bfloat16)
|
| 63 |
|
| 64 |
raw_document = 'You must be 18 years old to live or work in New York State...'
|
| 65 |
prompt = "Summarize the following article in 10-20 words:"
|
|
|
|
| 23 |
<a href="https://colab.research.google.com/drive/1fNOfy7oHYETI_KzJSz8JrhYohFBBl0HY">
|
| 24 |
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
| 25 |
</a>
|
| 26 |
+
|
| 27 |
+
**Note** This model is a further trained version of [jordiclive/flan-t5-11b-summarizer-filtered](https://huggingface.co/jordiclive/flan-t5-11b-summarizer-filtered).
|
| 28 |
|
| 29 |
|
| 30 |
A fine-tuned version of [google/flan-t5-xxl](https://huggingface.co/google/flan-t5-xxl) on various summarization datasets (xsum, wikihow, cnn_dailymail/3.0.0, samsum, scitldr/AIC, billsum, TLDR, wikipedia-summary)
|
|
|
|
| 60 |
```python
|
| 61 |
from transformers import pipeline
|
| 62 |
|
| 63 |
+
summarizer = pipeline("summarization", "jordiclive/flan-t5-11b-summarizer-filtered-1.5-epoch", torch_dtype=torch.bfloat16)
|
| 64 |
|
| 65 |
raw_document = 'You must be 18 years old to live or work in New York State...'
|
| 66 |
prompt = "Summarize the following article in 10-20 words:"
|