Update README.md
Browse files
README.md
CHANGED
|
@@ -1,24 +1,27 @@
|
|
| 1 |
---
|
| 2 |
license:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
tags:
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
| 13 |
datasets:
|
| 14 |
-
|
| 15 |
metrics:
|
| 16 |
-
|
| 17 |
inference: false
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
|
| 21 |
-
# long-t5-tglobal-xl-16384-book-summary:
|
| 22 |
|
| 23 |
<a href="https://colab.research.google.com/gist/pszemraj/c19e32baf876deb866c31cd46c86e893/long-t5-xl-accelerate-test.ipynb">
|
| 24 |
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
|
@@ -28,9 +31,9 @@ This is an 8-bit quantized version of the `pszemraj/long-t5-tglobal-xl-16384-boo
|
|
| 28 |
|
| 29 |
Refer to the [original model](https://huggingface.co/pszemraj/long-t5-tglobal-xl-16384-book-summary) for all details about the model architecture and training process. For more information on loading 8-bit models, refer to the `4.28.0` [release information](https://github.com/huggingface/transformers/releases/tag/v4.28.0) and the [example repository](https://huggingface.co/ybelkada/bloom-1b7-8bit).
|
| 30 |
|
| 31 |
-
- The total size of the model is only ~3.5 GB
|
| 32 |
-
-
|
| 33 |
-
- `bitsandbytes` - AFAIK at time of writing
|
| 34 |
|
| 35 |
|
| 36 |
## Basic Usage
|
|
@@ -56,4 +59,4 @@ model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
|
| 56 |
|
| 57 |
- This is an 8-bit quantized version of `pszemraj/long-t5-tglobal-xl-16384-book-summary`.
|
| 58 |
- It generalizes reasonably well to academic and narrative text.
|
| 59 |
-
- The XL checkpoint typically generates summaries that are considerably better from a human evaluation perspective.
|
|
|
|
| 1 |
---
|
| 2 |
license:
|
| 3 |
+
- apache-2.0
|
| 4 |
+
- bsd-3-clause
|
| 5 |
tags:
|
| 6 |
+
- summarization
|
| 7 |
+
- summary
|
| 8 |
+
- booksum
|
| 9 |
+
- long-document
|
| 10 |
+
- long-form
|
| 11 |
+
- tglobal-xl
|
| 12 |
+
- XL
|
| 13 |
+
- 8bit
|
| 14 |
+
- quantized
|
| 15 |
datasets:
|
| 16 |
+
- kmfoda/booksum
|
| 17 |
metrics:
|
| 18 |
+
- rouge
|
| 19 |
inference: false
|
| 20 |
+
pipeline_tag: summarization
|
| 21 |
---
|
| 22 |
|
| 23 |
|
| 24 |
+
# long-t5-tglobal-xl-16384-book-summary: 8-bit quantized version
|
| 25 |
|
| 26 |
<a href="https://colab.research.google.com/gist/pszemraj/c19e32baf876deb866c31cd46c86e893/long-t5-xl-accelerate-test.ipynb">
|
| 27 |
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
|
|
|
| 31 |
|
| 32 |
Refer to the [original model](https://huggingface.co/pszemraj/long-t5-tglobal-xl-16384-book-summary) for all details about the model architecture and training process. For more information on loading 8-bit models, refer to the `4.28.0` [release information](https://github.com/huggingface/transformers/releases/tag/v4.28.0) and the [example repository](https://huggingface.co/ybelkada/bloom-1b7-8bit).
|
| 33 |
|
| 34 |
+
- The total size of the model is only ~3.5 GB (vs original 12 GB)
|
| 35 |
+
- Enables low-RAM loading, making it easier to use in memory-limited environments like Colab
|
| 36 |
+
- Requires `bitsandbytes` - AFAIK at time of writing, only works on GPU
|
| 37 |
|
| 38 |
|
| 39 |
## Basic Usage
|
|
|
|
| 59 |
|
| 60 |
- This is an 8-bit quantized version of `pszemraj/long-t5-tglobal-xl-16384-book-summary`.
|
| 61 |
- It generalizes reasonably well to academic and narrative text.
|
| 62 |
+
- The XL checkpoint typically generates summaries that are considerably better from a human evaluation perspective.
|