For more information, check out the base model on
https://huggingface.co/lusxvr/nanoVLM-222M.
Clone the nanoVLM repository:
https://github.com/huggingface/nanoVLM.
Follow the install instructions and run the following code:
1from models.vision_language_model import VisionLanguageModel
2
3model = VisionLanguageModel.from_pretrained("cultural-arts/nanoVLM-SmolLM2-135M-siglip-base-patch16-224")