AbhilashDatta
commited on
Commit
•
c564920
1
Parent(s):
ce3fa9c
Update README.md
Browse files
README.md
CHANGED
@@ -10,8 +10,8 @@ Import the pretrained model as well as tokenizer:
|
|
10 |
```
|
11 |
from transformers import T5ForConditionalGeneration, T5Tokenizer
|
12 |
|
13 |
-
model = T5ForConditionalGeneration.from_pretrained('AbhilashDatta/T5_qgen-
|
14 |
-
tokenizer = T5Tokenizer.from_pretrained('AbhilashDatta/T5_qgen-
|
15 |
```
|
16 |
|
17 |
Then use the tokenizer to encode/decode and model to generate:
|
|
|
10 |
```
|
11 |
from transformers import T5ForConditionalGeneration, T5Tokenizer
|
12 |
|
13 |
+
model = T5ForConditionalGeneration.from_pretrained('AbhilashDatta/T5_qgen-squad_v1')
|
14 |
+
tokenizer = T5Tokenizer.from_pretrained('AbhilashDatta/T5_qgen-squad_v1')
|
15 |
```
|
16 |
|
17 |
Then use the tokenizer to encode/decode and model to generate:
|