Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ base_model = T5ForConditionalGeneration.from_pretrained( checkpoint, device_map
|
|
| 21 |
|
| 22 |
def llm_pipeline():
|
| 23 |
pipe = pipeline(
|
| 24 |
-
'
|
| 25 |
model = base_model,
|
| 26 |
tokenizer = tokenizer,
|
| 27 |
do_sample = True,
|
|
|
|
| 21 |
|
| 22 |
def llm_pipeline():
|
| 23 |
pipe = pipeline(
|
| 24 |
+
'question-answering',
|
| 25 |
model = base_model,
|
| 26 |
tokenizer = tokenizer,
|
| 27 |
do_sample = True,
|