ansukla commited on
Commit
ccebd03
1 Parent(s): d8a5899

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -1
README.md CHANGED
@@ -3,10 +3,25 @@ license: apache-2.0
3
  language:
4
  - en
5
  pipeline_tag: question-answering
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  ---
7
  # Model Card for task-llm
8
 
9
  This model supports abstractive QA tasks. Given a set of passages and a question, it tries to generate a comprehensive answer by reading the passages.
 
10
 
11
  ## Model Details
12
 
@@ -53,7 +68,7 @@ qa_sum_client_bart = ClassificationClient(
53
  url=v100Url,
54
  retry=1,
55
  )
56
- # nlm-model-service suppports batch invocatin and you can send multiple question/passage pairs at a time.
57
  questions = ["what are the adverse reactions of Dimethylsulfoxide"]
58
  sentences = ["Dimethylsulfoxide Adverse reactions Garlic taste in mouth, dry skin, erythema and pruritis (2), urine discoloration, halitosis, agitation, hypotension, sedation and dizziness (13) have been reported following use of DMSO. Dimethylsulfoxide Adverse reactions: malaria and loose motion."]
59
  qa_sum_client_bart(questions, sentences)
 
3
  language:
4
  - en
5
  pipeline_tag: question-answering
6
+ widget:
7
+ - text: >-
8
+ ###Task: abstractive_qa
9
+
10
+ ###Question: what are the adverse reactions of Dimethylsulfoxide
11
+
12
+ ###Passages:Dimethylsulfoxide Adverse reactions Garlic taste in mouth, dry
13
+ skin, erythema and pruritis (2), urine discoloration, halitosis, agitation,
14
+ hypotension, sedation and dizziness (13) have been reported following use of
15
+ DMSO. Dimethylsulfoxide Adverse reactions: malaria and loose motion.
16
+ tags:
17
+ - rag
18
+ - question answering
19
+ - retrieval augmented generation
20
  ---
21
  # Model Card for task-llm
22
 
23
  This model supports abstractive QA tasks. Given a set of passages and a question, it tries to generate a comprehensive answer by reading the passages.
24
+ In other words, the model does the generation part of retrieval augmented generation (RAG).
25
 
26
  ## Model Details
27
 
 
68
  url=v100Url,
69
  retry=1,
70
  )
71
+ # nlm-model-service suppports batch invocation and you can send multiple question/passage pairs at a time.
72
  questions = ["what are the adverse reactions of Dimethylsulfoxide"]
73
  sentences = ["Dimethylsulfoxide Adverse reactions Garlic taste in mouth, dry skin, erythema and pruritis (2), urine discoloration, halitosis, agitation, hypotension, sedation and dizziness (13) have been reported following use of DMSO. Dimethylsulfoxide Adverse reactions: malaria and loose motion."]
74
  qa_sum_client_bart(questions, sentences)