File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# grouping-trainer
22
33Training and eval code for [ Sentry's AI grouping
4- model] ( https://docs.sentry.io/concepts/data-management/event-grouping/ ) .
4+ model] ( https://docs.sentry.io/concepts/data-management/event-grouping/#ai-enhanced-grouping ) .
55
66
77## Set up local
88
991 . Install [ uv] ( https://docs.astral.sh/uv/getting-started/installation/ ) , [ direnv] ( https://direnv.net/ ) , [ Google Cloud
1010 SDK] ( https://docs.cloud.google.com/sdk/docs/install-sdk ) .
1111
12- 1 . Sign up for [ WandB] ( https://wandb.ai/site ) and add a secret at ` wandb-api-key ` in your GCP project.
12+ 1 . Sign up for [ WandB] ( https://wandb.ai/site ) and (optionally) add a secret at ` wandb-api-key ` in your GCP project.
1313
14141 . Create ` .env `
1515
16+ Sentry employees:
17+
18+ ``` bash
19+ gcloud secrets versions access latest --secret=grouping-trainer-env > .env
20+ ```
21+
22+ Others:
23+
1624 ``` bash
1725 cp .env.example .env
1826 ```
1927
20- Fill in your GCP project name and GCS bucket name .
28+ And fill in the values .
2129
22301 . Set up the local Python environment:
2331
You can’t perform that action at this time.
0 commit comments