Instructions to use truworthai/DynamicVisualLearning-v2-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use truworthai/DynamicVisualLearning-v2-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download truworthai/DynamicVisualLearning-v2-mlx --local-dir DynamicVisualLearning-v2-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Upload README.md with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107---library_name: mlx-vlmtags:- mlx- vision-language-model- fine-tuned- brake-components- visual-aibase_model: mlx-community/SmolVLM-256M-Instruct-bf16---
# DynamicVisualLearning-v2 - MLX Fine-tuned Vision Language Model
This model was fine-tuned using the VisualAI platform with MLX (Apple Silicon optimization).
## π Model Details- **Base Model**: `mlx-community/SmolVLM-256M-Instruct-bf16`- **Training Platform**: VisualAI (MLX-optimized)- **GPU Type**: MLX (Apple Silicon)- **Training Job ID**: 2- **Created**: 2025-06-03 03:29:58.843336- **Training Completed**: β
Yes
## π Training DataThis model was trained on a combined dataset with visual examples and conversations.
## π οΈ Usage
### Installation```bashpip install mlx-vlm```
### Loading the Model```pythonfrom mlx_vlm import loadimport jsonimport os
# Load the base MLX modelmodel, processor = load("mlx-community/SmolVLM-256M-Instruct-bf16")
# Load the fine-tuned artifactsmodel_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 weightsadapters_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")```
### Inference```pythonfrom mlx_vlm import generatefrom mlx_vlm.prompt_utils import apply_chat_templatefrom mlx_vlm.utils import load_configfrom PIL import Image
# Load your imageimage = Image.open("your_image.jpg")
# Ask a questionquestion = "What type of brake component is this?"
# Format the promptconfig = load_config("mlx-community/SmolVLM-256M-Instruct-bf16")formatted_prompt = apply_chat_template(processor, config, question, num_images=1)
# Generate responseresponse = generate(model, processor, formatted_prompt, [image], verbose=False, max_tokens=100)print(f"Model response: {response}")```
## π Model Artifacts
This repository contains:- `mlx_model_info.json`: Training metadata and learned mappings- `training_images/`: Reference images from training data- `adapters/`: MLX LoRA adapter weights and configuration (if available)- `README.md`: This documentation
## β οΈ Important Notes
- This model uses MLX format optimized for Apple Silicon- The actual model weights remain in the base model (`mlx-community/SmolVLM-256M-Instruct-bf16`)- The fine-tuning artifacts enhance the model's domain-specific knowledge- **Check the `adapters/` folder for MLX-specific fine-tuned weights**- For best results, use on Apple Silicon devices (M1/M2/M3)
## π― Training Statistics
- Training Examples: 3- Learned Mappings: 2- Domain Keywords: 79
## π Support
For 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.*README.mdAdded+107