Instructions to use Sehong/t5-large-QuestionGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sehong/t5-large-QuestionGeneration with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Sehong/t5-large-QuestionGeneration") model = AutoModelForSeq2SeqLM.from_pretrained("Sehong/t5-large-QuestionGeneration") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -39,4 +39,12 @@ decode = tokenizer.decode(summary_ids.squeeze().tolist(), skip_special_tokens=Tr
|
|
| 39 |
decode = decode.replace(' # # ', '').replace(' ', ' ').replace(' ##', '')
|
| 40 |
|
| 41 |
print(decode)
|
| 42 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
decode = decode.replace(' # # ', '').replace(' ', ' ').replace(' ##', '')
|
| 40 |
|
| 41 |
print(decode)
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
## Evalutation
|
| 45 |
+
BLEU-1: 51.333
|
| 46 |
+
BLEU-2: 36.742
|
| 47 |
+
BLEU-3: 28.218
|
| 48 |
+
BLEU-4: 22.289
|
| 49 |
+
METEOR: 26.126
|
| 50 |
+
ROUGE-L: 51.069
|