#76 · Primary category: Writing & Content
LongWriter
[ICLR 2025] LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMs
Project last updated:06/24/25
GitHub Stars
1.9K
Forks
182
Contributors
4
License
Apache-2.0
Why we included this project
LongWriter is for anyone who has watched a model start repeating itself or trail off entirely after a few thousand tokens. It shows how to get LLMs to produce coherent 10,000+ word outputs, and it ships enough to try that out right away: two ready-to-load open weights (one based on GLM-4-9B, one on Llama-3.1-8B) and a single inference script that works with either transformers or vLLM. The repo also opens up the whole training recipe, which matters if you want to reproduce the results rather than just use them. That means the AgentWrite pipeline, which breaks a long request into an outline of sub-tasks and uses it to build training data, plus the fine-tuning code and two evaluation benchmarks that measure output length separately from quality. If supervised training is not your route, the newer LongWriter-Zero variant uses pure RL with no synthetic or annotated data and reportedly beats even much larger models on long-form writing. Teams producing long drafts, reports, or fiction from fine-tuned or on-premise models will get a clearer picture of what it takes to make a model actually finish a long piece of writing.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
AppFlowy
Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
ppt-master
AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
humanizer
Agent skill that removes signs of AI-generated writing from text
Resume-Matcher
The #1 AI Harness for Building Resumes, PDFs, Cover Letters & more, locally with 100+ LLMs support.
storm
An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.