开发者发布了名为 PenGPT 的生成式 Transformer 模型,该模型能够从文本提示中生成手写文字和素描 1。该项目遵循了“苦训教训”(The Bitter Lesson)理念,指出数据质量和规模比架构设计更重要 1。作者表示,精力分配为:80%集中在构建大规模、高质量的数据集上,15%用于速度优化,5%用于架构设计 1。
PenGPT 包含两个版本:拥有600万参数的书写模型和拥有5400万参数的绘图模型 1。训练数据来源包括由1,255名写作者提供的495,590个单词以及477,670张草图 1。书写模型通过简单的上下文学习(few-shot learning)即可模仿未见过的笔迹,无需风格编码器或微调 1。绘图模型使用 SigLIP 2 向量处理文本提示,但单纯依赖图像向量会导致模型无法理解短语 1。相比之前的 Cursive Transformer,新模型在 A100 集群上的训练时间显著缩短,绘图模型从超过10小时降至约35分钟,书写模型降至约8分钟 1。
Developers have released PenGPT, a compact generative transformer model capable of producing handwritten text and sketches from textual prompts 1. The project comprises two distinct models: a 6-million-parameter variant designed to mimic individual handwriting styles and a 54-million-parameter model dedicated to drawing images based on text descriptions 1. Training data for the system includes 495,590 words contributed by 1,255 writers and 477,670 sketches 1.
The creators emphasize that the development adheres to the principles of "The Bitter Lesson," prioritizing data quality and scale over architectural complexity 1. Approximately 80% of the effort was devoted to constructing large, high-quality datasets, with 15% focused on speed and only 5% on architecture 1. While the drawing model utilizes SigLIP 2 vectors for processing text prompts, reliance solely on image vectors was found insufficient for phrase comprehension 1. Conversely, the writing model achieves style imitation through simple few-shot learning, requiring no additional style encoders or fine-tuning 1.
Efficiency improvements are significant compared to previous iterations like the Cursive Transformer 1. On an A100 cluster, training times have been reduced to approximately 35 minutes for the drawing model and 8 minutes for the writing model, down from over 10 hours previously 1.
评论
还没有评论,欢迎留下第一条。