Update README.md
Browse files
README.md
CHANGED
@@ -197,13 +197,17 @@ This model is a fine-tuned version of [google/long-t5-tglobal-base](https://hugg
|
|
197 |
|
198 |
## Usage
|
199 |
|
200 |
-
It's recommended to
|
201 |
|
202 |
|
|
|
|
|
203 |
```bash
|
204 |
pip install -U textsum
|
205 |
```
|
206 |
|
|
|
|
|
207 |
```python
|
208 |
from textsum.summarize import Summarizer
|
209 |
|
|
|
197 |
|
198 |
## Usage
|
199 |
|
200 |
+
It's recommended to use this model with [beam search decoding] (https://huggingface.co/docs/transformers/generation_strategies#beamsearch-decoding). If you are interested, you can also use the `textsum` util repo to have most of this abstracted for you:
|
201 |
|
202 |
|
203 |
+
Install with `pip`:
|
204 |
+
|
205 |
```bash
|
206 |
pip install -U textsum
|
207 |
```
|
208 |
|
209 |
+
Use in python:
|
210 |
+
|
211 |
```python
|
212 |
from textsum.summarize import Summarizer
|
213 |
|