Update README.md
Browse files
README.md
CHANGED
@@ -44,7 +44,7 @@ This dataset can be used to build extractive-QA.
|
|
44 |
from transformers import T5ForConditionalGeneration, AutoTokenizer
|
45 |
import torch
|
46 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
47 |
-
ckpt = 'spanish-t5-small-sqac-for-qa'
|
48 |
tokenizer = AutoTokenizer.from_pretrained(ckpt)
|
49 |
model = T5ForConditionalGeneration.from_pretrained(ckpt).to(device)
|
50 |
|
|
|
44 |
from transformers import T5ForConditionalGeneration, AutoTokenizer
|
45 |
import torch
|
46 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
47 |
+
ckpt = 'mrm8488/spanish-t5-small-sqac-for-qa'
|
48 |
tokenizer = AutoTokenizer.from_pretrained(ckpt)
|
49 |
model = T5ForConditionalGeneration.from_pretrained(ckpt).to(device)
|
50 |
|