kbressem commited on
Commit
56d6481
1 Parent(s): 9405874

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -62,7 +62,7 @@ You can use the model for inference tasks like question-answering and medical di
62
 
63
  from transformers import pipeline
64
 
65
- qa_pipeline = pipeline("question-answering", model="GerMedBERT/medalpaca-7b", tokenizer="GerMedBERT/medalpaca-7b")
66
  question = "What are the symptoms of diabetes?"
67
  context = "Diabetes is a metabolic disease that causes high blood sugar. The symptoms include increased thirst, frequent urination, and unexplained weight loss."
68
  answer = qa_pipeline({"question": question, "context": context})
 
62
 
63
  from transformers import pipeline
64
 
65
+ qa_pipeline = pipeline("question-answering", model="medalpaca/medalpaca-7b", tokenizer="medalpaca/medalpaca-7b")
66
  question = "What are the symptoms of diabetes?"
67
  context = "Diabetes is a metabolic disease that causes high blood sugar. The symptoms include increased thirst, frequent urination, and unexplained weight loss."
68
  answer = qa_pipeline({"question": question, "context": context})