Note:
langvisionis now part of the unifiedlangtrainSDK.pip install langtrain[vision]includes everything from langvision plus AdaptiveRank, DatasetIntelligence, and text LLM support. langvision continues to receive updates and remains fully supported.
Fine-tune Vision LLMs with ease
Train LLaVA, Qwen-VL, and other vision models in minutes.
The simplest way to create custom multimodal AI.
Quick Start • Features • Models • Docs
⚡ Quick Start
1-Click Install (Recommended)
The fastest way to get started. Installs Langvision in an isolated environment.
curl -fsSL https://raw.githubusercontent.com/langtrain-ai/langvision/main/scripts/install.sh | bash
Or using pip
pip install langvision
Fine-tune a vision model in 3 lines:
from langvision import LoRATrainer
trainer = LoRATrainer(model_name="llava-hf/llava-1.5-7b-hf")
trainer.train_from_file("image_data.jsonl")
Your custom vision model is ready.
✨ Features
🤖 Supported Models
| Model | Parameters | Memory Required |
|---|---|---|
| LLaVA 1.5 | 7B, 13B | 8GB, 16GB |
| Qwen-VL | 7B | 8GB |
| CogVLM | 17B | 24GB |
| InternVL | 6B, 26B | 8GB, 32GB |
| Phi-3 Vision | 4.2B | 6GB |
📖 Full Example
from langvision import LoRATrainer
from langvision.config import TrainingConfig, LoRAConfig
# Configure training
config = TrainingConfig(
num_epochs=3,
batch_size=2,
learning_rate=2e-4,
lora=LoRAConfig(rank=16, alpha=32)
)
# Initialize trainer
trainer = LoRATrainer(
model_name="llava-hf/llava-1.5-7b-hf",
output_dir="./my-vision-model",
config=config
)
# Train on image-text data
trainer.train_from_file("training_data.jsonl")
📝 Data Format
{"image": "path/to/image1.jpg", "conversations": [{"from": "human", "value": "What's in this image?"}, {"from": "assistant", "value": "A cat sitting on a couch."}]}
🤝 Community
Built with ❤️ by Langtrain AI
Making vision AI accessible to everyone.
Metadata
Release files for langvision 0.1.61
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langvision-0.1.61.tar.gz | 147.7 kB | Without provenance | Details for langvision-0.1.61.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langvision-0.1.61-py3-none-any.whl | Python 3 | none | any | Details for langvision-0.1.61-py3-none-any.whl |
Total release size: 326.9 kB
Release files / langvision-0.1.61.tar.gz
| Download URL | langvision-0.1.61.tar.gz |
|---|---|
| Size | 147.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf011cab0a49cd1a08276261e7c505273819b0dfa4ff344fd1771ee3dea4e0ad
|
|
BLAKE2b-256 checksum How to use checksums |
8dd9990e4229eb0ce2bf3ca711b9eb519c176d56fe3eadd6e2e7d2a6acf6d180
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / langvision-0.1.61-py3-none-any.whl
| Download URL | langvision-0.1.61-py3-none-any.whl |
|---|---|
| Size | 179.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22a5db180c6909aa296e6b9b31988ef810ac3279d30c5f02520c5a1739be5e78
|
|
BLAKE2b-256 checksum How to use checksums |
c0198487f7b73f35428af509dcd5cf1fd829aa50e1ac988c61505b41dd17aab4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Security for langvision 0.1.61
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.