minterp

book.config.ts

44 lines · View on GitHub · Linked from minterp

1// The website of the notes, built by bookkit: the engine in a checkout beside
2// this repository (../bookkit), whose README documents every key below.
3//
4//   make site      build _site/ from the last commit
5//   make dev       build the working tree and serve it
6
7import { defineBook } from "bookkit/config.ts";
8
9export default defineBook({
10  bookkit: "542a388e2214db5d35c5e9fba8883818cb483484",
11  title: "minterp",
12  subtitle: "Interpretability by hand, on a model you can train",
13  author: "Changkun Ou",
14  repo: "https://github.com/changkun/minterp",
15  url: "https://changkun.de/minterp/",
16  // The notes in reading order, as they are in docs/. The landing page is the README.
17  content: "docs",
18  pages: ["01-read.md", "02-probe.md", "03-patch.md", "04-circuit.md", "05-features.md", "06-feature-circuit.md", "07-steer.md", "08-limits.md", "09-stack.md"],
19  home: "README.md",
20  // A link from a note to a file of this repository becomes a page showing the
21  // file. A link to a directory, such as runs/patch/, leads to it on GitHub.
22  sources: { branch: "main", directories: true },
23  // The figures are placed into the page as markup, so the theme switch reaches
24  // them, and each opens large with pan and zoom.
25  images: { inline: true, zoom: true },
26  header: { logo: "site/logo.svg" },
27  // The accent is the blue of the figures.
28  theme: { accent: "#0b6fb8", "accent-ink": "#09588f", "accent-soft": "#e8f2fa", dark: { accent: "#58b0f0", "accent-ink": "#8cc8f5", "accent-soft": "#16293a" } },
29  footer: {
30    license: false,
31    stats: false,
32    author: { name: "Changkun Ou", url: "https://changkun.de" },
33    org: { name: "Latere AI", url: "https://latere.ai", mark: "site/latere-mark.svg" },
34  },
35  series: {
36    name: "AI safety",
37    items: [
38      { label: "1", title: "Scalable Oversight", url: "https://changkun.de/scalable-oversight/" },
39      { label: "2", title: "AI Alignment", url: "https://changkun.de/alignbook/" },
40      { label: "3", title: "minterp", current: true },
41      { label: "+", title: "minllm", url: "https://minllm.latere.site/" },
42    ],
43  },
44});