Source: https://seerepo.com/compare/harvard-edge/cs249r_book/vs/MaartenGr/BERTopic
Markdown source: https://seerepo.com/compare/harvard-edge/cs249r_book/vs/MaartenGr/BERTopic.md
Description: cs249r_book and BERTopic share 3 technologies: Plotly, scikit-learn, and sentence-transformers. Both are written in Python.

# cs249r_book vs BERTopic

cs249r_book and BERTopic share 3 technologies: Plotly, scikit-learn, and sentence-transformers. Both are written in Python.

- [harvard-edge/cs249r_book](https://seerepo.com/r/harvard-edge/cs249r_book): Machine Learning Systems: Foundations, Scaling, Agentic AI, and Physical AI (Vols I–IV) • Harvard CS249r | https://mlsysbook.ai
- [MaartenGr/BERTopic](https://seerepo.com/r/MaartenGr/BERTopic): Leveraging BERT and c-TF-IDF to create easily interpretable topics. 

## What they share and what sets them apart

- In common: Plotly, scikit-learn, sentence-transformers
- Only in cs249r_book: async-lru, flexcache, pyzmq, requests-cache, pyarrow, anyio, jupyter-core, jupyterlab-server, tornado, marimo, Vite, React, idb, Next.js, cycler, fonttools, jupyterlab-pygments, soupsieve, tinycss2, contourpy, ipywidgets, jupyter-server-terminals, jupyterlab-widgets, matplotlib-inline, prompt-toolkit, seaborn, widgetsnbextension, Rich, matplotlib, argon2-cffi, argon2-cffi-bindings, groq, Ollama, OpenAI, torch, transformers, torchvision, tflite, librosa, nltk, ogb, torch-geometric, betterbib, bleach, defusedxml, ghostscript, jinja2, latexcodec, markdown-it-py, markupsafe, mdurl, mistune, nbconvert, pandocfilters, pybtex, pylatexenc, pypandoc, python-frontmatter, sgf, tablib, webencodings, xlrd, xlwt, xmltodict, beautifulsoup4, pillow, lxml, epubcheck, bibtexparser, jupytext, nbformat, annotated-types, cattrs, fastjsonschema, fqdn, jsonschema-specifications, linkml, referencing, rfc3339-validator, rfc3986-validator, rfc3987-syntax, Pydantic, jsonschema, linkml-runtime, prometheus-client, python-json-logger, psutil, Tailwind CSS, Chart.js, D3, Mermaid, ink-mde, compromise, dompurify, katex, markdown-it, markdown-it-container, jspdf, jspdf-autotable, Framer, react-medium-image-zoom, Lucide
- Only in BERTopic: llvmlite, umap-learn, hdbscan

## Side by side

| | cs249r_book | BERTopic |
|---|---|---|
| Size | 828,618 lines written, 1,983 code files | 14,135 lines written, 56 code files |
| Who writes it | 2.7% of its commits signed by AI. With Codex, Claude Code, and Cursor | 0% of its commits signed by AI |
| Activity | Last push November 20, 2026, 22,406 commits, 30,274 stars | Last push November 14, 2026, 251 commits, 7,965 stars |
| Tests | 632 test files. 16.8% of its code files have a test that imports them | 31 test files. 8.9% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, cs249r_book or BERTopic?

cs249r_book, with 828,618 lines written; BERTopic has 14,135.

The proof: [harvard-edge/cs249r_book's code at commit 5b6b3c8](https://github.com/harvard-edge/cs249r_book/tree/5b6b3c8d82e429ea25c9c04dd1be477937008c28)

### Which has more GitHub stars, cs249r_book or BERTopic?

cs249r_book, with 30,274 stars; BERTopic has 7,965.

The proof: [harvard-edge/cs249r_book on GitHub](https://github.com/harvard-edge/cs249r_book)

### Which has more tests, cs249r_book or BERTopic?

cs249r_book, with 632 test files; BERTopic has 31.

The proof: [harvard-edge/cs249r_book's code at commit 5b6b3c8](https://github.com/harvard-edge/cs249r_book/tree/5b6b3c8d82e429ea25c9c04dd1be477937008c28)

### Which was updated more recently, cs249r_book or BERTopic?

cs249r_book: its last push was on November 20, 2026, and BERTopic's on November 14, 2026.

The proof: [harvard-edge/cs249r_book's commits on GitHub](https://github.com/harvard-edge/cs249r_book/commits)

### Which has more commits signed by AI, cs249r_book or BERTopic?

cs249r_book: an AI signed 2.7% of its commits, with Codex, Claude Code, and Cursor.

The proof: [the commits each tool signed in harvard-edge/cs249r_book](https://seerepo.com/r/harvard-edge/cs249r_book/ai)

## Sources

- harvard-edge/cs249r_book: Read on November 20, 2026, at commit 5b6b3c8 (https://github.com/harvard-edge/cs249r_book/tree/5b6b3c8d82e429ea25c9c04dd1be477937008c28)
- MaartenGr/BERTopic: Read on November 18, 2026, at commit 9036123 (https://github.com/MaartenGr/BERTopic/tree/9036123c97aaa9a6cc4bec4a6db1a7caf9209df6)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
