Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions xinference/model/llm/llm_family.json
Original file line number Diff line number Diff line change
Expand Up @@ -10948,6 +10948,53 @@
"<|im_end|>"
]
},
{
"version": 1,
"context_length": 131072,
"model_name": "mPLUG-Owl3",
"model_lang": [
"en",
"zh"
],
"model_ability": [
"chat",
"vision"
],
"model_description": "mPLUG-Owl3: Towards Long Image-Sequence Understanding in Multi-Modal Large Language Models",
"model_specs": [
{
"model_format": "pytorch",
"model_size_in_billions": 1,
"quantizations": [
"none"
],
"model_id": "mPLUG/mPLUG-Owl3-1B-241014"
},
{
"model_format": "pytorch",
"model_size_in_billions": 2,
"quantizations": [
"none"
],
"model_id": "mPLUG/mPLUG-Owl3-2B-241014"
},
{
"model_format": "pytorch",
"model_size_in_billions": 7,
"quantizations": [
"none"
],
"model_id": "mPLUG/mPLUG-Owl3-7B-241101"
}
],
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
"stop_token_ids": [
151645
],
"stop": [
"<|im_end|>"
]
},
{
"version": 1,
"context_length": 4096,
Expand Down
50 changes: 50 additions & 0 deletions xinference/model/llm/llm_family_modelscope.json
Original file line number Diff line number Diff line change
Expand Up @@ -8724,6 +8724,56 @@
"<|im_end|>"
]
},
{
"version": 1,
"context_length": 131072,
"model_name": "mPLUG-Owl3",
"model_lang": [
"en",
"zh"
],
"model_ability": [
"chat",
"vision"
],
"model_description": "mPLUG-Owl3: Towards Long Image-Sequence Understanding in Multi-Modal Large Language Models",
"model_specs": [
{
"model_format": "pytorch",
"model_size_in_billions": 1,
"quantizations": [
"none"
],
"model_id": "iic/mPLUG-Owl3-1B-241014",
"model_hub": "modelscope"
},
{
"model_format": "pytorch",
"model_size_in_billions": 2,
"quantizations": [
"none"
],
"model_id": "iic/mPLUG-Owl3-2B-241014",
"model_hub": "modelscope"
},
{
"model_format": "pytorch",
"model_size_in_billions": 7,
"quantizations": [
"none"
],
"model_id": "iic/mPLUG-Owl3-7B-241101",
"model_hub": "modelscope"
}
],
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
"stop_token_ids": [
151645
],
"stop": [
"<|im_end|>"
]
},
{
"version": 1,
"context_length": 4096,
Expand Down
Loading