We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffa8283 commit 110eef4Copy full SHA for 110eef4
README.md
@@ -312,6 +312,14 @@ module.exports = {
312
};
313
```
314
315
+## Development
316
+
317
+To build the `tiktoken` library, make sure to have:
318
+- Rust and [`wasm-pack`](https://github.com/rustwasm/wasm-pack) installed.
319
+- Node.js 18+ is required to build the JS bindings and fetch the latest encoder ranks via `fetch`.
320
321
+Install all the dev-dependencies with `yarn install` and build both WASM binary and JS bindings with `yarn build`.
322
323
## Acknowledgements
324
325
- https://github.com/zurawiki/tiktoken-rs
0 commit comments