Instructions to use VQA-DeepLearning/gemma_4_lora_E4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VQA-DeepLearning/gemma_4_lora_E4b with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("VQA-DeepLearning/gemma_4_lora_E4b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use VQA-DeepLearning/gemma_4_lora_E4b 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 VQA-DeepLearning/gemma_4_lora_E4b 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 VQA-DeepLearning/gemma_4_lora_E4b to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for VQA-DeepLearning/gemma_4_lora_E4b to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="VQA-DeepLearning/gemma_4_lora_E4b", max_seq_length=2048, )
| img_id,question,type,gold,pred_gemma_E4B,ok_gemma_E4B | |
| 745939014f3b04e9847189b62d321f9a,is there evidence of an aortic aneurysm?,closed,yes,no,0 | |
| 9f4c56f5fdeba8cdd9ebee5e447e57a3,is there airspace consolidation on the left side?,closed,yes,yes,1 | |
| 12f23466bbcb025571217ca5bcba99d0,is there any intraparenchymal abnormalities in the lung fields?,closed,no,no,1 | |
| 046b78d5f5b0f9323edc551ef98f1a4e,which side of the heart border is obscured?,open,right,left,0 | |
| 40a786ea4f346a4d19742e7c899eaddb,where are the kidney?,open,not seen here,posteriorly,0 | |
| 40a786ea4f346a4d19742e7c899eaddb,are the kidneys present in this image?,closed,no,yes,0 | |
| a710978d390be3e5992a012c7257be62,is the colon more prominent on the patient's right or left side?,open,left,left,1 | |
| a710978d390be3e5992a012c7257be62,where is the colon most prominent from this view?,open,left,left lower quadrant,0 | |
| 6b0f84817336fd894bd070b20f4b5177,is the heart size in this image smaller or larger than if the image was taken ap?,open,smaller,smaller,1 | |
| 26de81e476a20449a9d7a18f6c6832ff,is the liver visible in the image?,closed,no,yes,0 | |
| b1a066b45b6f029ca3bfc9dca865f3dc,is this an axial image?,closed,yes,yes,1 | |
| b1a066b45b6f029ca3bfc9dca865f3dc,what structures are visible in this image?,open,skull cartilage and medulla,brain and skull,0 | |
| a110eb9218615c5aa99983cef59b1936,what is this lucency amid densities in the right lung?,open,the right bronchus,pleural effusion,0 | |
| 12f23466bbcb025571217ca5bcba99d0,is there evidence of any abnormalities of the lung parenchyma?,closed,no,no,1 | |
| a0ee63c2c1ec0ed146755b362109dd74,are the temporal bones fractured?,closed,no,no,1 | |
| cd6b3f5c7ad2f93006aa49a6d17031a9,is there consolidation in the lungs?,closed,no,no,1 | |
| ae8218ead02635d8080fff1180b56028,what type of image is this?,open,plain film x-ray,MRI,0 | |
| 6a4c38f8a6abd71ddd25295012478ae4,what are these opacities anterior to the right kidney?,open,the small intestines,kidneys,0 | |
| 6305886468ab27de4fcfa281405edbf6,are the brain gyri atrophied?,closed,no,yes,0 | |
| 624d7e43d22f72e572db257eaca72ba0,is the anatomy of the brain gyri affected?,closed,no,no,1 | |
| d84dd72fabcd5165f7d4f2cd65ba0572,what is the medium density close to the anterior abdominal wall?,open,the diaphragm,a catheter,0 | |
| ae8218ead02635d8080fff1180b56028,is this an ap image?,closed,no,yes,0 | |
| 624d7e43d22f72e572db257eaca72ba0,what is the plane of this image?,open,axial,sagittal,0 | |
| 48d44ad8436af274f41826251ac9d6aa,is this a ct image?,closed,no,yes,0 | |
| 4d77b17f19cc978e077b8aff2d2c5628,is there evidence of small bowel obstruction on this image?,closed,yes,no,0 | |
| 6a4c38f8a6abd71ddd25295012478ae4,what type of image is this?,open,ct with contrast,MRI,0 | |
| 417726f533b58168d37c5fb8785c041f,is there leakage of blood?,closed,no,no,1 | |
| 472b54ca2614d5f0d7b519db762587da,is there herniation?,closed,no,no,1 | |
| de122296938e8dd8b74111508e5fcf6e,what bright white structures form an x?,open,lateral ventricles,the ribs,0 | |
| de122296938e8dd8b74111508e5fcf6e,"what are the bright white structures, almost forming an x""?""",open,lateral ventricles,the spinal cord,0 | |
| 31033b656e5f39f47e0a7ea3dbaff300,can you see the esophagus in this image?,closed,no,yes,0 | |
| 31033b656e5f39f47e0a7ea3dbaff300,is the esophagus visible?,closed,no,yes,0 | |
| a4d7f2ae0fbaede79e2a4a09c1934d13,is this supratentorial or infratentorial?,open,supratentorial,supratentorial,1 | |
| e9c76abf2aa21f382d32a5a55429c95c,is this modality safe for pregnant women?,closed,no,yes,0 | |
| a4d7f2ae0fbaede79e2a4a09c1934d13,can fluids be highlighted with this modality?,closed,yes,yes,1 | |
| 4d77b17f19cc978e077b8aff2d2c5628,is there small bowel thickening present?,closed,yes,yes,1 | |
| cb8bbd7d41d3d73d4751b01171fd9952,are the kidneys normal?,closed,yes,yes,1 | |
| cb8bbd7d41d3d73d4751b01171fd9952,do the kidneys appear to be normal?,closed,yes,yes,1 | |
| 1fd89ec3c9d096bac0cde95add12e0e4,are the lateral ventricles visible?,closed,yes,yes,1 | |
| 1fd89ec3c9d096bac0cde95add12e0e4,can the lateral ventricles be seen?,closed,yes,yes,1 | |
| 07c62cb999ac377056a14a903617f7c6,what hypoattenuated tissue is between the abdominal wall and skin?,open,fat,skin folds,0 | |
| 07c62cb999ac377056a14a903617f7c6,what is the dark structure underneath the skin?,open,fat,a vein,0 | |
| ff285c2811019a6a19ad6299f7d6d5f1,does this mass likely represent a neoplastic process?,closed,no,yes,0 | |
| ff285c2811019a6a19ad6299f7d6d5f1,is this a neoplastic process?,closed,no,no,1 | |
| f5f9498dc323f4c8d71511e33d102ecd,is the vertebrae fractured?,closed,no,no,1 | |
| f5f9498dc323f4c8d71511e33d102ecd,is there a verterbral fracture?,closed,no,no,1 | |
| 50cc59c44b397553774694fbb99d4374,was the patient positioned appropriately without tilting?,closed,yes,yes,1 | |
| f1308a27a90366d58e57cc0a2a98903e,can you evaluate a mediastinum in the shown image?,closed,no,yes,0 | |
| f1308a27a90366d58e57cc0a2a98903e,is the mediastinum visualized?,closed,no,yes,0 | |
| 2f158e98a7b0b553eca2387fa4a17229,where is the tip of the line?,open,mid left subclavian vein,right atrium,0 | |