Downloads · 30 days
23
5% of all-time downloads
JAlexis/ajuste_01
ajuste_01 is a question answering model from JAlexis. Use it when the input is a question plus a passage. It is set up for transformers.
This model was obtained by fine-tuning deepset/bert-base-cased-squad2 on Cord19 Dataset.
Downloads · 30 days
23
5% of all-time downloads
All-time downloads
462
Public
Repo size
862 MB
Likes
0
Public
Click a slice to open those files.
.bin431 MB · 100%
From the Hugging Face model README
This model was obtained by fine-tuning deepset/bert-base-cased-squad2 on Cord19 Dataset.
from transformers.pipelines import pipeline
model_name = "JAlexis/ajuste_01"
nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
inputs = {
'question': 'What are the risk factors for covid-19?',
'context': 'To identify risk factors for hospital deaths from COVID-19, the OpenSAFELY platform examined electronic health records from 17.4 million UK adults. The authors used multivariable Cox proportional hazards model to identify the association of risk of death with older age, lower socio-economic status, being male, non-white ethnic background and certain clinical conditions (diabetes, obesity, cancer, respiratory diseases, heart, kidney, liver, neurological and autoimmune conditions). Notably, asthma was identified as a risk factor, despite prior suggestion of a potential protective role. Interestingly, higher risks due to ethnicity or lower socio-economic status could not be completely attributed to pre-existing health conditions.',
}
nlp(inputs)