Instructions to use dumbequation/llama3.2-medical-visualqa-11B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dumbequation/llama3.2-medical-visualqa-11B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="dumbequation/llama3.2-medical-visualqa-11B")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("dumbequation/llama3.2-medical-visualqa-11B") model = AutoModelForImageTextToText.from_pretrained("dumbequation/llama3.2-medical-visualqa-11B") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use dumbequation/llama3.2-medical-visualqa-11B with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for dumbequation/llama3.2-medical-visualqa-11B to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for dumbequation/llama3.2-medical-visualqa-11B to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for dumbequation/llama3.2-medical-visualqa-11B to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="dumbequation/llama3.2-medical-visualqa-11B", max_seq_length=2048, )
Llama3.2 11B vision model fine-tuned medical dataset containing pictures and conversations on radiology and skin cancer images.
Best used with - min_p = 0.1 and temperature = 1.5
Examples
Question: What does the HRCT of the thorax show?
Answer: The HRCT shows diffuse irregular linear and reticular pattern with multiple tiny nodules in a reticular pattern, compatible with interstitial lung disease.
Question: Which interstitial lung disease is it?
Answer: It is UIP, which is also known as fibrotic interstitial pneumonia.
Question: What is the prognosis for a patient with definite UIP pattern on HRCT?
Answer: The prognosis for a patient with definite UIP pattern on HRCT is generally poor, with median survival ranging from 2 to 5 years after the onset of symptoms.
Question: Is there any treatment available for a patient with UIP pattern? Answer: Unfortunately, there is no cure for UIP pattern. Treatment options are limited and focused on managing symptoms and slowing disease progression.
Uploaded finetuned model
- Developed by: dumbequation
- License: apache-2.0
- Finetuned from model : unsloth/Llama-3.2-11B-Vision-Instruct
- Downloads last month
- 6
Model tree for dumbequation/llama3.2-medical-visualqa-11B
Base model
meta-llama/Llama-3.2-11B-Vision-Instruct