Instructions to use deepreinforce-ai/Ornith-1.0-397B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepreinforce-ai/Ornith-1.0-397B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="deepreinforce-ai/Ornith-1.0-397B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("deepreinforce-ai/Ornith-1.0-397B") model = AutoModelForMultimodalLM.from_pretrained("deepreinforce-ai/Ornith-1.0-397B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use deepreinforce-ai/Ornith-1.0-397B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "deepreinforce-ai/Ornith-1.0-397B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "deepreinforce-ai/Ornith-1.0-397B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/deepreinforce-ai/Ornith-1.0-397B
- SGLang
How to use deepreinforce-ai/Ornith-1.0-397B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "deepreinforce-ai/Ornith-1.0-397B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "deepreinforce-ai/Ornith-1.0-397B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "deepreinforce-ai/Ornith-1.0-397B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "deepreinforce-ai/Ornith-1.0-397B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use deepreinforce-ai/Ornith-1.0-397B with Docker Model Runner:
docker model run hf.co/deepreinforce-ai/Ornith-1.0-397B
Add Ornith-1.0-397B model weights
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +1 -0
- chat_template.jinja +150 -0
- config.json +143 -0
- generation_config.json +13 -0
- model-00001-of-00122.safetensors +3 -0
- model-00002-of-00122.safetensors +3 -0
- model-00003-of-00122.safetensors +3 -0
- model-00004-of-00122.safetensors +3 -0
- model-00005-of-00122.safetensors +3 -0
- model-00006-of-00122.safetensors +3 -0
- model-00007-of-00122.safetensors +3 -0
- model-00008-of-00122.safetensors +3 -0
- model-00009-of-00122.safetensors +3 -0
- model-00010-of-00122.safetensors +3 -0
- model-00011-of-00122.safetensors +3 -0
- model-00012-of-00122.safetensors +3 -0
- model-00013-of-00122.safetensors +3 -0
- model-00014-of-00122.safetensors +3 -0
- model-00015-of-00122.safetensors +3 -0
- model-00016-of-00122.safetensors +3 -0
- model-00017-of-00122.safetensors +3 -0
- model-00018-of-00122.safetensors +3 -0
- model-00019-of-00122.safetensors +3 -0
- model-00020-of-00122.safetensors +3 -0
- model-00021-of-00122.safetensors +3 -0
- model-00022-of-00122.safetensors +3 -0
- model-00023-of-00122.safetensors +3 -0
- model-00024-of-00122.safetensors +3 -0
- model-00025-of-00122.safetensors +3 -0
- model-00026-of-00122.safetensors +3 -0
- model-00027-of-00122.safetensors +3 -0
- model-00028-of-00122.safetensors +3 -0
- model-00029-of-00122.safetensors +3 -0
- model-00030-of-00122.safetensors +3 -0
- model-00031-of-00122.safetensors +3 -0
- model-00032-of-00122.safetensors +3 -0
- model-00033-of-00122.safetensors +3 -0
- model-00034-of-00122.safetensors +3 -0
- model-00035-of-00122.safetensors +3 -0
- model-00036-of-00122.safetensors +3 -0
- model-00037-of-00122.safetensors +3 -0
- model-00038-of-00122.safetensors +3 -0
- model-00039-of-00122.safetensors +3 -0
- model-00040-of-00122.safetensors +3 -0
- model-00041-of-00122.safetensors +3 -0
- model-00042-of-00122.safetensors +3 -0
- model-00043-of-00122.safetensors +3 -0
- model-00044-of-00122.safetensors +3 -0
- model-00045-of-00122.safetensors +3 -0
- model-00046-of-00122.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
assets/ornith_397b_eval.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
assets/ornith_logo.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
assets/ornith_397b_eval.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
assets/ornith_logo.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set image_count = namespace(value=0) %}
|
| 2 |
+
{%- set video_count = namespace(value=0) %}
|
| 3 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 4 |
+
{%- if content is string %}
|
| 5 |
+
{{- content }}
|
| 6 |
+
{%- elif content is iterable and content is not mapping %}
|
| 7 |
+
{%- for item in content %}
|
| 8 |
+
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
|
| 9 |
+
{%- if is_system_content %}
|
| 10 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- if do_vision_count %}
|
| 13 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{%- if add_vision_id %}
|
| 16 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 19 |
+
{%- elif 'video' in item or item.type == 'video' %}
|
| 20 |
+
{%- if is_system_content %}
|
| 21 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if do_vision_count %}
|
| 24 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if add_vision_id %}
|
| 27 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 30 |
+
{%- elif 'text' in item %}
|
| 31 |
+
{{- item.text }}
|
| 32 |
+
{%- else %}
|
| 33 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- elif content is none or content is undefined %}
|
| 37 |
+
{{- '' }}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endmacro %}
|
| 42 |
+
{%- if not messages %}
|
| 43 |
+
{{- raise_exception('No messages provided.') }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 46 |
+
{{- '<|im_start|>system\n' }}
|
| 47 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 48 |
+
{%- for tool in tools %}
|
| 49 |
+
{{- "\n" }}
|
| 50 |
+
{{- tool | tojson }}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{{- "\n</tools>" }}
|
| 53 |
+
{{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
|
| 54 |
+
{%- if messages[0].role == 'system' %}
|
| 55 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 56 |
+
{%- if content %}
|
| 57 |
+
{{- '\n\n' + content }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<|im_end|>\n' }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{%- if messages[0].role == 'system' %}
|
| 63 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 64 |
+
{{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
|
| 65 |
+
{%- endif %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 68 |
+
{%- for message in messages[::-1] %}
|
| 69 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 70 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 71 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 72 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 73 |
+
{%- set ns.multi_step_tool = false %}
|
| 74 |
+
{%- set ns.last_query_index = index %}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{%- endif %}
|
| 77 |
+
{%- endfor %}
|
| 78 |
+
{%- if ns.multi_step_tool %}
|
| 79 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 80 |
+
{%- endif %}
|
| 81 |
+
{%- for message in messages %}
|
| 82 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 83 |
+
{%- if message.role == "system" %}
|
| 84 |
+
{%- if not loop.first %}
|
| 85 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- elif message.role == "user" %}
|
| 88 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 89 |
+
{%- elif message.role == "assistant" %}
|
| 90 |
+
{%- set reasoning_content = '' %}
|
| 91 |
+
{%- if message.reasoning_content is string %}
|
| 92 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 93 |
+
{%- else %}
|
| 94 |
+
{%- if '</think>' in content %}
|
| 95 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 96 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endif %}
|
| 99 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 100 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 101 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 102 |
+
{%- for tool_call in message.tool_calls %}
|
| 103 |
+
{%- if tool_call.function is defined %}
|
| 104 |
+
{%- set tool_call = tool_call.function %}
|
| 105 |
+
{%- endif %}
|
| 106 |
+
{%- if loop.first %}
|
| 107 |
+
{%- if content|trim %}
|
| 108 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 109 |
+
{%- else %}
|
| 110 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 111 |
+
{%- endif %}
|
| 112 |
+
{%- else %}
|
| 113 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 114 |
+
{%- endif %}
|
| 115 |
+
{%- if tool_call.arguments is defined %}
|
| 116 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 117 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 118 |
+
{%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
|
| 119 |
+
{{- args_value }}
|
| 120 |
+
{{- '\n</parameter>\n' }}
|
| 121 |
+
{%- endfor %}
|
| 122 |
+
{%- endif %}
|
| 123 |
+
{{- '</function>\n</tool_call>' }}
|
| 124 |
+
{%- endfor %}
|
| 125 |
+
{%- endif %}
|
| 126 |
+
{{- '<|im_end|>\n' }}
|
| 127 |
+
{%- elif message.role == "tool" %}
|
| 128 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 129 |
+
{{- '<|im_start|>user' }}
|
| 130 |
+
{%- endif %}
|
| 131 |
+
{{- '\n<tool_response>\n' }}
|
| 132 |
+
{{- content }}
|
| 133 |
+
{{- '\n</tool_response>' }}
|
| 134 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 135 |
+
{{- '<|im_end|>\n' }}
|
| 136 |
+
{%- elif loop.last %}
|
| 137 |
+
{{- '<|im_end|>\n' }}
|
| 138 |
+
{%- endif %}
|
| 139 |
+
{%- else %}
|
| 140 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 141 |
+
{%- endif %}
|
| 142 |
+
{%- endfor %}
|
| 143 |
+
{%- if add_generation_prompt %}
|
| 144 |
+
{{- '<|im_start|>assistant\n' }}
|
| 145 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 146 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 147 |
+
{%- else %}
|
| 148 |
+
{{- '<think>\n' }}
|
| 149 |
+
{%- endif %}
|
| 150 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3_5MoeForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "bfloat16",
|
| 6 |
+
"hidden_size": 4096,
|
| 7 |
+
"image_token_id": 248056,
|
| 8 |
+
"model_type": "qwen3_5_moe",
|
| 9 |
+
"text_config": {
|
| 10 |
+
"attention_bias": false,
|
| 11 |
+
"attention_dropout": 0.0,
|
| 12 |
+
"attn_output_gate": true,
|
| 13 |
+
"bos_token_id": null,
|
| 14 |
+
"dtype": "bfloat16",
|
| 15 |
+
"eos_token_id": 248044,
|
| 16 |
+
"full_attention_interval": 4,
|
| 17 |
+
"head_dim": 256,
|
| 18 |
+
"hidden_act": "silu",
|
| 19 |
+
"hidden_size": 4096,
|
| 20 |
+
"initializer_range": 0.02,
|
| 21 |
+
"layer_types": [
|
| 22 |
+
"linear_attention",
|
| 23 |
+
"linear_attention",
|
| 24 |
+
"linear_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"linear_attention",
|
| 27 |
+
"linear_attention",
|
| 28 |
+
"linear_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"linear_attention",
|
| 31 |
+
"linear_attention",
|
| 32 |
+
"linear_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"linear_attention",
|
| 35 |
+
"linear_attention",
|
| 36 |
+
"linear_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"linear_attention",
|
| 39 |
+
"linear_attention",
|
| 40 |
+
"linear_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"linear_attention",
|
| 43 |
+
"linear_attention",
|
| 44 |
+
"linear_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"linear_attention",
|
| 47 |
+
"linear_attention",
|
| 48 |
+
"linear_attention",
|
| 49 |
+
"full_attention",
|
| 50 |
+
"linear_attention",
|
| 51 |
+
"linear_attention",
|
| 52 |
+
"linear_attention",
|
| 53 |
+
"full_attention",
|
| 54 |
+
"linear_attention",
|
| 55 |
+
"linear_attention",
|
| 56 |
+
"linear_attention",
|
| 57 |
+
"full_attention",
|
| 58 |
+
"linear_attention",
|
| 59 |
+
"linear_attention",
|
| 60 |
+
"linear_attention",
|
| 61 |
+
"full_attention",
|
| 62 |
+
"linear_attention",
|
| 63 |
+
"linear_attention",
|
| 64 |
+
"linear_attention",
|
| 65 |
+
"full_attention",
|
| 66 |
+
"linear_attention",
|
| 67 |
+
"linear_attention",
|
| 68 |
+
"linear_attention",
|
| 69 |
+
"full_attention",
|
| 70 |
+
"linear_attention",
|
| 71 |
+
"linear_attention",
|
| 72 |
+
"linear_attention",
|
| 73 |
+
"full_attention",
|
| 74 |
+
"linear_attention",
|
| 75 |
+
"linear_attention",
|
| 76 |
+
"linear_attention",
|
| 77 |
+
"full_attention",
|
| 78 |
+
"linear_attention",
|
| 79 |
+
"linear_attention",
|
| 80 |
+
"linear_attention",
|
| 81 |
+
"full_attention"
|
| 82 |
+
],
|
| 83 |
+
"linear_conv_kernel_dim": 4,
|
| 84 |
+
"linear_key_head_dim": 128,
|
| 85 |
+
"linear_num_key_heads": 16,
|
| 86 |
+
"linear_num_value_heads": 64,
|
| 87 |
+
"linear_value_head_dim": 128,
|
| 88 |
+
"mamba_ssm_dtype": "float32",
|
| 89 |
+
"max_position_embeddings": 262144,
|
| 90 |
+
"mlp_only_layers": [],
|
| 91 |
+
"model_type": "qwen3_5_moe_text",
|
| 92 |
+
"moe_intermediate_size": 1024,
|
| 93 |
+
"mtp_num_hidden_layers": 1,
|
| 94 |
+
"mtp_use_dedicated_embeddings": false,
|
| 95 |
+
"num_attention_heads": 32,
|
| 96 |
+
"num_experts": 512,
|
| 97 |
+
"num_experts_per_tok": 10,
|
| 98 |
+
"num_hidden_layers": 60,
|
| 99 |
+
"num_key_value_heads": 2,
|
| 100 |
+
"output_router_logits": false,
|
| 101 |
+
"pad_token_id": null,
|
| 102 |
+
"partial_rotary_factor": 0.25,
|
| 103 |
+
"rms_norm_eps": 1e-06,
|
| 104 |
+
"rope_parameters": {
|
| 105 |
+
"mrope_interleaved": true,
|
| 106 |
+
"mrope_section": [
|
| 107 |
+
11,
|
| 108 |
+
11,
|
| 109 |
+
10
|
| 110 |
+
],
|
| 111 |
+
"partial_rotary_factor": 0.25,
|
| 112 |
+
"rope_theta": 10000000,
|
| 113 |
+
"rope_type": "default"
|
| 114 |
+
},
|
| 115 |
+
"router_aux_loss_coef": 0.001,
|
| 116 |
+
"shared_expert_intermediate_size": 1024,
|
| 117 |
+
"tie_word_embeddings": false,
|
| 118 |
+
"use_cache": true,
|
| 119 |
+
"vocab_size": 248320
|
| 120 |
+
},
|
| 121 |
+
"tie_word_embeddings": false,
|
| 122 |
+
"transformers_version": "5.8.1",
|
| 123 |
+
"video_token_id": 248057,
|
| 124 |
+
"vision_config": {
|
| 125 |
+
"deepstack_visual_indexes": [],
|
| 126 |
+
"depth": 27,
|
| 127 |
+
"dtype": "bfloat16",
|
| 128 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 129 |
+
"hidden_size": 1152,
|
| 130 |
+
"in_channels": 3,
|
| 131 |
+
"initializer_range": 0.02,
|
| 132 |
+
"intermediate_size": 4304,
|
| 133 |
+
"model_type": "qwen3_5_moe_vision",
|
| 134 |
+
"num_heads": 16,
|
| 135 |
+
"num_position_embeddings": 2304,
|
| 136 |
+
"out_hidden_size": 4096,
|
| 137 |
+
"patch_size": 16,
|
| 138 |
+
"spatial_merge_size": 2,
|
| 139 |
+
"temporal_patch_size": 2
|
| 140 |
+
},
|
| 141 |
+
"vision_end_token_id": 248054,
|
| 142 |
+
"vision_start_token_id": 248053
|
| 143 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 248044,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
248046,
|
| 6 |
+
248044
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 248044,
|
| 9 |
+
"temperature": 0.6,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p": 0.95,
|
| 12 |
+
"transformers_version": "4.57.0.dev0"
|
| 13 |
+
}
|
model-00001-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66f116d4f1ac5dd263b3ebd18a4edddbffaf301c0e172b723146d3c3c90d9588
|
| 3 |
+
size 3211703200
|
model-00002-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a95d8450a8030acde222d13baf273228d844cd427e669971523a576825a87941
|
| 3 |
+
size 8589934736
|
model-00003-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f0d6d799ec6c8709dc422a7fe173a93ceffe5c5f868f47dd4c1b03096f2db12
|
| 3 |
+
size 4560382680
|
model-00004-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eba20b8bf0db57daa502fcf7e28a158b6703db681032ae44653e16ecb74bffb8
|
| 3 |
+
size 8589934736
|
model-00005-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5dd3bc2c864c5ddaa48ac9ea94df0587eaf16dff7b69c44b64aea25a0459525
|
| 3 |
+
size 4560382680
|
model-00006-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5371f4dabc50fd2ae5659018e05c58c593933a42186482af83912a64638288b1
|
| 3 |
+
size 8589934736
|
model-00007-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ca730fe6649d03cebccff413eb15a2476952c357e4804dd7d29fd67d0fb962e
|
| 3 |
+
size 4534070088
|
model-00008-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b54c228b272fca7c4438fa44dc010a5335d909ef7dadefef0476d7031d3782ff
|
| 3 |
+
size 8589934736
|
model-00009-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5b60737d7d00004be877706fcbed495626e18b815d31bbd993f43b770f51740
|
| 3 |
+
size 4560382680
|
model-00010-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:612a28a2b4a296ae2d6ce26e08c0d5cb763f76b846442929c2a2b677f6f77b64
|
| 3 |
+
size 8589934736
|
model-00011-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2a1352b6dcb5b3d0042e26d887499f8601393af7ae1cc2bb044d4a9bfdb2ee5
|
| 3 |
+
size 4560382680
|
model-00012-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70f681a3b48aa15c9909305ec558d5746abec1c738d347b9caf9be6eeb637658
|
| 3 |
+
size 8589934736
|
model-00013-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d8f5c2b66aff76c9c50e13ebd3424eada9247a9c60bbd8f44e71167513b9769
|
| 3 |
+
size 4560382680
|
model-00014-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56611282bf6344b50058664de862f5496ce100dce7d8d61717bcd0efa2ab21e9
|
| 3 |
+
size 8589934736
|
model-00015-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a087cb7469c78cc1b492997cd67e4ca76d0d1f0ce67ff233d2bb79f8f0fa6e90
|
| 3 |
+
size 4534070088
|
model-00016-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2541c3b5b98e12b0ae9db1a7dc5dec7f33d524b1b8476277dc82c6527a56359e
|
| 3 |
+
size 8589934736
|
model-00017-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f3c16bd42db26149feb83ca9b821a33b3b61d156f70595e421f258ef7cb08ea
|
| 3 |
+
size 4560382680
|
model-00018-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28c17d7cc88e01c0150c1b8f88c823f35b88f5a7b265ee78ade370d5344d37cd
|
| 3 |
+
size 8589934736
|
model-00019-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3be00d888701712f11e193b263db31d39ff9d376528f03b2477ff91f4e5e659
|
| 3 |
+
size 4560382680
|
model-00020-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:398bd48aa948fff081822cfbf085bdab048e755bcf2e00dbb054b0bff692fc95
|
| 3 |
+
size 8589934736
|
model-00021-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dbd0730071dc584df0b486925d9a835607377e62cac18a7113c0fb8d0847f5d
|
| 3 |
+
size 4560382624
|
model-00022-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:121be0dd04c2ebb1f57cd8deb5c915a93c5a07061c1b09bafb4cfa8bc9efdbdd
|
| 3 |
+
size 8589934736
|
model-00023-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:992399f6739c93292ed60316747eab22fbb72a0bc8a8d74998d9481f69a4c081
|
| 3 |
+
size 4534070104
|
model-00024-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bee14b03fa5b7467c52739622a0107e0a40eff8f9e6b9eeef0efe87f73be6190
|
| 3 |
+
size 8589934736
|
model-00025-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:416d50ef3834e844bc18b11b3d4fdab11f304b62c294dcbbf68859ba82805cad
|
| 3 |
+
size 4560382696
|
model-00026-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d868a4c3551984bd59d98607e01ad8d61c06c0f521464b4e732934c1c9e59eca
|
| 3 |
+
size 8589934736
|
model-00027-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90b7d59296d3d4c8f4328cd5b67d8170364d7d9046a60244c64132d6aa9ee3b5
|
| 3 |
+
size 4560382696
|
model-00028-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a797fb2b87f5eb2152d498f9ce68f6bcc3d233ed7d8b4c2eb045baf64a3a5b1
|
| 3 |
+
size 8589934736
|
model-00029-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef2e45106ca444c2c25e39f5cdc1fcbc1e24777509c2f2bf3c6bd40e5c033c1b
|
| 3 |
+
size 4560382696
|
model-00030-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dfa9177266ea546196ea9fcebecfeac3ac99cc44df34489b214baa9fed923eb
|
| 3 |
+
size 8589934736
|
model-00031-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c977a619a03b8608ef750b0f03d9c9e8f5545929ea939269ab03abec486b728e
|
| 3 |
+
size 4534070104
|
model-00032-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:593de3d1f21552c271ba82a7d3dcb8bfc590e3c3ea041c9c1a5673497abced94
|
| 3 |
+
size 8589934736
|
model-00033-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf9add5278ed4ebfb9e81c2a68efc6db8e2099baaf3e50f75c5c7f37c78ea9a1
|
| 3 |
+
size 4560382696
|
model-00034-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a72529968cb12883c54e814ff5ab047c4792f840bd0e203be0ca349196e950a5
|
| 3 |
+
size 8589934736
|
model-00035-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6281e86479305cf622bd638a70e3c031c1d735596b949c5e037c008d353fffaa
|
| 3 |
+
size 4560382696
|
model-00036-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55372c67c0dba0d16bec4374592fb68aee220d9ef90f3e8339ca43236c56a00f
|
| 3 |
+
size 8589934736
|
model-00037-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82a7f635f3de5120b2f94827779801c41ceb90d22cc7c2098dcfadd160760caf
|
| 3 |
+
size 4560382696
|
model-00038-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c2e1ff16282888a8f017fe626450616b31b3ce407e8a4b6a7bca333124e7dc3
|
| 3 |
+
size 8589934736
|
model-00039-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:005b5b5c02a213e5fdfa6f0defb9a2ee35fb86fdd0635ae737817f0f9013637e
|
| 3 |
+
size 4534070104
|
model-00040-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f68adad068e13d930938f1e9ad5ecf93dd7193d9b2d3eb97f0619f749529bb84
|
| 3 |
+
size 8589934736
|
model-00041-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0505433c6d66cf17ae7e3c5cbedf9850c4006c6a7bb0d68816f78859faf4fe9
|
| 3 |
+
size 4560382696
|
model-00042-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6631cecc9c081d7335543f926c3bfd180ed9f2ed04bd5c20581f8b3a098fd60f
|
| 3 |
+
size 8589934736
|
model-00043-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:380cfeb37c4f5aa213e441e348eddffceff51cae1d8f28296d91248e490ed955
|
| 3 |
+
size 4560382696
|
model-00044-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a5466dc1b7f7905f48f9e55348c2079d5ab4113326d4bd36b29852afb338aa6
|
| 3 |
+
size 8589934736
|
model-00045-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5fb6b887be677b500a79d6cfbd31f89b04c84b550182c964d553a2df56a9d54
|
| 3 |
+
size 4560382696
|
model-00046-of-00122.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6d669771cc54c28067cb7d0afc1f7b53556bcad3cfe926500249daa2a90f7ca
|
| 3 |
+
size 8589934736
|