Better HN
topnewbestaskshowjobs
Log inSign up

p0

3 karma · joined Dec 7, 2021 (4y ago) · 4 submissions

Senior Director of Engineering @ GitHub, responsible for CodeQL, code search, and code navigation
Submissions

comment 1y ago · link · parent

How does this compare to the BPE crate [1]? Its main selling point is support for incrementally re-tokenising text, but it's also faster than tiktoken.

[1] https://crates.io/crates/bpe

comment 4y ago · link · parent

Check out https://cs.github.com/about/syntax -- indeed, by default terms are searched in both content and paths. You can restrict to one or the other with `content:` or `path:`.

comment 4y ago · link · parent

You could do this with `-path:docs/` (or `NOT path:docs/`).