clm / 8b /decision.json
mertcobanov's picture
Ollaya package for Contrastive-LM/CLM-v0.1-8B
6fc089e verified
Raw History Blame Contribute Delete
2.13 kB
{
"engine": "onnx",
"family": "clm",
"layout": "clm-v1",
"upstream": {
"repo": "Contrastive-LM/CLM-v0.1-8B",
"revision": "e939398d4556fcd9400c76fa8c5a513202f42b0a",
"head": "CLM_v0.1-8B.pt",
"base": "Qwen/Qwen3-8B",
"base_revision": "b968826d9c46dd6066d109eabc6255188de91218",
"code": "https://github.com/Contrastive-LM/CLM"
},
"contract": {
"inputs": {
"input_ids": {
"dtype": "int64",
"shape": [
"rows",
"seq"
],
"note": "one text per row; right-pad with any id"
},
"last_pos": {
"dtype": "int64",
"shape": [
"rows"
],
"note": "position of the row's last token"
},
"action": {
"dtype": "int64",
"shape": [
"rows"
],
"note": "1 = option text (action head), 0 = state text"
}
},
"outputs": {
"z": {
"dtype": "float32",
"shape": [
"rows",
512
],
"note": "L2-normalised projection"
}
},
"positions": "0..seq-1, implicit",
"attention": "causal; no mask input (right padding cannot reach earlier positions)"
},
"scale": 100.0,
"max_text_tokens": 2048,
"special_tokens": {
"pad": 151643,
"add_special_tokens": false
},
"templates": {
"state": "clm.schema.state_text: to_text(state).strip() + '\\n\\n' + to_text(instructions).strip()",
"choice_option": "to_text(description), or the key when the description is null or ''",
"score_option": "to_text(level)",
"noul_options": [
"false: {description or 'No. This is false: ' + instructions}",
"true: {description or 'Yes. This is true: ' + instructions}"
],
"to_text": "clm.schema.to_text: str verbatim; bool true/false; numbers Python str(); dict 'k: v' (top level joined by a blank line, nested indented 2); list '- item' lines"
},
"option_logits": "scale * z[option row] . z[state row], in option order",
"opset": 20,
"precision": "fp32 compute; Qwen3-8B weights BF16, widened by Cast; heads F32",
"weights_in_memory": "bf16"
}