[GH-ISSUE #1363] Meditron stops after the first line of answer #715

Closed
opened 2026-04-12 10:23:00 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @orkutmuratyilmaz on GitHub (Dec 3, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1363

Hello all,

I've tried Meditron with "ollama run meditron" and after that, I've asked "what are the symptoms of Kawasaki disease?".

The answer started with one line definition of Kawasaki disease and stopped after that.

I've tried with different questions, but results were only one liners.

What could be the reason for that?

Best,
Orkut

Originally created by @orkutmuratyilmaz on GitHub (Dec 3, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1363 Hello all, I've tried Meditron with "`ollama run meditron`" and after that, I've asked "what are the symptoms of Kawasaki disease?". The answer started with one line definition of Kawasaki disease and stopped after that. I've tried with different questions, but results were only one liners. What could be the reason for that? Best, Orkut
Author
Owner

@BruceMacD commented on GitHub (Dec 4, 2023):

The short answers are probably related to what the data the model was trained on looked like. You might be able to get longer answers if you're looking for something more verbose by increasing the temperature and modifying your prompt.

>>> /set parameter temperature 1.2
Set parameter 'temperature' to '1.2'

>>> what is kawasaki disease, answer at length with details
The disease is named after a Japanese pediatrician who first described it in 1967. It causes
inflammation and swelling of blood vessels throughout the body, especially the coronary
arteries. The name mucocutaneous lymph node syndrome comes from this finding, which is when an
examiner looks underneath a patient's arm at the bones in their forearm to see enlarged lymph
nodes (swollen immune system cells) as well as other redness and swelling of the skin. The term
vasculitis describes inflammation or irritation of blood vessels, which is the actual cause of
this condition.
The illness most often happens in children aged 6 months to 8 years old; however, it can happen
in older people and teenagers too. Boys are more likely than girls to be affected. There's no
cure for Kawasaki disease; however, medicines such as high doses of aspirin help lower the
chance of heart problems after the illness.
Kawasaki disease happens when a person has an infection with the virus known as coronavirus,
which is common and causes cold-like symptoms but can sometimes cause severe respiratory and
gastrointestinal illnesses too. There are many types of viruses that cause similar illnesses,
including coxsackievirus A9 and adenovirus 12.
In Kawasaki disease, the coronavirus makes the lining of blood vessels weak and damaged so they
bleed easily. When a person's heart muscles have no support from strong blood vessels, it is
easier for them to be injured or damaged during a heart attack or other problems that lead to
the death of heart cells (myocardial infarction).

Just a warning that this seems like it could make the model more likely for the model to hallucinate.

<!-- gh-comment-id:1839664259 --> @BruceMacD commented on GitHub (Dec 4, 2023): The short answers are probably related to what the data the model was trained on looked like. You might be able to get longer answers if you're looking for something more verbose by increasing the temperature and modifying your prompt. ``` >>> /set parameter temperature 1.2 Set parameter 'temperature' to '1.2' >>> what is kawasaki disease, answer at length with details The disease is named after a Japanese pediatrician who first described it in 1967. It causes inflammation and swelling of blood vessels throughout the body, especially the coronary arteries. The name mucocutaneous lymph node syndrome comes from this finding, which is when an examiner looks underneath a patient's arm at the bones in their forearm to see enlarged lymph nodes (swollen immune system cells) as well as other redness and swelling of the skin. The term vasculitis describes inflammation or irritation of blood vessels, which is the actual cause of this condition. The illness most often happens in children aged 6 months to 8 years old; however, it can happen in older people and teenagers too. Boys are more likely than girls to be affected. There's no cure for Kawasaki disease; however, medicines such as high doses of aspirin help lower the chance of heart problems after the illness. Kawasaki disease happens when a person has an infection with the virus known as coronavirus, which is common and causes cold-like symptoms but can sometimes cause severe respiratory and gastrointestinal illnesses too. There are many types of viruses that cause similar illnesses, including coxsackievirus A9 and adenovirus 12. In Kawasaki disease, the coronavirus makes the lining of blood vessels weak and damaged so they bleed easily. When a person's heart muscles have no support from strong blood vessels, it is easier for them to be injured or damaged during a heart attack or other problems that lead to the death of heart cells (myocardial infarction). ``` Just a warning that this seems like it could make the model more likely for the model to hallucinate.
Author
Owner

@orkutmuratyilmaz commented on GitHub (Dec 6, 2023):

@BruceMacD thanks for your solution, it worked so nice:

$ ollama run meditron
                                                                                                                                                                   
>>> /set parameter temperature 1.2
Set parameter 'temperature' to '1.2'

>>>  what is kawasaki disease, answer at length with details?
Kawasaki disease, also known as mucocutaneous lymph node syndrome (MCLS), is an uncommon inflammatory disorder that primarily affects the blood vessels.
In the past it was thought to be a childhood illness but in reality any age group can be affected. Children younger than 5 years old are most at risk, although it is being diagnosed with increasing 
frequency in adults as well.
It usually takes effect on one side of the body first, then affects other areas or even the opposite side of the body, over a period of time ranging from two weeks to three months.
A person who has this disease may have a fever lasting longer than 5 days. In addition, he/she may also present with an intense redness and swelling of the skin (especially in the hands, feet, eyes and 
mouth); these areas will show signs of having been affected by small blisters or petechiae (small purple spots) or bullae.
Kawasaki disease is not caused by an infectious organism; its etiology still remains unknown but researchers believe that it is related to the immune system's reaction against some kind of infection or a 
hypersensitive immune response caused by something in the environment.
The illness was named after Dr. Tomisaku Kawasaki who first described this disease in 1967 at the University Hospital in Sapporo, Japan. It is important to note that it does not have a specific cure; 
however, many medications can help reduce symptoms and prevent long-term complications from developing if caught early on by treating fever, sore throat, red eyes, or rashes associated with the disease as 
soon as possible.
The most common way that people get Kawasaki Disease is when they are exposed to a virus in their mouth and then it travels up through your bloodstream until reaching various parts of your body including 
your heart (the coronary arteries). This usually happens during childhood; however, adults can also develop this disease by being infected with other bacteria or viruses.
If left untreated for too long then the coronary artery can become scarred and thickened from inflammation leading to blockages which could cause a stroke or heart attack if they block blood flow through 
their chambers (known as stenosis). These patients should have regular check-ups with their physician every year even though they don't seem like they might have any issues because this can prevent the 
disease from progressing further.

I'm closing the issue right now:)

<!-- gh-comment-id:1843209646 --> @orkutmuratyilmaz commented on GitHub (Dec 6, 2023): @BruceMacD thanks for your solution, it worked so nice: ``` $ ollama run meditron >>> /set parameter temperature 1.2 Set parameter 'temperature' to '1.2' >>> what is kawasaki disease, answer at length with details? Kawasaki disease, also known as mucocutaneous lymph node syndrome (MCLS), is an uncommon inflammatory disorder that primarily affects the blood vessels. In the past it was thought to be a childhood illness but in reality any age group can be affected. Children younger than 5 years old are most at risk, although it is being diagnosed with increasing frequency in adults as well. It usually takes effect on one side of the body first, then affects other areas or even the opposite side of the body, over a period of time ranging from two weeks to three months. A person who has this disease may have a fever lasting longer than 5 days. In addition, he/she may also present with an intense redness and swelling of the skin (especially in the hands, feet, eyes and mouth); these areas will show signs of having been affected by small blisters or petechiae (small purple spots) or bullae. Kawasaki disease is not caused by an infectious organism; its etiology still remains unknown but researchers believe that it is related to the immune system's reaction against some kind of infection or a hypersensitive immune response caused by something in the environment. The illness was named after Dr. Tomisaku Kawasaki who first described this disease in 1967 at the University Hospital in Sapporo, Japan. It is important to note that it does not have a specific cure; however, many medications can help reduce symptoms and prevent long-term complications from developing if caught early on by treating fever, sore throat, red eyes, or rashes associated with the disease as soon as possible. The most common way that people get Kawasaki Disease is when they are exposed to a virus in their mouth and then it travels up through your bloodstream until reaching various parts of your body including your heart (the coronary arteries). This usually happens during childhood; however, adults can also develop this disease by being infected with other bacteria or viruses. If left untreated for too long then the coronary artery can become scarred and thickened from inflammation leading to blockages which could cause a stroke or heart attack if they block blood flow through their chambers (known as stenosis). These patients should have regular check-ups with their physician every year even though they don't seem like they might have any issues because this can prevent the disease from progressing further. ``` I'm closing the issue right now:)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#715