Views
No views yet
1from transformers import pipeline
2
3qa_pipeline = pipeline("question-answering", model="Hananguyen12/hana-cv-qa")
4
5# Example questions
6questions = [
7 "What is Hana's current job?",
8 "What programming languages does Hana know?",
9 "What is Hana's educational background?",
10 "What research is Hana working on?"
11]
12
13context = "Your CV context here..."
14
15for question in questions:
16 result = qa_pipeline(question=question, context=context)
17 print(f"Q: {question}")
18 print(f"A: {result['answer']}")