{"rewrite":{"id":"r_380aba8c113e4cad6c5963c8","clusterId":"c_4d4a5d29de3ea24cdc1cd9b0","slug":"sam-greydanus-releases-pengpt-a-small-transformer-that-writes-by-hand","model":"deepseek-v4-1-flash","headline":"Sam Greydanus Releases PenGPT, a Small Transformer That Writes by Hand","summary":"Machine learning researcher Sam Greydanus released PenGPT, a small transformer that generates handwriting and sketches from text. It was trained on 495,590 words of handwriting from 1,255 writers and 477,670 sketches from 10 public datasets. Each training sequence holds up to four words by one writer, so the model learns that later words resemble earlier ones. A web page lets visitors try it.","whyItMatters":"Greydanus says roughly 80 percent of the effort went into building and cleaning the datasets rather than the architecture, which is the part of the project he wants people to look at.","webCardHtml":"\u003cp\u003eThe training data is the argument. Greydanus scanned 495,590 words of handwriting from 1,255 writers and pulled 477,670 sketches from 10 public datasets, then spent most of the project on quality control. Sequences hold up to four words by a single writer, so the model picks up that later words should resemble earlier ones and keeps a page consistent.\u003c/p\u003e\u003cp\u003eOn the released web page, WRITE turns entered text into a chosen hand, with a pull-down menu of sets that includes one imitating Greydanus\u0026#39;s own writing and an ANOTHER HAND button for random swaps. Neat and loose sliders control distortion. DRAW produces doodles, not finished pictures, with loose and literal sliders for fidelity and sparse and dense sliders for line count.\u003c/p\u003e","blueskyPost":"PenGPT learns each writer's hand from four-word sequences, so its output holds a consistent slant across a line. Greydanus trained it on 1,255 writers, which is why it can imitate a hand rather than just print letters.","twitterPost":"PenGPT groups training words by writer, four at a time, so it learns that later words resemble earlier ones. That is how it keeps one hand consistent.","threadsPost":"PenGPT's training data is grouped by writer, up to four words each, so the model learns that later words in a sequence resemble earlier ones. That is what lets it hold a single hand across a line instead of drifting between letterforms.","newsletterBlurb":"Sam Greydanus released PenGPT, a small transformer that generates handwriting and sketches from text, trained on 495,590 handwritten words from 1,255 writers and 477,670 sketches from 10 public datasets. A web page lets visitors write in a chosen hand or draw doodles, with sliders for neatness and fidelity. Greydanus says most of the effort went into building clean datasets, not the model design.","attributionJson":"[{\"source\":\"GIGAZINE\",\"url\":\"https://gigazine.net/news/20261126-pengpt/\",\"title\":\"PenGPT: An AI Model That Can Generate Handwriting and Sketches\"}]","lintFlagsJson":null,"lintHits":0,"costUsd":0,"inputTokens":5558,"outputTokens":734,"status":"published","repairAttempts":0,"nextRepairAt":null,"factsAttemptedAt":1795675233,"createdAt":"2026-11-26T06:37:01.000Z","publishedAt":"2026-11-26T06:39:16.000Z","updatedAt":"2026-11-26T06:39:16.000Z"},"cluster":{"id":"c_4d4a5d29de3ea24cdc1cd9b0","canonicalTitle":"手書き文字やスケッチを生成できるAIモデル「PenGPT」","representativeArticleId":"a_f2c38ce61db5d7d0c8d4e04b","sourceCount":1,"writtenSourceCount":1,"writeAttempts":0,"isSolo":true,"entitiesJson":"{\"anime_titles\":[],\"manga_titles\":[],\"work_titles\":[\"PenGPT\"],\"studios\":[],\"people\":[\"Sam Greydanus\"],\"type\":\"news\",\"domain\":\"other\",\"is_roundup\":false}","contentType":"news","status":"published","firstSeenAt":"2026-11-26T05:50:00.000Z","lastSeenAt":"2026-11-26T05:50:00.000Z","updatedAt":"2026-11-26T06:39:13.000Z"},"attribution":[{"source":"GIGAZINE","url":"https://gigazine.net/news/20261126-pengpt/","title":"手書き文字やスケッチを生成できるAIモデル「PenGPT」"}],"entities":{"anime_titles":[],"manga_titles":[],"work_titles":["PenGPT"],"studios":[],"people":["Sam Greydanus"],"type":"news","domain":"other","is_roundup":false},"keyFacts":["Sam Greydanus released PenGPT, a small transformer that generates handwriting and sketches from text.","PenGPT was trained on 495,590 words of handwriting data from 1,255 writers.","Training also used 477,670 sketches extracted from 10 public datasets.","Each training sequence contains up to four words by a single writer.","Greydanus said about 80 percent of his effort went into building and quality-checking the datasets."],"pageLinks":{"healthSlugs":["pengpt","sam-greydanus"],"storySlugs":[],"entities":[{"slug":"pengpt","supported":0,"disputed":0,"contradicted":0,"unverified":2,"overall":"unverified","story_count":1,"has_dossier":false},{"slug":"sam-greydanus","supported":0,"disputed":0,"contradicted":0,"unverified":1,"overall":"unverified","story_count":1,"has_dossier":false}],"stories":[],"entitiesOk":true,"storiesOk":true}}
