Core server for Kairo — an NLP-powered note taker.
Refer to this OpenAPI Spec for the complete list of API endpoints.
Important
Install uv before proceedings.
Before you begin, ensure the following prerequisites are met:
-
Run
make
to install dependencies. -
Duplicate
.env.example
to.env
and set up your READ-ONLY Hugging Face token.
make dvc-setup
This will redirect you to browser for OAuth. You might encounter unauthorized warning cause I lazy to KYC for GCloud zzZ
make server
This usually starts the server at http://localhost:8000
Note
Pair this server with Kairo Web 🕸️ read more...
Caution
This is experimental and pretty compute-intensive.
make data
This will download the Hugging Face datasets based on this config
uv run -m scripts.train_ner \
--mode new \
--batch-size 32 \
--epochs 10 \
--learning-rate 1e-4 \
-
or you can simply opt out all the configs and run with
--mode new
only -
include
--use-wandb
to log the training to Weights & Biases, make sure to login withuv run wandb login
first
uv run -m scripts.train.abs_sum
uv run -m scripts.train.ext_sum
want to contribute? feel free to drop a PR or raise an issue!