File size: 1,994 Bytes
297d59c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
  "add_prefix_space": null,
  "auto_map": {
    "AutoTokenizer": [
      "llmjp4_tokenizer.Llmjp4Tokenizer",
      null
    ]
  },
  "backend": "tokenizers",
  "bos_token": "<|startoftext|>",
  "clean_up_tokenization_spaces": false,
  "cls_token": "<|cls|>",
  "eod_token": "<|eod|>",
  "eos_token": "<|return|>",
  "extra_ids": 0,
  "is_local": false,
  "local_files_only": false,
  "mask_token": "<|mask|>",
  "model_max_length": 1000000000000000019884624838656,
  "model_specific_special_tokens": {
    "eod_token": "<|eod|>"
  },
  "pad_token": "<|endoftext|>",
  "response_schema": {
    "properties": {
      "content": {
        "type": "string",
        "x-regex": "<\\|channel\\|>final<\\|message\\|>(.*?)(?:<\\|end\\|>|<\\|return\\|>|$)"
      },
      "role": {
        "const": "assistant"
      },
      "thinking": {
        "type": "string",
        "x-regex": "<\\|channel\\|>analysis<\\|message\\|>(.*?)<\\|end\\|>"
      },
      "tool_calls": {
        "items": {
          "properties": {
            "function": {
              "properties": {
                "arguments": {
                  "additionalProperties": {
                    "type": "any"
                  },
                  "type": "object",
                  "x-parser": "json",
                  "x-regex": "<\\|message\\|>(.*)"
                },
                "name": {
                  "type": "string",
                  "x-regex": "^to=functions\\.(\\w+)"
                }
              },
              "type": "object"
            },
            "type": {
              "const": "function"
            }
          },
          "type": "object"
        },
        "type": "array",
        "x-regex-iterator": "<\\|channel\\|>commentary (to=functions\\..*?<\\|message\\|>.*?)(?:<\\|call\\|>|$)"
      }
    },
    "type": "object"
  },
  "sep_token": "<|sep|>",
  "sp_model_kwargs": {},
  "tokenizer_class": "Llmjp4Tokenizer",
  "unk_token": "<|unk|>",
  "use_default_system_prompt": false
}