File size: 2,580 Bytes
8dd18cf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | ---
tags:
- font-generation
- image-generation
- autoregressive
- multimodal
- few-shot-learning
- computer-vision
library_name: pytorch
---
# GAR-Font: Beyond Patches: Global-aware Autoregressive Model for Multimodal Few-Shot Font Generation
<p align="center">
<img src="https://raw.githubusercontent.com/xTryer-s/GAR-Font/main/figures/teaser.jpg" width="80%"/>
</p>
<div align="center">
[](https://arxiv.org/abs/2601.01593)
[](https://xtryer-s.github.io/projects_pages/GAR_Font/)
[](https://github.com/xTryer-s/GAR-Font)
</div>
---
## π Overview
GAR-Font is a **global-aware autoregressive model for multimodal few-shot font generation**.
It aims to generate high-quality glyphs with limited style references by modeling both global font characteristics and local glyph details.
GAR-Font supports two generation settings:
- **Vision-Only GAR-Font**
Generate glyphs using only visual style references.
- **Vision-Language GAR-Font**
Generate glyphs using both visual references and natural language style descriptions.
This repository provides a pretrained checkpoint of Vision-Only GAR-Font.
---
## π¦ Model Weights
We provide the pretrained checkpoint:
**generator_ckpt_pruned.pt**
The checkpoint contains:
- `vq_model`: pretrained VQ tokenizer for glyph representation
- `model`: pretrained GAR-Font autoregressive generator
The checkpoint can be directly used for inference and further research.
---
## π Usage
Download:
**generator_ckpt_pruned.pt**
and use it as the `--generator-ckpt` argument in the inference scripts.
For installation instructions, inference examples, training details, and complete implementation, please refer to our official GitHub repository:
π https://github.com/xTryer-s/GAR-Font
---
## π Paper
**Beyond Patches: Global-aware Autoregressive Model for Multimodal Few-Shot Font Generation**
arXiv:
https://arxiv.org/abs/2601.01593
---
## Citation
If you find GAR-Font useful, please cite our paper:
```bibtex
@misc{cai2026patchesglobalawareautoregressivemodel,
title={Beyond Patches: Global-aware Autoregressive Model for Multimodal Few-Shot Font Generation},
author={Haonan Cai and Yuxuan Luo and Zhouhui Lian},
year={2026},
eprint={2601.01593},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2601.01593},
}
|