File size: 389 Bytes
4844514
374cbe8
4844514
374cbe8
 
4844514
 
374cbe8
4844514
1
2
3
4
5
6
7
8
9
import gradio as gr
from qasrl_model_pipeline import QASRL_Pipeline
model = "kleinay/qanom-seq2seq-model-baseline"
pipeline = QASRL_Pipeline(model)

description = f"""This is a demo of the '{model}' model, which fine-tuned a Seq2Seq pretrained model on the QANom task""" 
title="QANom Parser Demo"
iface = gr.Interface.load(fn=pipeline, title=title, description=description)
iface.launch()