CoolFace
Modelpublic

SVECTOR-CORPORATION/Spec-Vision-V1

sourceHugging Facemitupdated 2y agoView on Hugging Face
4likes17downloads
Model Card

Model Summary

Spec-Vision-V1 is a lightweight, state-of-the-art open multimodal model built on datasets that include synthetic data and filtered publicly available sources, with a focus on high-quality, reasoning-dense data in both text and vision. The model belongs to the SpecVision family and supports a 128K context length (in tokens). It has undergone a rigorous enhancement process, incorporating supervised fine-tuning and direct preference optimization to ensure precise instruction adherence and robust safety measures.

๐Ÿš€ Model Overview

Spec-Vision-V1 is built for deep integration of visual and textual data, enabling it to understand and process images in combination with natural language. The model has been trained on a diverse dataset containing images with associated captions, descriptions, and contextual information.

โœจ Key Features

  • โ€”๐Ÿ–ผ๏ธ Multimodal Processing: Seamlessly combines image and text inputs.
  • โ€”โšก Transformer-Based Architecture: High efficiency in vision-language understanding.
  • โ€”๐Ÿ“ Optimized for VQA & Captioning: Excels in answering visual questions and generating descriptions.
  • โ€”๐Ÿ“ฅ Pre-trained Model: Available for inference and fine-tuning.

๐Ÿ“Œ Installation

To use Spec-Vision-V1, install the required dependencies:

bash
pip install transformers torch torchvision pillow

๐Ÿ”ฅ Usage

๐Ÿ“ฅ Load the Model

python
from transformers import AutoModelForCausalLM, AutoProcessor
from PIL import Image
import torch

# Load the model and processor
model_name = "Spec-Vision-V1"
model = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True)
processor = AutoProcessor.from_pretrained(model_name, trust_remote_code=True)

# Load an example image
image = Image.open("example.jpg")

# Input text prompt
text = "Describe the image in detail."

# Process inputs
inputs = processor(images=image, text=text, return_tensors="pt")

# Generate output
with torch.no_grad():
    outputs = model(**inputs)

# Print the generated text
print(outputs)

๐Ÿ“Š Model Specifications

AttributeDescription
Model NameSpec-Vision-V1
ArchitectureTransformer-based Vision-Language Model
Pretrainedโœ… Yes
DatasetTrained on diverse image-text pairs
FrameworkPyTorch & Hugging Face Transformers

๐ŸŽฏ Applications

TaskDescription
๐Ÿ–ผ๏ธ Image CaptioningGenerates detailed descriptions for input images.
๐Ÿง Visual Question AnsweringAnswers questions about images.
๐Ÿ”Ž Image-Text MatchingDetermines the relevance of an image to a given text.
๐ŸŒ Scene UnderstandingExtracts insights from complex visual data.

BLINK Benchmark

A benchmark with 14 visual tasks that humans can solve very quickly but are still hard for current multimodal LLMs.

BenchmarkSpec-Vision-V1LlaVA-Interleave-Qwen-7BInternVL-2-4BInternVL-2-8BGemini-1.5-FlashGPT-4o-miniClaude-3.5-SonnetGemini-1.5-ProGPT-4o
Art Style87.262.455.652.164.170.159.870.973.3
Counting54.256.754.266.751.755.059.265.065.0
Forensic Detection92.431.140.934.154.538.667.460.675.8
Functional Correspondence29.234.624.624.633.126.933.831.543.8
IQ Test25.326.726.030.725.329.326.034.019.3
Jigsaw68.086.055.352.771.372.757.368.067.3
Multi-View Reasoning54.144.448.942.948.948.155.649.646.6
Object Localization49.254.953.354.144.357.462.365.668.0
Relative Depth69.477.463.767.757.358.171.876.671.0
Relative Reflectance37.334.332.838.832.827.636.638.840.3
Semantic Correspondence36.731.731.722.332.431.745.348.954.0
Spatial Relation65.775.578.378.355.981.160.179.084.6
Visual Correspondence53.540.734.933.129.752.972.181.486.0
Visual Similarity83.091.948.145.247.477.884.481.588.1
Overall57.053.145.945.445.851.956.561.063.2

Video-MME Benchmark

A benchmark that comprehensively assesses the capabilities of multimodal LLMs in processing video data, covering a wide range of visual domains, temporal durations, and data modalities.

BenchmarkSpec-Vision-V1LlaVA-Interleave-Qwen-7BInternVL-2-4BInternVL-2-8BGemini-1.5-FlashGPT-4o-miniClaude-3.5-SonnetGemini-1.5-ProGPT-4o
Short (<2min)60.862.360.761.772.270.166.373.377.7
Medium (4-15min)47.747.146.449.662.759.654.761.268.0
Long (30-60min)43.841.242.646.652.153.946.653.259.6
Overall50.850.249.952.662.361.255.962.668.4

๐Ÿ—๏ธ Model Training Details

ParameterValue
Batch Size16
OptimizerAdamW
Learning Rate5e-5
Training Steps100k
Loss FunctionCrossEntropyLoss
FrameworkPyTorch & Transformers

๐Ÿ“œ License

Spec-Vision-V1 is released under the MIT.


๐Ÿ“– Citation

If you use Spec-Vision-V1 in your research or application, please cite:

bibtex
@article{SpecVision2025,
  title={Spec-Vision-V1: A Vision-Language Transformer Model},
  author={SVECTOR},
  year={2025},
  journal={SVECTOR Research}
}

๐Ÿ“ฌ Contact

For support or inquiries, reach out to SVECTOR: