akiec = ''' Actinic keratoses (akiec), also known as solar keratoses, are rough, scaly patches on the skin caused by years of sun exposure. These lesions are considered precancerous, as they have the potential to develop into skin cancer if left untreated. #### Signs and Symptoms * Typically appear as small, red, rough spots on sun-exposed areas of the skin, such as the face, ears, neck, scalp, chest, backs of hands,and forearms * May be flat or raised * Rough, scaly patches on the skin * Red or pink spots that feel rough to the touch * Itching or burning sensation * Sometimes, a hard, wart-like surface #### When to See a Dermatologist It's important to see a dermatologist if you notice any new, changing, or persistent skin lesions, especially if they resemble actinic keratoses. Early detection and treatment can prevent the progression to skin cancer. ''' bcc = ''' Basal cell carcinoma is the most common type of skin cancer. It usually develops on areas of the skin exposed to the sun, such as the head, neck, and hands. #### Signs and Symptoms Basal cell carcinomas often appear as: * A flat, flesh-colored or brown scar-like lesion that may be itchy or painful * A bleeding or scabbing sore that heals and returns * Persistent, non-healing sore * Shiny, pearly bump * Pink growth with raised edges * Scar-like lesion with irregular borders #### When to See a Dermatologist If you notice any new, changing, or persistent skin lesions, especially those that bleed, scab, or do not heal, it's essential to see a dermatologist for evaluation and possible biopsy. ''' bkl = ''' Benign lesions of the keratosis type are non-cancerous growths on the skin that often result from sun exposure. While they are not cancerous, they may resemble precancerous or cancerous lesions and should be monitored by a dermatologist. #### Signs and Symptoms These lesions may present as: * Rough or scaly texture * Thickened, discolored areas of skin * Raised bumps * Irregular borders * Variable colors, including pink, brown, or tan * Slowly growing over time #### When to See a Dermatologist If you notice any new, changing, or unusual skin growths, it's important to have them evaluated by a dermatologist. While most benign lesions do not require treatment, they should be monitored for changes in size, shape, or color. ''' df = ''' Dermatofibroma is a common benign skin lesion that usually appears as a small, firm bump on the skin. It is typically harmless but can sometimes resemble skin cancer or other serious conditions. #### Signs and Symptoms Dermatofibromas often present as: * Firm, rubbery texture * Raised bump * Pink, brown, or reddish color * Well-defined borders * Often less than 1 centimeter in size * Smooth or dimpled surface * Often found on the legs but can occur anywhere on the body * Usually painless but may be tender to touch #### When to See a Dermatologist While dermatofibromas are usually harmless, any new, changing, or unusual skin lesions should be evaluated by a dermatologist to rule out skin cancer or other conditions. ''' mel = ''' Melanoma is a type of skin cancer that develops from melanocytes, the cells that produce pigment in the skin. It can occur anywhere on the body, including areas not exposed to the sun. #### Signs and Symptoms Melanomas often appear as: * Irregular, asymmetric shape * Irregular borders that may be scalloped or notched * A change in an existing mole * A new, unusual growth or spot on the skin * Varied colors, including shades of brown, black, red, blue, or white * Variable colors within the lesion * Diameter larger than a pencil eraser (6 millimeters) or evolving size, shape, or color #### When to See a Dermatologist If you notice any new, changing, or suspicious skin lesions, especially those with irregular features or rapid growth, it's essential to see a dermatologist promptly for evaluation and possible biopsy. ''' nv=''' Melanocytic nevi, commonly known as moles, are benign growths on the skin composed of melanocytes. While most moles are harmless, some may develop into melanoma, a type of skin cancer. #### Signs and Symptoms Melanocytic nevi often appear as: * Regular small, round, or oval-shaped spots on the skin * Uniform in color, usually tan, brown, or black * Flat or raised with smooth or rough texture * Often appear during childhood or adolescence * Usually less than 6 millimeters in diameter * Typically remain stable in size, shape, and color over time #### When to See a Dermatologist While most moles are harmless, any new, changing, or unusual skin lesions should be evaluated by a dermatologist to rule out skin cancer or other conditions. ''' vasc = ''' Vascular lesions are abnormal growths of blood vessels in the skin. While most are benign, some may indicate an underlying medical condition or require treatment for cosmetic reasons. #### Signs and Symptoms Vascular lesions may present as: * Red, purple, or blue discoloration of the skin * Flat or raised lesions * Pain, itching, or burning sensation * Rapid growth or change in appearance * Discoloration of the skin * Varied shapes and sizes * Smooth or irregular texture * Bleeding or ulceration in severe cases #### When to See a Dermatologist If you notice any new, changing, or unusual skin lesions, especially those with rapid growth or bleeding, it's essential to see a dermatologist for evaluation and possible treatment. ''' vit_base_patch_16 = ''' # vit-beta2-0.99 [This model](https://huggingface.co/sharren/vit-beta2-0.99) is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset. It achieves the following results on the evaluation set: - Loss: 0.5248 - Accuracy: 0.8623 - Precision: 0.8584 - Recall: 0.8623 - F1: 0.8596 ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 0.0001 - train_batch_size: 16 - eval_batch_size: 8 - seed: 42 - optimizer: Adam with betas=(0.9,0.99) and epsilon=1e-08 - lr_scheduler_type: cosine - lr_scheduler_warmup_steps: 1733 - num_epochs: 100 - mixed_precision_training: Native AMP '''