Instructions to use RichardErkhov/mikewang_-_PVD-160k-Mistral-7b-awq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RichardErkhov/mikewang_-_PVD-160k-Mistral-7b-awq with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("image-to-text", model="RichardErkhov/mikewang_-_PVD-160k-Mistral-7b-awq")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("RichardErkhov/mikewang_-_PVD-160k-Mistral-7b-awq") model = AutoModelForCausalLM.from_pretrained("RichardErkhov/mikewang_-_PVD-160k-Mistral-7b-awq", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Configuration Parsing Warning:In config.json: "quantization_config.modules_to_not_convert" must be an array
Quantization made by Richard Erkhov.
This repository contains a quantized version of PVD-160k-Mistral-7b, as presented in the paper Visually Descriptive Language Model for Vector Graphics Reasoning.
Project page: https://mikewangwzhl.github.io/VDLM/
Code: https://github.com/MikeWangWZHL/VDLM
PVD-160k-Mistral-7b - AWQ
- Model creator: https://huggingface.co/mikewang/
- Original model: https://huggingface.co/mikewang/PVD-160k-Mistral-7b/
Original model description:
license: apache-2.0 datasets: - mikewang/PVD-160K
Text-Based Reasoning About Vector Graphics
🌐 Homepage • 📃 Paper • 🤗 Data (PVD-160k) • 🤗 Model (PVD-160k-Mistral-7b) • 💻 Code
We observe that current large multimodal models (LMMs) still struggle with seemingly straightforward reasoning tasks that require precise perception of low-level visual details, such as identifying spatial relations or solving simple mazes. In particular, this failure mode persists in question-answering tasks about vector graphics—images composed purely of 2D objects and shapes.
To solve this challenge, we propose Visually Descriptive Language Model (VDLM), a visual reasoning framework that operates with intermediate text-based visual descriptions—SVG representations and learned Primal Visual Description, which can be directly integrated into existing LLMs and LMMs. We demonstrate that VDLM outperforms state-of-the-art large multimodal models, such as GPT-4V, across various multimodal reasoning tasks involving vector graphics. See our paper for more details.

- Downloads last month
- 8
