Downloads · 30 days
0
truworthai/testhellow
testhellow is a machine learning model from truworthai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx-vlm.
This model was fine-tuned using the VisualAI platform with MLX (Apple Silicon optimization).
Downloads · 30 days
0
Access
Public
Updated Jun 3, 2025
Repo size
275 KB
Likes
0
Public
Click a slice to open those files.
.jpg418 KB · 93%
From the Hugging Face model README
This model was fine-tuned using the VisualAI platform with MLX (Apple Silicon optimization).
mlx-community/SmolVLM-256M-Instruct-bf16This model was trained on a combined dataset with visual examples and conversations.
pip install mlx-vlm
from mlx_vlm import load
import json
import os
# Load the base MLX model
model, processor = load("mlx-community/SmolVLM-256M-Instruct-bf16")
# Load the fine-tuned artifacts
model_info_path = "mlx_model_info.json"
if os.path.exists(model_info_path):
with open(model_info_path, 'r') as f:
model_info = json.load(f)
print(f"✅ Loaded fine-tuned model with {model_info.get('training_examples_count', 0)} training examples")
# Check for adapter weights
adapters_path = "adapters/adapter_config.json"
if os.path.exists(adapters_path):
with open(adapters_path, 'r') as f:
adapter_config = json.load(f)
print(f"🎯 Found MLX adapters with {adapter_config.get('training_examples', 0)} training examples")
from mlx_vlm import generate
from mlx_vlm.prompt_utils import apply_chat_template
from mlx_vlm.utils import load_config
from PIL import Image
# Load your image
image = Image.open("your_image.jpg")
# Ask a question
question = "What type of brake component is this?"
# Format the prompt
config = load_config("mlx-community/SmolVLM-256M-Instruct-bf16")
formatted_prompt = apply_chat_template(processor, config, question, num_images=1)
# Generate response
response = generate(model, processor, formatted_prompt, [image], verbose=False, max_tokens=100)
print(f"Model response: {response}")
This repository contains:
mlx_model_info.json: Training metadata and learned mappingstraining_images/: Reference images from training dataadapters/: MLX LoRA adapter weights and configuration (if available)README.md: This documentationmlx-community/SmolVLM-256M-Instruct-bf16)adapters/ folder for MLX-specific fine-tuned weightsFor questions about this model or the VisualAI platform, please refer to the training logs or contact support.
This model was trained using VisualAI's MLX-optimized training pipeline.