Aditya757864 commited on
Commit
fe8a7cb
·
verified ·
1 Parent(s): f9b8ba4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ base_model = T5ForConditionalGeneration.from_pretrained( checkpoint, device_map
21
 
22
  def llm_pipeline():
23
  pipe = pipeline(
24
- 'text2text-generation',
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,