AI model evaluation
The Canton of Basel-Stadt runs open AI models on its own platform, the KDKP. Before we put a model into use, we check whether it does the job well and whether it runs on our servers. This section explains how we do that.
The DCC AI team chooses and tests every model on the KDKP. We are setting up a governance board for these decisions. Until it exists, the team carries the responsibility.
We publish how we work, including our rules, our steps, our test code and our results. We keep our own test data to ourselves, because it comes from the daily work of real people. Further down this page we list what you can't check from the outside.
How we work
- We test on our own material. Public rankings help us find candidates. After that, we test with German and Swiss German texts and recordings that look like our daily work.
- We look at many things at once. A model first has to pass five basic checks. Then we compare test results, see how it copes with many users at the same time, and use it ourselves.
- People make the decision. The team decides and writes down why. Test results help us, and the final call is ours.
- We switch over slowly. For a while, the old and the new model run side by side. If the new one causes problems, we go back to the old one.
- We share the method and the results, and keep the data. You can read and run our test code and see how each model did. Where a test uses our internal data, we publish one total per model and you can't repeat it.
Pages in this section
| Page | What it covers |
|---|---|
| Selection standard | The five basic checks, and what else we look at for each kind of model |
| How we test | The five rounds of testing, with links to the code |
| Test results | Every model we tested, how it scored and what we decided |
| Model lifecycle | How often we review models, how we switch, and what we write down |
| Testing Bebbi Bot | The test suites of our chat assistant: Office files, citations, model habits, load |
The list of models we run today is on Models & APIs. Our servers are described on GPU Compute Cluster, and the software that runs the models on Inference Software Stack.
What we don't publish, and what is still missing
- We don't publish our own test data, or anything made from it item by item: transcripts, model outputs, scores of single recordings or documents. For tests on our own data, Test results shows one total per model.
- Results for anonymisation, decision models and load tests aren't on the results page yet.
- We also test models that find personal data in texts (for anonymisation) and models that support decisions. That test code isn't public yet.
- The test suites of Bebbi Bot are in an internal repository of IT BS. We describe them, but the code isn't public.
- We judge synthetic voices by listening to them, following a written checklist. We have no automatic score for voices.
- The governance board doesn't exist yet.
- When we last switched models, we didn't record every measurement we should have. The decision record now asks for all of them.
For other cantons
You are welcome to reuse our approach. Good starting points are the selection standard and the decision record template. The data policy explains how to run the tests on your own data. All code is in DCC-BS/ai-model-evaluation. To run it you need uv, a running model server and Docker with a GPU. The quick start walks you through the setup.
