Ross ROSS = Recommend OSS · open-source software intelligence for agents

THUDM/LongWriter

[ICLR 2025] LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMs observed · 2026-08-28

github.com/THUDM/LongWriter · Python · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

35/100

  • Activity 28
  • Release rhythm 35
  • Longevity 53

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 751
  • days_rel: n/a
  • days_push: 435
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1875 stars · 182 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

LongWriter is a research project from Tsinghua's THUDM group providing fine-tuned LLMs (based on GLM-4-9B and Llama-3.1-8B) plus training and inference code that enable generating 10,000+ word outputs from long-context models. It includes the LongWriter-6k dataset, the AgentWrite planning method, and LongWriter-Zero, an RL-trained variant.

Use cases

  • generate 10000-word documents with an llm
  • write long-form reports or travel guides in one shot
  • fine-tune a model to produce very long coherent outputs
  • deploy a chatbot that writes ultra-long text fast with vllm
  • train an llm for long-text generation with reinforcement learning
  • evaluate models on long-form writing benchmarks

When to choose

  • you need single-pass generation of very long documents (10k+ words)
  • you want to fine-tune or reproduce long-output LLM research
  • you need open-weight 8-9B models specialized for long-form writing

When to avoid

  • you only need short or medium-length responses
  • you want a hosted API rather than self-hosting open models
  • you lack GPU resources for 9B-32B model inference or training

Facets

library · maturity active

llm-inference llm-training machine-learning nlp large-language-models artificial-intelligence python long-context long-form-generation fine-tuning agentwrite glm4 llama3 rl-training huggingface natural-language-processing gpu linux

1 source

Member repositories

RepositoryRoleHealth v2
THUDM/LongWritermain35

For agents

markdown · JSON · MCP: product_card(name="THUDM/LongWriter")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem