2026-11-26 15:47 UTC

Hugging Face open-sources a live Papers with Code revival

state: significantheat: lowuncertainty: mediumrelevance: highpapers-with-code open-source research-infrastructureHugging Face

What is this?

The Hugging Face GitHub repository presents Papers with Code as an Apache-2.0-licensed revival of the catalog Meta retired in 2025, with a live site at paperswithcode.co, a compatible public API, and scheduled imports from Hugging Face, arXiv, GitHub, and public leaderboards. Its README describes features including paper-to-code, model, dataset, and benchmark links, search, and leaderboard syncing. This is evidence of an available project, not proof that its catalog is complete or that all scheduled curation is reliable; the README also says the initial database starts empty for local deployments. Earlier coverage describes Hugging Face’s separate Trending Papers effort as a successor, so this appears to be a distinct revival rather than evidence that the original service continued uninterrupted.

Why it matters

The evidence supports a live, openly licensed research catalog with a compatible API, making the revival directly useful to people exploring and checking AI research. Whether it reliably restores the original service’s coverage remains unresolved.

Current assessment

Hugging Face has published an Apache-2.0-licensed recreation of Papers with Code, which Meta retired in 2025, and links to a live site at paperswithcode.co. The project describes a catalog connecting papers with code, models, datasets, tasks, and benchmarks; a public API compatible with the original client; and scheduled imports and curation workflows. The release and license are corroborated by the repository and announcement, but most operational details are project-described, not independently validated. The repository says local installations start with an empty database; this does not establish the state or completeness of the hosted catalog. A Hugging Face team member has separately described fresh papers and leaderboards being added with agent assistance and human verification, but coverage and verification quality remain uncertain. This is distinct from Hugging Face’s earlier Trending Papers effort and does not mean the original service continued uninterrupted. Track whether the hosted catalog stays current, evaluations are dependable, and the API and update jobs remain maintained.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady3 platformsage 770h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-25 13:00⭐ origin echo-reconstructed“Papers with Code is now open-source! Apache 2.0-license. Let's collaboratively make the best paper interface!” The post links directly to t
Niels Rogge on x (echo) · attributed from hn.story.50256327
—
10-27 09:03first on hacker news · published · +44.1hPapers with Code is now open-source
nielz_r
—
10-27 09:54first on r/MachineLearning · published · +44.9hPapers with Code is now open-source [P]
NielsRogge
—
10-27 09:03amplified on hacker newshn.story.50256327
nielz_r
peak 2 · 1 comments · 10% of case engagement
10-27 09:54amplified on r/MachineLearning 👑reddit.post.1xgoadu
NielsRogge
peak 45 · 2 comments · 90% of case engagement
10-27 09:26our radar first saw it · +44.4hdiscovery anchor: hn.story.50256327—
pace: p64 vs 879 stories at the 720h mark (now 770h old) — ahead of auroraai-nanostories-dataset (1.0x), behind codex-claude-cross-model-pr-review-trial (1.0x)

Evidence (3) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnPapers with Code is now open-source
Retrieved article excerpt

Open article · Retrieved 2026-10-27T09:27:18.651617+00:00

# Papers with Code

Papers with Code makes open AI research and its artifacts accessible: papers,
code, models, datasets, tasks, methods, and benchmark leaderboards. It recreates
the original paperswithcode.com, which Meta retired in 2025, and keeps it up to
date with automated imports from Hugging Face, arXiv, GitHub, and public
leaderboards.

**Live site:** <https://paperswithcode.co>

## Features

- **Paper catalog.** arXiv and external papers with official code, project
  pages, Hugging Face models, datasets, and Spaces, plus thumbnails, TL;DRs,
  lineage, and a Markdown reader.
- **Taxonomy.** Browsable tasks, methods, datasets, frameworks, conferences,
  organizations, and authors, with trending views.
- **Leaderboards.** Paper-native evaluation results on benchmarks, plus
  scheduled syncs of external leaderboards.
- **Search.** Hybrid lexical (`pg_trgm`) and semantic (`pgvector`) paper
  retrieval.
- **Public API.** A REST API under `/api/v1/` that stays compatible with the
  original [Papers with Code API client](https://github.com/paperswithcode/paperswithcode-client).
  OpenAPI docs are served at `/docs`.
- **Research chat (optional).** An assistant grounded in the catalog through the
  Papers with Code MCP tools.
- **Curation automation.** Scheduled jobs and agent workflows import daily
  papers, link tasks and methods, refresh stars and citations, and propose
  evaluations.

## Tech stack

| Layer | Technology |
| --- | --- |
| Frontend | React 18, TypeScript, Vite, TanStack Query, shadcn/ui, Tailwind CSS |
| Backend | Python 3.12, FastAPI, SQLAlchemy 2, Pydantic |
| Database | PostgreSQL 16 with the `vector` and `pg_trgm` extensions |
| Tooling | [uv](https://docs.astral.sh/uv/), npm, Ruff, pytest |
| Hosting | nginx serving immutable releases ([deploy/](https://github.com/huggingface/paperswithcode/blob/main/deploy)) |

## Repository layout

| Path | Contents |
| --- | --- |
| [`backend/`](https://github.com/huggingface/paperswithcode/blob/main/backend) | FastAPI app (`main.py`), `routers/` (HTTP adapters), `services/` (domain logic), `models/` (API models; `models/database/` for SQLAlchemy models), `database/migrations/` (SQL migrations), `cli.py` (the `pwc` maintenance CLI), and `tests/` |
| [`frontend/`](https://github.com/huggingface/paperswithcode/blob/main/frontend) | React single-page app |
| [`deploy/`](https://github.com/huggingface/paperswithcode/blob/main/deploy) | Release, rollback, nginx, systemd, and environment templates for the hosted site |
| [`.github/workflows/`](https://github.com/huggingface/paperswithcode/blob/main/.github/workflows) | CI and scheduled data jobs; job scripts live in `scripts/` |
| [`jobs/`](https://github.com/huggingface/paperswithcode/blob/main/jobs) | Paper-curation runner for Hugging Face Jobs |
| [`docs/`](https://github.com/huggingface/paperswithcode/blob/main/docs) | Development, data, database, and operations guides |

## Local development

### Prerequisites

- [uv](https://docs.astral.sh/uv/getting-started/installation/), which
  installs Python 3.12 for you
- Node.js 18+ and npm
- PostgreSQL 16 with [pgvector](https://github.com/pgvector/pgvector)

### 1. Install dependencies

```
git clone https://github.com/huggingface/paperswithcode.git
cd paperswithcode
uv sync
cd frontend && npm install && cd ..
```

### 2. Create a database

```
createdb paperswithcode
psql -d paperswithcode -c 'CREATE EXTENSION vector' -c 'CREATE EXTENSION pg_trgm'
```

### 3. Configure the environment

Settings are read from `PWC_`-prefixed environment variables (see
[`backend/config.py`](https://github.com/huggingface/paperswithcode/blob/main/backend/config.py)). Put them in `backend/keys.env`,
which git ignores:

```
PWC_DB_HOST=localhost
PWC_DB_PORT=5432
PWC_DB_NAME=paperswithcode
PWC_DB_USER=postgres
PWC_DB_PASSWORD=
PWC_ENVIRONMENT=development

# Optional: higher Hugging Face and GitHub rate limits for imports
PWC_HF_TOKEN=
PWC_GITHUB_TOKEN=
```

Chat, curation, and hosted integrations need more credentials; the
templates in [`deploy/env/`](https://github.com/huggingface/paperswithcode/blob/main/deploy/env) list them.

### 4. Create the schema and run the app

```
uv run --env-file backend/keys.env python -m backend.database.connection init
uv run --env-file backend/keys.env backend/run_server.py   # API on http://localhost:8000
cd frontend && npm run dev                                   # app on http://localhost:8080
```

The Vite dev server proxies `/api` to the backend on port 8000. The schema
starts empty; use the `pwc` CLI below to index papers.

### Tests and linting

```
uv run pytest backend/tests/paper -q    # run the suite you touched
cd frontend && npm run lint
```

Tests that need PostgreSQL refuse to run unless `PWC_TEST_DATABASE=1` points
them at a disposable database. The
[development guide](https://github.com/huggingface/paperswithcode/blob/main/docs/development-guide.md) lists the test suites and
conventions. [pre-commit](https://pre-commit.com/) runs Ruff on each commit;
run `pre-commit install` once to enable it.

## The `pwc` maintenance CLI

`uv sync` installs a `pwc` command for catalog maintenance. Run
`uv run pwc --help` for the full list. Common commands:

```
uv run --env-file backend/keys.env pwc paper index 1706.03762    # index or refresh an arXiv paper
uv run --env-file backend/keys.env pwc paper info 1706.03762
uv run --env-file backend/keys.env pwc search "vision-language models"
uv run --env-file backend/keys.env pwc paper add-external https://example.org/research
uv run --env-file backend/keys.env pwc benchmark add "ExampleBench" \
  --task question-answering --metric Accuracy --source-paper 2501.12345
uv run --env-file backend/keys.env pwc thumbnail 1706.03762      # regenerate a thumbnail
uv run --env-file backend/keys.env pwc cron health               # scheduled-job health
```

For read-only access to the public catalog from any machine, install the
standalone [`pwc-cli`](https://github.com/huggingface/pwc-cli):

```
uv tool install 'git+https://github.com/huggingface/pwc-cli.git#subdirectory=standalone_cli'
```

## Hosted deployment

paperswithcode.co runs production and staging as immutable releases behind
nginx; see [docs/deployment.md](https://github.com/huggingface/paperswithcode/blob/main/docs/deployment.md) and
[docs/operations.md](https://github.com/huggingface/paperswithcode/blob/main/docs/operations.md). Durable artifacts live in private
Hugging Face buckets in the `huggingface` organization:

| Bucket | Purpose | Setting |
| --- | --- | --- |
| `huggingface/pwc-papers-content` | Paper Markdown used by the reader and `pwc paper read` | `PWC_PAPER_MARKDOWN_HF_BUCKET_ID` |
| `huggingface/pwc-thumbnail` | Generated paper thumbnails | `PWC_THUMBNAIL_HF_BUCKET_ID` |
| `huggingface/pwc-paper-embeddings` | Embedding exports and experiments | `hf://buckets/huggingface/pwc-paper-embeddings/...` |
| `huggingface/paperswithcode-backups` | Database backups | `PWC_POSTGRES_BACKUP_BUCKET` |

## Documentation

- [docs/development-guide.md](https://github.com/huggingface/paperswithcode/blob/main/docs/development-guide.md): conventions, test suites, and local checks
- [docs/public-api.md](https://github.com/huggingface/paperswithcode/blob/main/docs/public-api.md): the public REST API
- [docs/database.md](https://github.com/huggingface/paperswithcode/blob/main/docs/database.md): database access and security
- [docs/DATABASE\_SCHEMA\_UML.md](https://github.com/huggingface/paperswithcode/blob/main/docs/DATABASE_SCHEMA_UML.md): schema reference
- [docs/data-workflows.md](https://github.com/huggingface/paperswithcode/blob/main/docs/data-workflows.md): datasets, evaluations, metrics, and tasks
- [docs/operations.md](https://github.com/huggingface/paperswithcode/blob/main/docs/operations.md): scheduled jobs and monitoring
- [docs/deployment.md](https://github.com/huggingface/paperswithcode/blob/main/docs/deployment.md): releases, nginx, and smoke checks
- [.github/workflows/scripts/README.md](https://github.com/huggingface/paperswithcode/blob/main/.github/workflows/scripts/README.md): scheduled job scripts
- [AGENTS.md](https://github.com/huggingface/paperswithcode/blob/main/AGENTS.md): instructions for coding agents

## Security

Please report vulnerabilities privately; see [SECURITY.md](https://github.com/huggingface/paperswithcode/blob/main/SECURITY.md).

## License

Papers with Code is licensed under the [Apache License 2.0](https://github.com/huggingface/paperswithcode/blob/main/LICENSE).
nielz_r21
🟧 echo.x ⭐“Papers with Code is now open-source! Apache 2.0-license. Let's collaboratively make the best paper interface!” The post links directly to tNiels Rogge——
🟠 redditPapers with Code is now open-source [P]
MachineLearning
NielsRogge442

Interpretation history

Decision trace