This model is a fine-tuned version of mcsabai/huBert-fine-tuned-hungarian-squadv2 on the milqa dataset.
How to use:
from transformers import pipeline
qa_pipeline = pipeline(
"question-answering",
model = "ZTamas/hubert-qa-milqa-impossible",
tokenizer = "ZTamas/hubert-qa-milqa-impossible",
device = 0, #GPU selection, -1 on CPU
handle_impossible_answer = True,
max_answer_len = 50
)
predictions = qa_pipeline({
'context': context,
'question': question
})
print(predictions)
- Downloads last month
- 89
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.