/ Модель

Характеристики

Лицензия
CC BY-NC 4.0
Базовая модель
ettin-encoder-68m
Библиотека
pytorch
Опубликована
17 ноя 2026

connais-1-68m

Классификация без дообученияТекст → label15 профессий

Компактная англоязычная модель-энкодер для классификации текста, выбора инструментов и оценки вариантов ответа, заданных пользователем.

97скачиваний за 30 дней1лайквеса обновлены18 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Connais 1 — компактная текстовая модель принятия решений, разработанная авторами проекта Connais. Энкодер с 66,8 млн параметров оценивает варианты ответа, заданные пользователем, за один проход и возвращает вероятности. Поддерживаются выбор из 2–255 текстовых вариантов, ответы «да/нет» и оценка по шкале из 2–10 уровней; к вариантам можно добавить примеры. Модель принимает только текст и не генерирует текст.

Сценарии применения

  • выбор подходящего инструмента для запроса в агенте
  • маршрутизация обращений по заданным категориям или обработчикам
  • классификация текста по пользовательским меткам и примерам
  • проверка утверждения в формате «да/нет» по предоставленному тексту
  • ранжирование случаев по заданной шкале

Ограничения

Модель преимущественно рассчитана на английский язык, слабо знает факты и не выполняет пошаговые рассуждения; в задачах, требующих знаний вне предоставленного текста, результаты могут быть близки к случайным. Хотя принимаются запросы до 32 768 токенов, обучение ограничивалось 7 999 токенами, и важная информация вдали от вопроса часто теряется; для решений с последствиями нужна проверка и резервный сценарий.

Для каких профессий подходит15

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Connais 1

A wooden sorting frame of empty pigeonholes against a grey wall. One compartment holds a single pale envelope.

Connais 1 is a small decision model. It reads a state (text) and one or more typed questions, and returns a probability for every allowed answer in a single encoder pass. It has 66,826,753 parameters, reads text only and generates no text.

Public Decision Index: 25.94, from this project's own complete run of the public suite. It is not a leaderboard entry: the leaderboard's maintainers have not reviewed or rerun it.

Summary

  • What it does. Multiple choice among options you name (choice), yes or no (noul), and an ordered scale (score). Options are free text, set per request, and may carry a few examples.
  • Size. 66,826,753 parameters, 267 MB of weights in 32-bit floats.
  • Context. Accepts up to 32,768 tokens per question; a longer request is refused, never cut. It is most reliable when the deciding information is within a few thousand tokens of the question (see Long requests).
  • Public Decision Index (0.3 suite): 25.94, from this project's own complete run of the public suite. Not a leaderboard entry (see Benchmarks).
  • It knows few facts. It recognises which offered option fits a text. It is not a source of knowledge, and its scores on knowledge benchmarks are low.

Run it

Everything needed is in this repository: the weights, the tokenizer and base-encoder settings, and the inference code. Nothing else is downloaded.

hf download Connais/connais-1-68m --local-dir connais-1
pip install ./connais-1                     # the `connais` package; add "[kit]" for the Decision Index kit
python connais-1/example.py                 # answers examples/request.json
from connais import load_engine

engine = load_engine("connais-1")           # a folder, or "Connais/connais-1-68m"
response, timing = engine(
    "User: is it raining in Zurich?",
    {"tool": {"type": "choice", "instructions": "Which tool?",
              "criteria": {"get_weather": "Current weather for a city",
                           "send_email": "Send an email to a contact",
                           "none": None}}},
)

As a server with the common POST /v1/systemone shape:

python -m connais.server --checkpoint connais-1 --port 8000

requirements.txt lists the exact versions the package was checked with. pip install alone takes compatible ones; transformers and tokenizers are pinned either way.

Request and response

{
  "model": "connais-1",
  "state": "User: is it raining in Zurich?",
  "questions": {
    "tool": {
      "type": "choice",
      "instructions": "Which tool?",
      "criteria": {
        "get_weather": "Current weather for a city",
        "send_email": "Send an email to a contact",
        "none": null
      }
    },
    "urgent": {"type": "noul", "instructions": "Is it urgent?"},
    "tone": {"type": "score", "instructions": "How polite?", "criteria": ["rude", "neutral", "polite"]}
  }
}

The model's answer to that request (captured from these weights on a CPU; the last decimals vary by device):

{
  "model": "connais-1",
  "answers": {
    "tool": {
      "type": "choice",
      "choice": "get_weather",
      "probabilities": {
        "get_weather": 0.970036680744708,
        "send_email": 0.0005388215954726673,
        "none": 0.02942449765981942
      },
      "confidence": 0.970036680744708
    },
    "urgent": {
      "type": "noul",
      "noul": 0.053177199069175146,
      "confidence": 0.9468228009308248
    },
    "tone": {
      "type": "score",
      "score": 1.037020503783832,
      "probabilities": [
        0.014370147023889206,
        0.9342392021683895,
        0.05139065080772126
      ],
      "confidence": 0.9342392021683895
    }
  },
  "usage": {
    "input_tokens": 97
  }
}
  • noul is the probability of yes. score is the expected level (0 is the first level).
  • confidence is the probability of the reported answer. Set a threshold on it to trade coverage for precision.
  • A question may carry examples: a few known cases per option, such as {"billing": ["I was charged twice"], "tech": ["The app crashes on login"]}. They are written into the option they belong to.
  • A choice takes 2 to 255 options, a score 2 to 10 levels.
  • A request that is malformed or too long raises an error (HTTP 422 from the server). Nothing is truncated and no option is dropped.

Intended use

What it is for:

  • choosing a tool, or deciding whether to call one at all, inside an agent;
  • routing a request to an intent or a handler from a list you describe;
  • yes/no checks and judgements about a text you supply;
  • sorting cases into your own categories, with or without a few examples per category.

What it is not for:

  • answering questions from memory (it knows few facts);
  • images, audio or anything but text;
  • multi-step reasoning;
  • decisions with real consequences without a confidence threshold and a fallback: it can be confidently wrong.

Benchmarks

Public Decision Index (0.3 suite): 25.94 (before the correction for chance: 43.82).

This is this project's own complete run of the public suite of the Decision Index, scored with the benchmark's kit. It is not an entry on the leaderboard and not the leaderboard's Full score, which comes from private tests that only its maintainers run. They have not reviewed or rerun this result.

  • 140,178 scored requests, all answered; 0 refused, 0 errors. One run, no error bars.
  • Settings: at most 32,768 tokens per question, 32-bit floats, one request at a time, on an Apple M4 Mac mini. Time per request over the run: median 19.7 ms, mean 145.4 ms, 95th percentile 416.8 ms.

By area (0 is guessing, 100 is perfect):

AreaSkill (0 to 100)RawCoverage
Knowledge & Reasoning3.828.1100.0%
Language Understanding23.444.0100.0%
Retrieval & Classification54.465.3100.0%
Tools & Automation37.043.9100.0%
Arts & Human Taste12.540.9100.0%

For comparison, the public index of other small decision models, read from the leaderboard's data on 16 November 2026:

ModelPublic index
Amber 68M37.89
Crivo-68M32.82
Mola-68M27.27
Connais 1 (this project's own run)25.94
LiquidAI d1-omni-600M (587M parameters)17.90
Bekko System One v0 68M13.01
BenchmarkMetricScoreChanceSkill (0 to 100)AnsweredIn the index
BFCLcase exact accuracy0.7140.25961.41,694 of 1,694yes
ToolRetnDCG@100.3080.13420.1685 of 685yes
API-Bankaccuracy0.5100.01950.0508 of 508yes
BANKING77macro-F10.9120.01391.13,080 of 3,080yes
CLINC150+OOSmacro-F10.8850.00688.55,500 of 5,500yes
RouterBenchselected quality (quality objective)0.6020.5746.610,000 of 10,000shown, not counted
Home appliance simulatorcase exact accuracy0.0000.0000.088 of 88yes
SGD/SGD-Xmacro-F10.5080.39918.22,500 of 2,500shown, not counted
ContractNLImacro-F10.4590.30821.8123 of 123yes
ANLImacro-F10.4170.33212.73,200 of 3,200yes
BPoMPaccuracy0.6770.50033.95,000 of 5,000yes
Humicroeditaccuracy0.5280.5005.72,628 of 2,628yes
POP909-CLaccuracy0.0050.0080.02,000 of 2,000yes
cfcoloraccuracy0.4840.5000.05,000 of 5,000yes
MMLUaccuracy0.2970.2506.314,033 of 14,033shown, not counted
GPQA Diamondaccuracy0.2190.2500.0196 of 196yes
ARC-Easyaccuracy0.5550.25040.62,376 of 2,376shown, not counted
ARC-Challengeaccuracy0.3610.25014.81,172 of 1,172shown, not counted
WinoGrandeaccuracy0.5270.5005.41,267 of 1,267yes
HellaSwagaccuracy0.3280.25010.410,042 of 10,042yes
GSM8Kaccuracy0.1720.2500.02,638 of 2,638yes
ChessBenchaccuracy0.0920.0821.15,000 of 5,000yes
MuSRaccuracy0.4800.37117.3752 of 752yes
SATA-Benchcase exact accuracy0.0490.0133.61,650 of 1,650yes
SimpleBenchaccuracy0.2000.1674.010 of 10shown, not counted
BRIGHTnDCG@100.1710.1166.2220 of 220yes
Amazon ESCImacro-F10.3670.20320.65,000 of 5,000yes
ACOSper-review F10.2730.03125.01,565 of 1,565yes
FinEntitymacro-F10.8040.32071.2979 of 979yes
iSarcasmEvalSarcasm F1 · track A, English0.2860.2238.14,600 of 4,600yes
VASTmacro-F10.6780.33351.73,006 of 3,006yes
NLI4CTmacro-F10.5600.48614.35,500 of 5,500yes
CRUXEvalaccuracy0.4210.3708.1570 of 570yes
CLadderaccuracy0.4990.5000.05,000 of 5,000yes
HLEaccuracy0.1620.1640.0501 of 501yes
Habermas Machineaccuracy0.3960.31112.41,676 of 1,676yes
PhishNChips phishing decisionsaccuracy0.8090.50061.92,000 of 2,000yes
MMLU-Proaccuracy0.1310.1112.312,032 of 12,032yes
BBH fixed-option tasksaccuracy0.3450.3105.05,507 of 5,507yes
RAGTruth response-level hallucinationF1 on hallucinated class0.1810.5180.02,700 of 2,700yes
HoVer claim verificationaccuracy0.7690.50053.84,000 of 4,000yes
When2Call MCQaccuracy0.5940.25045.83,652 of 3,652yes
New Yorker caption matchingaccuracy0.3850.20023.1528 of 528yes

Speed

On an Apple M4 Mac mini (GPU through MPS, 32-bit floats, one request at a time), over 305 requests of mixed length (median 593 tokens): median 41.5 ms, mean 393 ms, 80th percentile 386 ms, 95th percentile 1,380 ms. Time grows with the length of the request: most requests are short and a few are thousands of tokens long, which is why the mean sits far above the median. Not measured on other hardware. Measured with the weights first published on 17 November 2026; the current ones have the same size and layout.

Architecture

PartWhat it isParameters
Trunk layersjhu-clsp/ettin-encoder-68m (ModernBERT family), 19 bidirectional layers, width 51242.36M
Token table46,000 of the trunk's 50,368 entries, width 512; the tokenizer is unchanged23.55M
Option scorerMLP over each option, the answer slot and their product0.79M
Binding codes256 codes of width 512, an unused way of passing examples; saved with the model0.13M
Total66.8M

One question is one token sequence:

[CLS] state [SEP] <type> instructions <ans> [SEP] <opt> option 1 <opt> option 2 ... [SEP]
  • The trunk reads the whole sequence in both directions.
  • Each option is the mean hidden state over its own tokens, scored against the hidden state at <ans>. The scorer takes the option state, the answer state and their product.
  • Scores go through a softmax. There is one temperature per question type; all three are 1.
  • A token that was dropped from the table is written as a sequence of kept tokens, so text is still represented exactly, with more pieces for rare words.
  • The questions of one request share the state and run as one batch.

Long requests

The base encoder marks positions by rotation, so nothing in its weights ends at a fixed length. What ends is memory: the stock forward pass builds a table of every token against every token.

  • A question of up to 7,999 tokens takes the stock forward pass. (config.json still records 7,999, the longest request seen in training; the limit of 32,768 is set by the package.)

  • A longer one, up to 32,768 tokens, is read block by block: the same attention, computed in slices, so memory grows with the length and not with its square. This path is used only when answering, never in training.

  • Same arithmetic. On 15 requests of up to 5,400 tokens answered both ways, the probabilities differ by at most 2.7e-4 in 32-bit arithmetic and 9.3e-7 in 64-bit: rounding.

  • Time and memory, measured on an Apple M4 CPU with 3 threads: requests whose longest question has 8,000 to 19,000 tokens took 21 to 108 s each (several questions per request). Peak memory 4.7 GB. Not measured on a GPU at these lengths.

  • What it does with a long request. The model was not trained on requests of more than 7,999 tokens. In a test with made-up log text holding one fact and one look-alike (6 cases per setting; guessing gets about 1.5):

    Request lengthFact near the startIn the middleRight before the question
    3,900 tokens5 of 65 of 66 of 6
    7,8003 of 65 of 66 of 6
    11,9001 of 62 of 66 of 6
    15,9001 of 61 of 66 of 6
    23,9000 of 60 of 65 of 6
    31,9002 of 62 of 66 of 6

    It reads a long request, but it relies on what is close to the question. Put the deciding information within a few thousand tokens of the question.

  • On benchmark requests beyond 7,999 tokens: measured on 27 requests of the public Decision Index suite only. All 27 were answered, at about chance level. On the two contract-review requests just over 7,999 tokens (34 questions of about 8,300 tokens) accuracy was 0.173, below the chance level of 0.308. On the 23 tool-retrieval requests nDCG@10 was 0.116 (chance 0.127), and on the 2 BRIGHT requests 0.000. Two contract requests are a very small sample, but there is no evidence that answers to requests of this kind beyond 7,999 tokens are better than guessing.

Limitations

  • It knows few facts and does not reason in steps. There is no retrieval and no scratchpad. Expect chance-level answers where the answer is not in the request.
  • Text only, mostly English.
  • Long requests. Up to 32,768 tokens per question are accepted, but the model was not trained on more than 7,999 and uses mainly what is close to the question: a fact far from it is often missed from about 8,000 tokens on, and usually missed beyond 12,000 (see Long requests). Speed and memory at these lengths have been measured on a CPU only.
  • Confidence has not been measured on the released weights. On earlier versions it matched accuracy on familiar kinds of task and was too high on unfamiliar ones. Choose a threshold on your own data.
  • Benchmark figures are this project's own. In the complete run the model is at or near chance (skill under 5 of 100) on 11 counted benchmarks: Home appliance simulator, POP909-CL, cfcolor, GPQA Diamond, GSM8K, ChessBench, SATA-Bench, CLadder, HLE, MMLU-Pro, RAGTruth response-level hallucination. Every figure is a single run without error bars.

With the Decision Index kit

pip install "./connais-1[kit]"
python connais-1/examples/check.py connais-1      # nine sample requests through the kit's engine interface
decision-index run --engine connais.kit:ConnaisEngine \
    --option checkpoint=connais-1 --option max_length=32768 --edition 0.3 --compact --out runs/connais-1
  • Settings: 32-bit floats, one process, one request at a time, at most 32,768 tokens per question, no truncation, no option filtering, one rendering for every benchmark.
  • The package in this repository is the inference path of the project's development code, under the name connais. Checked against that code on 59 requests (1,464 probabilities): both feed the model the same tokens and return the same probabilities, to the last bit, on a CPU and on an Apple GPU. The longest question compared had 18,347 tokens; 1 of the requests went through the block-by-block path.
  • The development name of the engine, smolesscion.kit:SmolEngine, is kept as an alias of connais.kit:ConnaisEngine.
  • model.safetensors sha256: 787355a1f3d230a66484353b7434b20d7922e9be58e2980102ba980d4c6da32c

Versions

  • 18 November 2026: the weights were replaced with a set that scores higher on the public Decision Index (25.94 against 25.47 in the same kind of run). Same size and layout; the inference code is unchanged. Every benchmark figure on this page is from the current weights. On the two contract-review requests just beyond 7,999 tokens the first weights did better: 0.517 correct against 0.173.
  • 17 November 2026: first weights. They stay available at revision ff7ae85.

Licence

The weights (model.safetensors, with config.json and vocab.json) are released under the Creative Commons Attribution-NonCommercial 4.0 International licence (CC BY-NC 4.0): you may use, share and adapt them for non-commercial purposes, with credit to Connais. The code in this repository (the connais package, the examples) is released under the Apache License 2.0. The file LICENSE says which text covers what.

The base encoder, jhu-clsp/ettin-encoder-68m, is MIT-licensed (see NOTICE).

Name and contact

Written Connais 1, said "koh-NEH one". French connaître: to know by acquaintance, to recognise. The model recognises which offered option fits; it knows few facts.

Questions and reports: open a discussion on this repository.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · pytorch · zero-shot-classification

Можно запустить

Подбираем GPU…

Ревизия весов
7cdf6b1

0 моделей