8 Downloads Updated 2 days ago
curl http://localhost:11434/v1/systemone \
-H "Content-Type: application/json" \
-d '{
"model": "aliildan/signrule-decide",
"state": "Hello World",
"questions": {
"says_hello": {
"type": "noul",
"instructions": "Does the state text contain a greeting?",
"criteria": {
"true": "The state text contains a greeting.",
"false": "The state text does not contain a greeting."
}
}
}
}'
Updated 2 days ago
2 days ago
b493a92c4fd0 · 5.1GB
Who may sign for this company?
A 4B decision model that reads a company’s signing rule as published by an official commercial register (Austrian Firmenbuch, Norwegian Brønnøysund) together with the registered roles, and answers fixed questions with calibrated probabilities. It does not generate text.
Trained only on labels from the registers themselves (Austrian court codes, Norway’s own rule interpreter). No synthetic data, no labels from language models.
ollama pull aliildan/signrule-decide
curl http://localhost:11434/v1/systemone -d '{
"model": "aliildan/signrule-decide",
"state": {
"jurisdiction": "AT",
"legal_form": "GmbH",
"signature_rule": "Geschäftsführer [PERSON_1]: vertritt seit 01.03.2019 gemeinsam mit einem weiteren Geschäftsführer; Geschäftsführer [PERSON_2]: vertritt seit 01.03.2019 gemeinsam mit einem weiteren Geschäftsführer",
"roles": [{"role": "Geschäftsführer", "count": 2}]
},
"questions": {
"ceo_alone": {"type": "noul", "instructions": "Can the managing director (CEO), by virtue of that office, bind the company alone?"},
"two_ceos": {"type": "noul", "instructions": "Can two managing directors together bind the company?"}
}
}'
Answer: ceo_alone 0.001 (no), two_ceos 0.998 (yes).
configs/questions.yaml; the calibration belongs to them.jurisdiction, legal_form, signature_rule, procuration_rule, roles, role_notes. Replace names with [PERSON_1], [PERSON_2], …ollama-linux-amd64-mlx, CUDA 13) and MLX_CUDA_CONV_CACHE_SIZE=8192, MLX_CUDA_GRAPH_CACHE_SIZE=8192 in the server’s environment.On reference sets the model never saw in training:
| Austria (400 extracts): office and coalition questions | 99.5 % |
| Austria: minimum signers | 96.9 % |
| Austria: dangerous errors (“can sign” when it cannot) | 6 of 2,178 |
| Norway (texts the official interpreter could not read): rule type | 95.5 % |
| Denmark (never trained on, beta): coalitions | 93.2 % |
The reference answers come from two different AI assistants, kept where both agree and spot-checked by a person, so the numbers measure agreement with that consensus, not fully human labels. Measured on the model’s PyTorch weights; this q8 build gives the same decision on 99.9 % of 4,308 answers (largest probability difference 0.10, on answers the model was unsure about). Publishing it deviates from the pre-registered rule (every probability within 0.02); the project owner decided to release it anyway.