LFM3-VL-2B / tokenizer_config.json
paulpak58's picture samuelstevens's picture s-jse's picture
paul pak
LFM3-VL-2B
f83d2b0
Raw History Blame Contribute Delete
1.76 kB
{
"backend": "tokenizers",
"bos_token": "<|startoftext|>",
"eos_token": "<|im_end|>",
"extra_special_tokens": [],
"image_token": "<|image|>",
"is_local": true,
"local_files_only": false,
"model_max_length": 1000000000000000019884624838656,
"model_specific_special_tokens": {
"image_token": "<|image|>",
"video_token": "<|video|>",
"vision_end_token": "<|vision_end|>",
"vision_start_token": "<|vision_start|>"
},
"pad_token": "<|pad|>",
"processor_class": "Lfm3VlProcessor",
"tokenizer_class": "TokenizersBackend",
"video_token": "<|video|>",
"vision_end_token": "<|vision_end|>",
"vision_start_token": "<|vision_start|>",
"response_template": {
"defaults": {
"role": "assistant"
},
"start_anchor_pattern": "<\\|im_start\\|>assistant\\n",
"fields": {
"reasoning_content": {
"open_pattern": "<think>\\n?",
"close_pattern": "</think>\\s*",
"content": "text"
},
"tool_calls": {
"open_pattern": "<tool_call>\\s*<function=(?P<name>[^\\n>]+)>",
"close_pattern": "</tool_call>\\s*",
"repeats": true,
"content": "xml-inline",
"content_args": {
"tag_pattern": "<parameter=(?P<key>[^>\\n]+)>\\n?(?P<value>.*?)\\n?</parameter>(?=\\s*(?:<parameter=|</function>\\s*\\Z|\\Z))",
"value_parser": {
"name": "text",
"args": {
"strip": false
}
}
},
"transform": {
"type": "function",
"function": {
"name": "{name}",
"arguments": "{content}"
}
}
},
"content": {
"close_pattern": "<\\|im_end\\|>\\s*",
"content": "text"
}
}
}
}