Image-to-Text
Transformers
Safetensors
English
qwen2_5_vl
image-text-to-text
svg
hivg
vector-graphics
text-to-svg
image-to-svg
hierarchical-tokenization
autoregressive-generation
code-generation
text-generation-inference
Instructions to use xingxm/HiVG-3B-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xingxm/HiVG-3B-Base 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="xingxm/HiVG-3B-Base")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("xingxm/HiVG-3B-Base") model = AutoModelForImageTextToText.from_pretrained("xingxm/HiVG-3B-Base") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,6 +5,7 @@ license: mit
|
|
| 5 |
library_name: transformers
|
| 6 |
tags:
|
| 7 |
- svg
|
|
|
|
| 8 |
- vector-graphics
|
| 9 |
- text-to-svg
|
| 10 |
- image-to-svg
|
|
@@ -13,21 +14,24 @@ tags:
|
|
| 13 |
- code-generation
|
| 14 |
base_model: Qwen/Qwen2.5-VL-3B
|
| 15 |
pipeline_tag: image-to-text
|
| 16 |
-
datasets:
|
| 17 |
-
- svg-stack
|
| 18 |
model-index:
|
| 19 |
- name: HiVG-3B-Base
|
| 20 |
results: []
|
|
|
|
|
|
|
| 21 |
---
|
| 22 |
|
| 23 |
# HiVG: Hierarchical SVG Tokenization
|
| 24 |
|
| 25 |
-
**HiVG-3B-Base** is a 3B-parameter vision-language model for **autoregressive Scalable Vector Graphics (SVG) generation**.
|
| 26 |
-
|
| 27 |
-
HiVG introduces a novel **hierarchical SVG tokenization framework** that replaces generic byte-level tokenization with geometry-aware atomic and segment tokens, enabling significantly more efficient and faithful SVG code generation.
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
## Highlights
|
| 33 |
|
|
|
|
| 5 |
library_name: transformers
|
| 6 |
tags:
|
| 7 |
- svg
|
| 8 |
+
- hivg
|
| 9 |
- vector-graphics
|
| 10 |
- text-to-svg
|
| 11 |
- image-to-svg
|
|
|
|
| 14 |
- code-generation
|
| 15 |
base_model: Qwen/Qwen2.5-VL-3B
|
| 16 |
pipeline_tag: image-to-text
|
|
|
|
|
|
|
| 17 |
model-index:
|
| 18 |
- name: HiVG-3B-Base
|
| 19 |
results: []
|
| 20 |
+
datasets:
|
| 21 |
+
- xingxm/SVGX-Core-250k
|
| 22 |
---
|
| 23 |
|
| 24 |
# HiVG: Hierarchical SVG Tokenization
|
| 25 |
|
| 26 |
+
**HiVG-3B-Base** is a 3B-parameter vision-language model for **autoregressive Scalable Vector Graphics (SVG) generation**.
|
|
|
|
|
|
|
| 27 |
|
| 28 |
+
<p align="center">
|
| 29 |
+
<a href="https://arxiv.org/abs/2604.05072"><img src="https://img.shields.io/badge/arXiv-2604.05072-B31B1B?style=for-the-badge&logo=arxiv&logoColor=white" alt="arXiv"></a>
|
| 30 |
+
<a href="https://hy-hivg.github.io/"><img src="https://img.shields.io/badge/Project-Page-green?style=for-the-badge" alt="Project Page"></a>
|
| 31 |
+
<a href="https://huggingface.co/papers/2604.05072"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Paper%20Page-yellow?style=for-the-badge" alt="HuggingFace Paper Page"></a>
|
| 32 |
+
</p>
|
| 33 |
+
|
| 34 |
+
HiVG introduces a novel **hierarchical SVG tokenization framework** that replaces generic byte-level tokenization with geometry-aware atomic and segment tokens, enabling significantly more efficient and faithful SVG code generation.
|
| 35 |
|
| 36 |
## Highlights
|
| 37 |
|