Update README.md
Browse files
README.md
CHANGED
@@ -32,7 +32,7 @@ Refer https://github.com/PraveenSH/RL-Query-Reformulation for more details.
|
|
32 |
|
33 |
|
34 |
### How to use
|
35 |
-
|
36 |
```
|
37 |
import torch
|
38 |
from transformers import T5ForConditionalGeneration, T5Tokenizer
|
|
|
32 |
|
33 |
|
34 |
### How to use
|
35 |
+
For optimal utilization of this model, use sampling with repetition penalty to generate diverse samples. Below is the provided sample code.
|
36 |
```
|
37 |
import torch
|
38 |
from transformers import T5ForConditionalGeneration, T5Tokenizer
|