JAlexis commited on
Commit
5bbe11a
·
1 Parent(s): 82d1e66

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -20,8 +20,8 @@ from transformers.pipelines import pipeline
20
  model_name = "JAlexis/ajuste_01"
21
  nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
22
  inputs = {
23
- 'question': 'How can I protect myself against covid-19?',
24
- 'context': 'Preventative measures consist of recommendations to wear a mask in public, maintain social distancing of at least six feet, wash hands regularly, and use hand sanitizer. To facilitate this aim, we adapt the conceptual model and measures of Liao et al. [6] to the current context of the COVID-19 pandemic and the culture of the USA. Applying this model in a different time and context provides an opportunity to make comparisons of reactions to information sources across a decade of evolving attitudes toward media and government, between two cultures (Hong Kong vs. the USA), and between two considerably different global pandemics (H1N1 vs. COVID-19). ',
25
  }
26
  nlp(inputs)
27
  ```
 
20
  model_name = "JAlexis/ajuste_01"
21
  nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
22
  inputs = {
23
+ 'question': 'What are the risk factors for covid-19?',
24
+ '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.',
25
  }
26
  nlp(inputs)
27
  ```