--- license: apache-2.0 base_model: bert-base-uncased tags: - generated_from_trainer metrics: - accuracy model-index: - name: Symptoms_to_Diagnosis_SonatafyAI_BERT_v1 results: [] widget: - text: "The constant thirst and frequent trips to the bathroom were the first signs that something was off. I remember feeling exhausted all the time, even after a full night's sleep. My vision seemed to blur occasionally, making it difficult to focus. And then there were the tingling sensations in my hands and feet, almost like pins and needles. It was alarming." - text: "The past few days have been quite rough for me. I woke up one morning feeling feverish and achy all over, as if I had been hit by a truck. The high fever seemed relentless, accompanied by intense headaches that made it hard to concentrate on anything else. My body felt weak and fatigued, and even the simplest tasks seemed like a Herculean effort. The joint and muscle pain were excruciating, making it difficult to move without wincing in discomfort. To add to the misery, a rash started to spread across my body, causing unbearable itching and discomfort. Despite trying to stay hydrated, I couldn't shake off the persistent nausea and vomiting. It's been a challenging time, and I can only hope for some relief soon." - text: "Lately, I've been feeling incredibly uncomfortable. It started with a persistent urge to urinate, even though very little would come out each time. The burning sensation during urination was unbearable, leaving me squirming in discomfort every time I visited the restroom. The lower abdominal pain added to my misery, a constant nagging ache that made it hard to focus on anything else. Despite my efforts to drink plenty of water, the frequency of urination only seemed to increase, disrupting my daily routine. The cloudy or foul-smelling urine was another troubling sign, indicating that something wasn't quite right. It's been a frustrating experience, and I can't wait to find some relief from these discomforts." - text: "Lately, I've been feeling under the weather, to say the least. It all began with a sudden onset of fever and general malaise, leaving me feeling exhausted and rundown. The telltale sign came soon after – small, itchy red bumps started appearing all over my body, starting on my face and then spreading to my chest, back, and limbs. These bumps quickly turned into fluid-filled blisters that were incredibly itchy and uncomfortable, making it hard to resist the urge to scratch. The sensation of itching was almost maddening, and despite my efforts to keep from scratching, the urge was often overwhelming. Along with the rash, I also experienced headaches and loss of appetite, further adding to my discomfort. It's been a challenging time, to say the least, and I'm eager for some relief from these relentless symptoms." - text: "Recently, I've been noticing some changes in my legs that have been causing me concern. There's a noticeable swelling and bulging of veins just beneath the surface of my skin, especially in my legs and feet. These veins appear twisted and gnarled, creating a lumpy and discolored appearance that I find quite distressing. Along with the visible changes, I've been experiencing aching and heaviness in my legs, particularly after long periods of standing or sitting. Sometimes, I even feel a throbbing or cramping sensation, which can be quite uncomfortable. Despite my efforts to elevate my legs and wear compression stockings, the symptoms persist, impacting my daily activities and quality of life. It's been a source of frustration and embarrassment, and I'm eager to find some relief from these persistent symptoms." - text: "Lately, I've been struggling with a persistent cough that seems to worsen with each passing day. Along with the cough, I've been experiencing sharp chest pains, especially when taking deep breaths. The fever and chills have been relentless, leaving me shivering one moment and sweating the next. Despite trying to rest and stay warm, the shortness of breath has been concerning, making even simple tasks feel like a struggle. It's been a challenging time, and I can only hope for some relief soon." - text: "Recently, I've been feeling unusually fatigued and dizzy, especially when standing up quickly. The pounding headaches have been relentless, often pulsating at the temples and leaving me feeling lightheaded. Despite my efforts to monitor my diet and reduce stress, the occasional nosebleeds and blurred vision have been concerning. It's been a worrisome experience, and I can't shake off the feeling that something isn't quite right with my health." - text: "Lately, I've been experiencing a gnawing pain in my abdomen that seems to flare up after eating certain foods. The pain is often accompanied by bloating and nausea, making me feel uncomfortable and queasy. Despite trying to avoid spicy and acidic foods, the burning sensation in my stomach persists, sometimes even waking me up at night. It's been a frustrating ordeal, and I'm eager to find some relief from these persistent symptoms." - text: "Recently, I've been feeling incredibly fatigued and weak, as if all my energy has been drained away. The persistent fever and sweating have been relentless, leaving me feeling drained and exhausted. Along with the fever, I've been experiencing severe abdominal pain and discomfort, accompanied by diarrhea and vomiting. Despite trying to stay hydrated, the dehydration and loss of appetite have been concerning. It's been a challenging time, and I can only hope for some improvement in my condition soon." - text: "Lately, I've been feeling quite under the weather. It all started with a scratchy throat and runny nose that just won't seem to clear up. The sneezing and congestion have been relentless, leaving me feeling stuffed up and miserable. Along with the nasal symptoms, I've been experiencing a persistent cough that seems to linger no matter what I do. It's been a frustrating experience, and I can't wait to shake off this cold and start feeling like myself again." - text: "Recently, I've been struggling to catch my breath, especially after physical exertion or exposure to triggers like dust or pollen. The wheezing and tightness in my chest have been relentless, making it feel like there's a weight pressing down on my lungs. Despite my efforts to use my inhaler and avoid known triggers, the shortness of breath and coughing spells persist. It's been a challenging time, and I'm eager to find some relief from these persistent symptoms." - text: "Lately, I've been feeling incredibly weak and fatigued, as if all my energy has been drained away. The recurring fevers and chills have been relentless, leaving me shivering one moment and sweating profusely the next. Along with the fever, I've been experiencing severe headaches and muscle aches that make even the simplest tasks feel like a struggle. Despite trying to rest and stay hydrated, the nausea and vomiting have been concerning. It's been a challenging time, and I can only hope for some improvement in my condition soon." - text: "Recently, I've noticed some red sores and blisters forming on my skin, especially around my nose and mouth. These sores quickly turn into honey-colored crusts that are itchy and uncomfortable. Despite my efforts to keep the affected areas clean, the rash seems to spread easily, making me feel self-conscious and embarrassed. Along with the skin symptoms, I've been experiencing fever and swollen lymph nodes, further adding to my discomfort. It's been a frustrating experience, and I'm eager to find some relief from these persistent symptoms." - text: "Lately, I've been experiencing excruciating headaches that seem to come out of nowhere and last for hours on end. The throbbing pain is often accompanied by nausea and sensitivity to light and sound, making it impossible to focus on anything else. Despite trying to rest in a dark, quiet room, the migraines seem to persist, disrupting my daily routine and quality of life. It's been a challenging time, and I can only hope for some relief from these relentless symptoms." - text: "Recently, I've been noticing stiffness and swelling in my joints, especially in my hands and knees. The pain is often worse in the morning or after periods of inactivity, making it difficult to get moving. Along with the joint symptoms, I've been experiencing fatigue and a general feeling of malaise that's been hard to shake off. Despite trying to stay active and maintain a healthy weight, the arthritis symptoms persist, impacting my mobility and quality of life. It's been a frustrating experience, and I'm eager to find some relief from these persistent symptoms." - text: "Lately, I've been noticing some changes in my skin that have been causing me concern. There's a persistent redness and itching, especially in areas where skin folds or gets sweaty. The affected skin often appears cracked and flaky, with a distinct odor that's hard to ignore. Despite trying to keep the affected areas dry and clean, the fungal infection seems to spread easily, making me feel self-conscious and uncomfortable. It's been a frustrating experience, and I'm eager to find some relief from these persistent symptoms." - text: "Recently, I've been experiencing neck pain and stiffness that seems to worsen with movement or prolonged sitting. The pain often radiates down my arms, causing tingling or numbness in my hands and fingers. Along with the neck symptoms, I've been experiencing headaches and dizziness, further adding to my discomfort. Despite trying to maintain good posture and avoid activities that strain my neck, the cervical spondylosis symptoms persist, impacting my daily activities and quality of life. It's been a challenging time, and I'm eager to find some relief from these persistent symptoms." - text: "Lately, I've noticed a yellowish discoloration in my skin and the whites of my eyes that's been causing me concern. Along with the yellowing, I've been experiencing fatigue and weakness, as if all my energy has been drained away. The itching sensation is almost unbearable, especially on the palms of my hands and soles of my feet. Despite trying to maintain a healthy diet and stay hydrated, the jaundice symptoms persist, leaving me feeling worried and anxious about my health." - text: "Recently, I've been experiencing a burning sensation in my chest that seems to flare up after eating certain foods or lying down. The acid reflux is relentless, leaving a sour taste in my mouth and causing discomfort in my throat. Along with the heartburn, I've been experiencing regurgitation and difficulty swallowing, making me feel uncomfortable and anxious about eating." --- # Symptoms_to_Diagnosis_SonatafyAI_BERT_v1 This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the [symptoms to diagnosis](https://huggingface.co/datasets/gretelai/symptom_to_diagnosis) dataset. It achieves the following results on the evaluation set: - Loss: 0.4088 - Accuracy: 0.9387 ## Model description More information needed ## Intended uses & limitations More information needed ## Training and evaluation data More information needed ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 2e-05 - train_batch_size: 16 - eval_batch_size: 16 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 10 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:--------:| | No log | 1.0 | 54 | 2.7055 | 0.25 | | No log | 2.0 | 108 | 2.1468 | 0.6792 | | No log | 3.0 | 162 | 1.5608 | 0.8019 | | No log | 4.0 | 216 | 1.1596 | 0.8632 | | No log | 5.0 | 270 | 0.8834 | 0.8868 | | No log | 6.0 | 324 | 0.6775 | 0.9104 | | No log | 7.0 | 378 | 0.5516 | 0.9198 | | No log | 8.0 | 432 | 0.4632 | 0.9434 | | No log | 9.0 | 486 | 0.4273 | 0.9387 | | 1.2941 | 10.0 | 540 | 0.4088 | 0.9387 | ### Framework versions - Transformers 4.38.2 - Pytorch 2.2.1+cu121 - Datasets 2.18.0 - Tokenizers 0.15.2