How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="Luigi/edge-fall-vlm-500m",
	filename="",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": [
				{
					"type": "text",
					"text": "Describe this image in one sentence."
				},
				{
					"type": "image_url",
					"image_url": {
						"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
					}
				}
			]
		}
	]
)

edge-fall-vlm-500m — 500M fall / danger detector (size-comparison sibling)

A SmolVLM2-500M-Video-Instruct fine-tune for fall / person-down / distress detection, same recipe as edge-fall-vlm-2.2b but at 500M. Published mainly to show how accuracy scales with VLM size.

Code: https://github.com/vieenrose/edge-fall-vlm · Demo (pick a size): https://huggingface.co/spaces/Luigi/edge-fall-vlm-demo

Accuracy vs size (same recipe, same real test sets)

Model URFD (easy) recall/spec OOPS in-the-wild recall
256M 1.0 / 1.0 0.13
500M 1.0 / 1.0 0.31
2.2B (recommended) 0.90 / 1.0 0.83

This 500M model saturates the easy in-distribution test but MISSES most real in-the-wild falls (recall 0.31). Smaller VLMs fit the training distribution but do not generalize to novel real footage. For the actual safety task, use the 2.2B. This model is useful for research / the fastest possible on-device path where recall is not safety-critical.

Files: transformers model.safetensors + model-Q8_0.gguf / mmproj-f16.gguf (llama.cpp). Apache-2.0. Not a medical/safety device.

Downloads last month
78
Safetensors
Model size
0.5B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Luigi/edge-fall-vlm-500m