Sentence Similarity
sentence-transformers
Safetensors
PyTorch
English
qwen3_vl
embeddings
retrieval
semantic-search
multimodal
image-text-retrieval
document-retrieval
Instructions to use Convence/Silas-Embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Convence/Silas-Embedding with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Convence/Silas-Embedding") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Upload Silas-Embedding checkpoint 20260521-180500
Browse files- .gitattributes +1 -0
- 1_Pooling/config.json +5 -0
- README.md +24 -0
- chat_template.jinja +125 -0
- config.json +69 -0
- config_sentence_transformers.json +15 -0
- model.safetensors +3 -0
- modules.json +20 -0
- processor_config.json +64 -0
- sentence_bert_config.json +29 -0
- tokenizer.json +3 -0
- tokenizer_config.json +16 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
1_Pooling/config.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"embedding_dimension": 2048,
|
| 3 |
+
"pooling_mode": "lasttoken",
|
| 4 |
+
"include_prompt": true
|
| 5 |
+
}
|
README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model:
|
| 6 |
+
- Qwen/Qwen3-VL-Embedding-2B
|
| 7 |
+
pipeline_tag: sentence-similarity
|
| 8 |
+
library_name: sentence-transformers
|
| 9 |
+
tags:
|
| 10 |
+
- embedding
|
| 11 |
+
- multimodal
|
| 12 |
+
- qwen3-vl
|
| 13 |
+
- image-retrieval
|
| 14 |
+
- text-retrieval
|
| 15 |
+
- silas
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Silas-Embedding
|
| 19 |
+
|
| 20 |
+
Silas-Embedding is a full fine-tune of `Qwen/Qwen3-VL-Embedding-2B` by Convence Lab.
|
| 21 |
+
It is trained for text retrieval and multimodal image/text retrieval experiments.
|
| 22 |
+
|
| 23 |
+
The model is intended for retrieval, RAG indexing, visual document search, and
|
| 24 |
+
cross-modal similarity.
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set default_system_message = 'Represent the user\'s input.' -%}
|
| 2 |
+
{%- if tools %}
|
| 3 |
+
{{- '<|im_start|>system\n' }}
|
| 4 |
+
{%- if messages[0].role == 'system' %}
|
| 5 |
+
{%- if messages[0].content is string %}
|
| 6 |
+
{{- messages[0].content }}
|
| 7 |
+
{%- else %}
|
| 8 |
+
{%- for content in messages[0].content %}
|
| 9 |
+
{%- if 'text' in content %}
|
| 10 |
+
{{- content.text }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{%- endif %}
|
| 14 |
+
{{- '\n\n' }}
|
| 15 |
+
{%- else %}
|
| 16 |
+
{{- default_system_message + '\n\n' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 19 |
+
{%- for tool in tools %}
|
| 20 |
+
{{- "\n" }}
|
| 21 |
+
{{- tool | tojson }}
|
| 22 |
+
{%- endfor %}
|
| 23 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 24 |
+
{%- else %}
|
| 25 |
+
{%- if messages[0].role == 'system' %}
|
| 26 |
+
{{- '<|im_start|>system\n' }}
|
| 27 |
+
{%- if messages[0].content is string %}
|
| 28 |
+
{{- messages[0].content }}
|
| 29 |
+
{%- else %}
|
| 30 |
+
{%- for content in messages[0].content %}
|
| 31 |
+
{%- if 'text' in content %}
|
| 32 |
+
{{- content.text }}
|
| 33 |
+
{%- endif %}
|
| 34 |
+
{%- endfor %}
|
| 35 |
+
{%- endif %}
|
| 36 |
+
{{- '<|im_end|>\n' }}
|
| 37 |
+
{%- else %}
|
| 38 |
+
{{- '<|im_start|>system\n' + default_system_message + '<|im_end|>\n' }}
|
| 39 |
+
{%- endif %}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- set image_count = namespace(value=0) %}
|
| 42 |
+
{%- set video_count = namespace(value=0) %}
|
| 43 |
+
{%- for message in messages %}
|
| 44 |
+
{%- if message.role == "user" %}
|
| 45 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 46 |
+
{%- if message.content is string %}
|
| 47 |
+
{{- message.content }}
|
| 48 |
+
{%- else %}
|
| 49 |
+
{%- for content in message.content %}
|
| 50 |
+
{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
|
| 51 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 52 |
+
{%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
|
| 53 |
+
<|vision_start|><|image_pad|><|vision_end|>
|
| 54 |
+
{%- elif content.type == 'video' or 'video' in content %}
|
| 55 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 56 |
+
{%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
|
| 57 |
+
<|vision_start|><|video_pad|><|vision_end|>
|
| 58 |
+
{%- elif 'text' in content %}
|
| 59 |
+
{{- content.text }}
|
| 60 |
+
{%- endif %}
|
| 61 |
+
{%- endfor %}
|
| 62 |
+
{%- endif %}
|
| 63 |
+
{{- '<|im_end|>\n' }}
|
| 64 |
+
{%- elif message.role == "assistant" %}
|
| 65 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 66 |
+
{%- if message.content is string %}
|
| 67 |
+
{{- message.content }}
|
| 68 |
+
{%- else %}
|
| 69 |
+
{%- for content_item in message.content %}
|
| 70 |
+
{%- if 'text' in content_item %}
|
| 71 |
+
{{- content_item.text }}
|
| 72 |
+
{%- endif %}
|
| 73 |
+
{%- endfor %}
|
| 74 |
+
{%- endif %}
|
| 75 |
+
{%- if message.tool_calls %}
|
| 76 |
+
{%- for tool_call in message.tool_calls %}
|
| 77 |
+
{%- if (loop.first and message.content) or (not loop.first) %}
|
| 78 |
+
{{- '\n' }}
|
| 79 |
+
{%- endif %}
|
| 80 |
+
{%- if tool_call.function %}
|
| 81 |
+
{%- set tool_call = tool_call.function %}
|
| 82 |
+
{%- endif %}
|
| 83 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 84 |
+
{{- tool_call.name }}
|
| 85 |
+
{{- '", "arguments": ' }}
|
| 86 |
+
{%- if tool_call.arguments is string %}
|
| 87 |
+
{{- tool_call.arguments }}
|
| 88 |
+
{%- else %}
|
| 89 |
+
{{- tool_call.arguments | tojson }}
|
| 90 |
+
{%- endif %}
|
| 91 |
+
{{- '}\n</tool_call>' }}
|
| 92 |
+
{%- endfor %}
|
| 93 |
+
{%- endif %}
|
| 94 |
+
{{- '<|im_end|>\n' }}
|
| 95 |
+
{%- elif message.role == "tool" %}
|
| 96 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 97 |
+
{{- '<|im_start|>user' }}
|
| 98 |
+
{%- endif %}
|
| 99 |
+
{{- '\n<tool_response>\n' }}
|
| 100 |
+
{%- if message.content is string %}
|
| 101 |
+
{{- message.content }}
|
| 102 |
+
{%- else %}
|
| 103 |
+
{%- for content in message.content %}
|
| 104 |
+
{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
|
| 105 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 106 |
+
{%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
|
| 107 |
+
<|vision_start|><|image_pad|><|vision_end|>
|
| 108 |
+
{%- elif content.type == 'video' or 'video' in content %}
|
| 109 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 110 |
+
{%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
|
| 111 |
+
<|vision_start|><|video_pad|><|vision_end|>
|
| 112 |
+
{%- elif 'text' in content %}
|
| 113 |
+
{{- content.text }}
|
| 114 |
+
{%- endif %}
|
| 115 |
+
{%- endfor %}
|
| 116 |
+
{%- endif %}
|
| 117 |
+
{{- '\n</tool_response>' }}
|
| 118 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 119 |
+
{{- '<|im_end|>\n' }}
|
| 120 |
+
{%- endif %}
|
| 121 |
+
{%- endif %}
|
| 122 |
+
{%- endfor %}
|
| 123 |
+
{%- if add_generation_prompt %}
|
| 124 |
+
{{- '<|im_start|>assistant\n' }}
|
| 125 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3VLModel"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "bfloat16",
|
| 6 |
+
"eos_token_id": 151645,
|
| 7 |
+
"image_token_id": 151655,
|
| 8 |
+
"model_type": "qwen3_vl",
|
| 9 |
+
"pad_token_id": 151643,
|
| 10 |
+
"text_config": {
|
| 11 |
+
"attention_bias": false,
|
| 12 |
+
"attention_dropout": 0.0,
|
| 13 |
+
"bos_token_id": 151643,
|
| 14 |
+
"dtype": "bfloat16",
|
| 15 |
+
"eos_token_id": 151645,
|
| 16 |
+
"head_dim": 128,
|
| 17 |
+
"hidden_act": "silu",
|
| 18 |
+
"hidden_size": 2048,
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 6144,
|
| 21 |
+
"max_position_embeddings": 262144,
|
| 22 |
+
"model_type": "qwen3_vl_text",
|
| 23 |
+
"num_attention_heads": 16,
|
| 24 |
+
"num_hidden_layers": 28,
|
| 25 |
+
"num_key_value_heads": 8,
|
| 26 |
+
"pad_token_id": null,
|
| 27 |
+
"rms_norm_eps": 1e-06,
|
| 28 |
+
"rope_parameters": {
|
| 29 |
+
"mrope_interleaved": true,
|
| 30 |
+
"mrope_section": [
|
| 31 |
+
24,
|
| 32 |
+
20,
|
| 33 |
+
20
|
| 34 |
+
],
|
| 35 |
+
"rope_theta": 5000000,
|
| 36 |
+
"rope_type": "default"
|
| 37 |
+
},
|
| 38 |
+
"tie_word_embeddings": true,
|
| 39 |
+
"use_cache": true,
|
| 40 |
+
"vocab_size": 151936
|
| 41 |
+
},
|
| 42 |
+
"tie_word_embeddings": true,
|
| 43 |
+
"transformers_version": "5.9.0",
|
| 44 |
+
"use_cache": false,
|
| 45 |
+
"video_token_id": 151656,
|
| 46 |
+
"vision_config": {
|
| 47 |
+
"deepstack_visual_indexes": [
|
| 48 |
+
5,
|
| 49 |
+
11,
|
| 50 |
+
17
|
| 51 |
+
],
|
| 52 |
+
"depth": 24,
|
| 53 |
+
"dtype": "bfloat16",
|
| 54 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 55 |
+
"hidden_size": 1024,
|
| 56 |
+
"in_channels": 3,
|
| 57 |
+
"initializer_range": 0.02,
|
| 58 |
+
"intermediate_size": 4096,
|
| 59 |
+
"model_type": "qwen3_vl_vision",
|
| 60 |
+
"num_heads": 16,
|
| 61 |
+
"num_position_embeddings": 2304,
|
| 62 |
+
"out_hidden_size": 2048,
|
| 63 |
+
"patch_size": 16,
|
| 64 |
+
"spatial_merge_size": 2,
|
| 65 |
+
"temporal_patch_size": 2
|
| 66 |
+
},
|
| 67 |
+
"vision_end_token_id": 151653,
|
| 68 |
+
"vision_start_token_id": 151652
|
| 69 |
+
}
|
config_sentence_transformers.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"__version__": {
|
| 3 |
+
"pytorch": "2.12.0+cu130",
|
| 4 |
+
"sentence_transformers": "5.5.1",
|
| 5 |
+
"transformers": "5.9.0"
|
| 6 |
+
},
|
| 7 |
+
"default_prompt_name": "default",
|
| 8 |
+
"model_type": "SentenceTransformer",
|
| 9 |
+
"prompts": {
|
| 10 |
+
"default": "Represent the user's input.",
|
| 11 |
+
"document": "",
|
| 12 |
+
"query": ""
|
| 13 |
+
},
|
| 14 |
+
"similarity_fn_name": "cosine"
|
| 15 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2443f157b948079355e16fe7d8c84b21edc795c79a8266d5af6e976376a6817
|
| 3 |
+
size 4255136560
|
modules.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"idx": 0,
|
| 4 |
+
"name": "0",
|
| 5 |
+
"path": "",
|
| 6 |
+
"type": "sentence_transformers.base.modules.transformer.Transformer"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"idx": 1,
|
| 10 |
+
"name": "1",
|
| 11 |
+
"path": "1_Pooling",
|
| 12 |
+
"type": "sentence_transformers.sentence_transformer.modules.pooling.Pooling"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"idx": 2,
|
| 16 |
+
"name": "2",
|
| 17 |
+
"path": "2_Normalize",
|
| 18 |
+
"type": "sentence_transformers.sentence_transformer.modules.normalize.Normalize"
|
| 19 |
+
}
|
| 20 |
+
]
|
processor_config.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_processor": {
|
| 3 |
+
"data_format": "channels_first",
|
| 4 |
+
"default_to_square": true,
|
| 5 |
+
"do_convert_rgb": true,
|
| 6 |
+
"do_normalize": true,
|
| 7 |
+
"do_rescale": true,
|
| 8 |
+
"do_resize": true,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
| 15 |
+
"image_std": [
|
| 16 |
+
0.5,
|
| 17 |
+
0.5,
|
| 18 |
+
0.5
|
| 19 |
+
],
|
| 20 |
+
"merge_size": 2,
|
| 21 |
+
"patch_size": 16,
|
| 22 |
+
"resample": 3,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"longest_edge": 1310720,
|
| 26 |
+
"shortest_edge": 4096
|
| 27 |
+
},
|
| 28 |
+
"temporal_patch_size": 2
|
| 29 |
+
},
|
| 30 |
+
"processor_class": "Qwen3VLProcessor",
|
| 31 |
+
"video_processor": {
|
| 32 |
+
"data_format": "channels_first",
|
| 33 |
+
"default_to_square": true,
|
| 34 |
+
"do_convert_rgb": true,
|
| 35 |
+
"do_normalize": true,
|
| 36 |
+
"do_rescale": true,
|
| 37 |
+
"do_resize": true,
|
| 38 |
+
"do_sample_frames": true,
|
| 39 |
+
"fps": 2,
|
| 40 |
+
"image_mean": [
|
| 41 |
+
0.5,
|
| 42 |
+
0.5,
|
| 43 |
+
0.5
|
| 44 |
+
],
|
| 45 |
+
"image_std": [
|
| 46 |
+
0.5,
|
| 47 |
+
0.5,
|
| 48 |
+
0.5
|
| 49 |
+
],
|
| 50 |
+
"max_frames": 768,
|
| 51 |
+
"merge_size": 2,
|
| 52 |
+
"min_frames": 4,
|
| 53 |
+
"patch_size": 16,
|
| 54 |
+
"resample": 3,
|
| 55 |
+
"rescale_factor": 0.00392156862745098,
|
| 56 |
+
"return_metadata": false,
|
| 57 |
+
"size": {
|
| 58 |
+
"longest_edge": 25165824,
|
| 59 |
+
"shortest_edge": 4096
|
| 60 |
+
},
|
| 61 |
+
"temporal_patch_size": 2,
|
| 62 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 63 |
+
}
|
| 64 |
+
}
|
sentence_bert_config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"transformer_task": "feature-extraction",
|
| 3 |
+
"modality_config": {
|
| 4 |
+
"text": {
|
| 5 |
+
"method": "forward",
|
| 6 |
+
"method_output_name": "last_hidden_state"
|
| 7 |
+
},
|
| 8 |
+
"image": {
|
| 9 |
+
"method": "forward",
|
| 10 |
+
"method_output_name": "last_hidden_state"
|
| 11 |
+
},
|
| 12 |
+
"video": {
|
| 13 |
+
"method": "forward",
|
| 14 |
+
"method_output_name": "last_hidden_state"
|
| 15 |
+
},
|
| 16 |
+
"message": {
|
| 17 |
+
"method": "forward",
|
| 18 |
+
"method_output_name": "last_hidden_state",
|
| 19 |
+
"format": "structured"
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"module_output_name": "token_embeddings",
|
| 23 |
+
"processing_kwargs": {
|
| 24 |
+
"chat_template": {
|
| 25 |
+
"add_generation_prompt": true
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"unpad_inputs": false
|
| 29 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bbd7da4557f4f46591cf4eec87298afe7a5015f11a8449304b84821f2475d0c
|
| 3 |
+
size 11423967
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"is_local": false,
|
| 9 |
+
"local_files_only": false,
|
| 10 |
+
"model_max_length": 512,
|
| 11 |
+
"pad_token": "<|endoftext|>",
|
| 12 |
+
"processor_class": "Qwen3VLProcessor",
|
| 13 |
+
"split_special_tokens": false,
|
| 14 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 15 |
+
"unk_token": null
|
| 16 |
+
}
|