Spaces:
Running
Running
from transformers import pipeline | |
qa_model = pipeline("question-answering") | |
question = "Where do I live?" | |
context = "My name is Merve and I live in İstanbul." | |
x = qa_model(question = question, context = context) | |
console.log('qa_model',x) |