Downloads · 30 days
0
Sky-Kim/fastvlm-0.5b-unity
fastvlm-0.5b-unity is a visual question answering model from Sky-Kim. Use it for the visual question answering task on the model card, and read the license before you ship it in a product. It is set up for unity-sentis.
This repository is a Unity 6 + Sentis (com.unity.ai.inference) demo for FastVLM-based scene captioning.
Downloads · 30 days
0
Access
Public
Updated Mar 3, 2026
Repo size
22 MB
Likes
3
Public
Click a slice to open those files.
.mp421.1 MB · 57%
From the Hugging Face model README
This repository is a Unity 6 + Sentis (com.unity.ai.inference) demo for FastVLM-based scene captioning.
6000.3.6f1com.unity.ai.inference 2.5.0 (customized)
RotaryEmbedding, GroupQueryAttention, SimplifiedLayerNormalization, SkipSimplifiedLayerNormalizationfastvlm-0.5b-unity/Packages/com.unity.ai.inference/Editor/ONNX/ONNXModelConverter.csIf the project does not run with the current setup:
com.unity.ai.inference version 2.5.0.Library/PackageCache/com.unity.ai.inference@xxxxxx to Packages/com.unity.ai.inference.com.unity.ai.inference/Editor/ONNX/ONNXModelConverter.csAssets/FastVLM/FastVLMScene.unity: Main runtime sceneAssets/FastVLM/VLMController.cs: VideoPlayer-UI bridge and continuous inference loopAssets/FastVLM/ModelVLM.cs: Model initialization, vision/text embedding composition, and generationAssets/FastVLM/Qwen2Tokenizer.cs: Qwen2 BPE tokenizerAssets/StreamingAssets/fastvlm/: vocab.json, merges.txt, tokenizer_config.jsonPrepare the ONNX files below in Assets/FastVLM/Models/ and assign them to the ModelVLM component in VLMManager.
Source models:
https://huggingface.co/onnx-community/FastVLM-0.5B-ONNX/tree/main/onnx
Download the three files below from the link above, then copy them into Assets/FastVLM/Models/.
vision_encoder.onnxembed_tokens.onnxdecoder_model_merged.onnx6000.3.6f1.Assets/FastVLM/FastVLMScene.unity.VLMManager > ModelVLM and verify all ModelAsset fields are assigned.InputField if needed. The next loop uses the updated prompt.[fastvlm-0.5b-unity] © 2026 Unity Technologies
Licensed under the Unity Companion License for Unity-dependent projects (see https://unity3d.com/legal/licenses/unity_companion_license). Unless expressly provided otherwise, the Software under this license is made available strictly on an "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions.