Image-Text-to-Text
Transformers
Safetensors
qwen3_5
qwen3.8
bfloat16
long-context
yarn
1m-context
multimodal
vision
reasoning
swissneuron
conversational
Instructions to use SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked") 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("SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked") model = AutoModelForMultimodalLM.from_pretrained("SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked", device_map="auto") 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 SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked
- SGLang
How to use SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked 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 "SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked" \ --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": "SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked" \ --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": "SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked with Docker Model Runner:
docker model run hf.co/SwissNeuron/Qwen3.8-27B-SwissNeuron-Derisked
Replace with repaired direct-answer SFT plus latest-SFT DWM alpha 0.1
Browse files- README.md +4 -4
- args.json +7 -7
- dwm_provenance.json +16 -16
- internal_direction_bank.pt +2 -2
- model-00002-of-00012.safetensors +1 -1
- model-00003-of-00012.safetensors +1 -1
- model-00004-of-00012.safetensors +1 -1
- model-00005-of-00012.safetensors +1 -1
- model-00006-of-00012.safetensors +1 -1
- model-00007-of-00012.safetensors +1 -1
- model-00008-of-00012.safetensors +1 -1
- model-00009-of-00012.safetensors +1 -1
- model-00010-of-00012.safetensors +1 -1
- model-00011-of-00012.safetensors +1 -1
- model-00012-of-00012.safetensors +1 -1
README.md
CHANGED
|
@@ -16,7 +16,7 @@ model_name: Qwen3.8-27B-SwissNeuron-Derisked
|
|
| 16 |
|
| 17 |
# Qwen3.8-27B-SwissNeuron-Derisked
|
| 18 |
|
| 19 |
-
**Qwen3.8-27B-SwissNeuron-Derisked**, known as **SwissNeuron**, is a BF16, 27B-parameter Qwen3.8 derivative engineered in Switzerland for direct technical work, strong reasoning, and capability retention.
|
| 20 |
|
| 21 |
SwissNeuron is intended to provide Swiss-quality model engineering: precise provenance, conservative weight surgery, reproducible artifacts, and transparent limitations.
|
| 22 |
|
|
@@ -38,9 +38,9 @@ This release should be served with **thinking disabled** for ordinary chat, codi
|
|
| 38 |
enable_thinking=False
|
| 39 |
```
|
| 40 |
|
| 41 |
-
The
|
| 42 |
|
| 43 |
-
For agent harnesses,
|
| 44 |
|
| 45 |
## What makes SwissNeuron different
|
| 46 |
|
|
@@ -154,7 +154,7 @@ The larger fine-tuned release will be published as a separate checkpoint rather
|
|
| 154 |
## Limitations
|
| 155 |
|
| 156 |
- The 1M window is enabled through YaRN configuration; extreme-context quality has not yet been comprehensively validated.
|
| 157 |
-
- Native thinking
|
| 158 |
- This is a full BF16 release and requires substantial accelerator memory.
|
| 159 |
- Outputs may be inaccurate, incomplete, or unsuitable for a particular domain. Independently verify consequential results.
|
| 160 |
- The repository is public, but users remain responsible for evaluating suitability, licensing requirements, and deployment risk in their own environment.
|
|
|
|
| 16 |
|
| 17 |
# Qwen3.8-27B-SwissNeuron-Derisked
|
| 18 |
|
| 19 |
+
**Qwen3.8-27B-SwissNeuron-Derisked**, known as **SwissNeuron**, is a BF16, 27B-parameter Qwen3.8 derivative engineered in Switzerland for direct technical work, strong reasoning, and capability retention. This revision uses a repaired direct-answer SFT corpus with the earlier judge/verifier register removed, followed by a conservative internal geometric derisk procedure. The model configuration provides a 1,048,576-token context window using factor-4 YaRN/RoPE scaling.
|
| 20 |
|
| 21 |
SwissNeuron is intended to provide Swiss-quality model engineering: precise provenance, conservative weight surgery, reproducible artifacts, and transparent limitations.
|
| 22 |
|
|
|
|
| 38 |
enable_thinking=False
|
| 39 |
```
|
| 40 |
|
| 41 |
+
The repaired post-training corpus removes the earlier judge/verifier envelope from the model-facing answer targets. In direct probes of this revision, native thinking produces ordinary concise reasoning for simple greetings and coding requests rather than an `EXPECTED VERIFICATION` / `ORIGINAL ANSWER` grading trace. Non-thinking mode remains supported for the lowest-latency agent integrations.
|
| 42 |
|
| 43 |
+
For maximum compatibility with agent harnesses, `enable_thinking=False` remains a valid deployment choice. Preserve the included chat template rather than stripping generated reasoning after the fact.
|
| 44 |
|
| 45 |
## What makes SwissNeuron different
|
| 46 |
|
|
|
|
| 154 |
## Limitations
|
| 155 |
|
| 156 |
- The 1M window is enabled through YaRN configuration; extreme-context quality has not yet been comprehensively validated.
|
| 157 |
+
- Native thinking was regression-tested on simple greeting and coding prompts after the corpus repair; users should still validate their serving stack and prompt format.
|
| 158 |
- This is a full BF16 release and requires substantial accelerator memory.
|
| 159 |
- Outputs may be inaccurate, incomplete, or unsuitable for a particular domain. Independently verify consequential results.
|
| 160 |
- The repository is public, but users remain responsible for evaluating suitability, licensing requirements, and deployment risk in their own environment.
|
args.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"output_dir": "/workspace/train-qwen38/models/
|
| 3 |
"per_device_train_batch_size": 1,
|
| 4 |
"num_train_epochs": 1.0,
|
| 5 |
"max_steps": -1,
|
|
@@ -46,7 +46,7 @@
|
|
| 46 |
"report_to": [
|
| 47 |
"tensorboard"
|
| 48 |
],
|
| 49 |
-
"run_name": "/workspace/train-qwen38/models/
|
| 50 |
"project": "huggingface",
|
| 51 |
"trackio_space_id": null,
|
| 52 |
"trackio_bucket_id": null,
|
|
@@ -153,7 +153,7 @@
|
|
| 153 |
"do_predict": false,
|
| 154 |
"resume_from_checkpoint": null,
|
| 155 |
"warmup_ratio": null,
|
| 156 |
-
"logging_dir": "/workspace/train-qwen38/models/
|
| 157 |
"local_rank": 0,
|
| 158 |
"sortish_sampler": false,
|
| 159 |
"predict_with_generate": false,
|
|
@@ -211,7 +211,7 @@
|
|
| 211 |
"use_ray": false,
|
| 212 |
"ray_exp_name": null,
|
| 213 |
"device_groups": null,
|
| 214 |
-
"model": "/
|
| 215 |
"model_type": "qwen3_5",
|
| 216 |
"model_revision": null,
|
| 217 |
"task_type": "causal_lm",
|
|
@@ -393,12 +393,12 @@
|
|
| 393 |
"global_world_size": 8,
|
| 394 |
"local_world_size": 8,
|
| 395 |
"model_suffix": "Qwen3.8-27B",
|
| 396 |
-
"model_info": "ModelInfo(model_type='qwen3_5', model_dir='/
|
| 397 |
"model_meta": "ModelMeta(model_type='qwen3_5', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3.5-0.8B', hf_model_id='Qwen/Qwen3.5-0.8B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-2B', hf_model_id='Qwen/Qwen3.5-2B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-4B', hf_model_id='Qwen/Qwen3.5-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-9B', hf_model_id='Qwen/Qwen3.5-9B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-27B', hf_model_id='Qwen/Qwen3.5-27B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-27B-FP8', hf_model_id='Qwen/Qwen3.5-27B-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-0.8B-Base', hf_model_id='Qwen/Qwen3.5-0.8B-Base', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-2B-Base', hf_model_id='Qwen/Qwen3.5-2B-Base', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-4B-Base', hf_model_id='Qwen/Qwen3.5-4B-Base', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-9B-Base', hf_model_id='Qwen/Qwen3.5-9B-Base', model_path=None, ms_revision=None, hf_revision=None)], template='qwen3_5', ignore_patterns=None, requires=None, tags=[]), ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3.6-27B', hf_model_id='Qwen/Qwen3.6-27B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.6-27B-FP8', hf_model_id='Qwen/Qwen3.6-27B-FP8', model_path=None, ms_revision=None, hf_revision=None)], template='qwen3_5', ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.models.qwen.Qwen3_5Loader'>, template=None, model_arch=MultiModelKeys(arch_name='qwen2_vl', embedding=None, module_list=None, lm_head=None, q_proj=None, k_proj=None, v_proj=None, o_proj=None, attention=None, mlp=None, down_proj=None, qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None, language_model=['model.language_model', 'lm_head'], aligner=['model.visual.merger'], vision_tower=['model.visual'], generator=[]), mcore_model_type=None, architectures=['Qwen3_5ForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=['transformers>=5.0.0.dev', 'qwen_vl_utils>=0.0.14', 'decord'], tags=['vision', 'video'])",
|
| 398 |
-
"model_dir": "/
|
| 399 |
"template_meta": "QwenTemplateMeta(template_type='qwen3_5', prefix=[], prompt=['<|im_start|>user\\n{{QUERY}}<|im_end|>\\n<|im_start|>assistant\\n'], chat_sep=['<|im_end|>\\n'], suffix=['<|im_end|>\\n'], template_cls=<class 'swift.template.templates.qwen.Qwen3_5Template'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system=None, auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='qwen3_5', is_thinking=True, thinking_prefix='<think>\\n', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 400 |
"_val_dataset_exists": true,
|
| 401 |
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 402 |
"evaluation_strategy": "steps",
|
| 403 |
-
"training_args": "Seq2SeqTrainingArguments(output_dir='/workspace/train-qwen38/models/
|
| 404 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"output_dir": "/workspace/train-qwen38/models/direct-repair-sft/v0-20260823-225101",
|
| 3 |
"per_device_train_batch_size": 1,
|
| 4 |
"num_train_epochs": 1.0,
|
| 5 |
"max_steps": -1,
|
|
|
|
| 46 |
"report_to": [
|
| 47 |
"tensorboard"
|
| 48 |
],
|
| 49 |
+
"run_name": "/workspace/train-qwen38/models/direct-repair-sft/v0-20260823-225101",
|
| 50 |
"project": "huggingface",
|
| 51 |
"trackio_space_id": null,
|
| 52 |
"trackio_bucket_id": null,
|
|
|
|
| 153 |
"do_predict": false,
|
| 154 |
"resume_from_checkpoint": null,
|
| 155 |
"warmup_ratio": null,
|
| 156 |
+
"logging_dir": "/workspace/train-qwen38/models/direct-repair-sft/v0-20260823-225101/runs",
|
| 157 |
"local_rank": 0,
|
| 158 |
"sortish_sampler": false,
|
| 159 |
"predict_with_generate": false,
|
|
|
|
| 211 |
"use_ray": false,
|
| 212 |
"ray_exp_name": null,
|
| 213 |
"device_groups": null,
|
| 214 |
+
"model": "/workspace/train-qwen38/models/Qwen3.8-27B",
|
| 215 |
"model_type": "qwen3_5",
|
| 216 |
"model_revision": null,
|
| 217 |
"task_type": "causal_lm",
|
|
|
|
| 393 |
"global_world_size": 8,
|
| 394 |
"local_world_size": 8,
|
| 395 |
"model_suffix": "Qwen3.8-27B",
|
| 396 |
+
"model_info": "ModelInfo(model_type='qwen3_5', model_dir='/workspace/train-qwen38/models/Qwen3.8-27B', torch_dtype=torch.bfloat16, max_model_len=262144, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
|
| 397 |
"model_meta": "ModelMeta(model_type='qwen3_5', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3.5-0.8B', hf_model_id='Qwen/Qwen3.5-0.8B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-2B', hf_model_id='Qwen/Qwen3.5-2B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-4B', hf_model_id='Qwen/Qwen3.5-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-9B', hf_model_id='Qwen/Qwen3.5-9B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-27B', hf_model_id='Qwen/Qwen3.5-27B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-27B-FP8', hf_model_id='Qwen/Qwen3.5-27B-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-0.8B-Base', hf_model_id='Qwen/Qwen3.5-0.8B-Base', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-2B-Base', hf_model_id='Qwen/Qwen3.5-2B-Base', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-4B-Base', hf_model_id='Qwen/Qwen3.5-4B-Base', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.5-9B-Base', hf_model_id='Qwen/Qwen3.5-9B-Base', model_path=None, ms_revision=None, hf_revision=None)], template='qwen3_5', ignore_patterns=None, requires=None, tags=[]), ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3.6-27B', hf_model_id='Qwen/Qwen3.6-27B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3.6-27B-FP8', hf_model_id='Qwen/Qwen3.6-27B-FP8', model_path=None, ms_revision=None, hf_revision=None)], template='qwen3_5', ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.models.qwen.Qwen3_5Loader'>, template=None, model_arch=MultiModelKeys(arch_name='qwen2_vl', embedding=None, module_list=None, lm_head=None, q_proj=None, k_proj=None, v_proj=None, o_proj=None, attention=None, mlp=None, down_proj=None, qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None, language_model=['model.language_model', 'lm_head'], aligner=['model.visual.merger'], vision_tower=['model.visual'], generator=[]), mcore_model_type=None, architectures=['Qwen3_5ForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=['transformers>=5.0.0.dev', 'qwen_vl_utils>=0.0.14', 'decord'], tags=['vision', 'video'])",
|
| 398 |
+
"model_dir": "/workspace/train-qwen38/models/Qwen3.8-27B",
|
| 399 |
"template_meta": "QwenTemplateMeta(template_type='qwen3_5', prefix=[], prompt=['<|im_start|>user\\n{{QUERY}}<|im_end|>\\n<|im_start|>assistant\\n'], chat_sep=['<|im_end|>\\n'], suffix=['<|im_end|>\\n'], template_cls=<class 'swift.template.templates.qwen.Qwen3_5Template'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system=None, auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='qwen3_5', is_thinking=True, thinking_prefix='<think>\\n', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 400 |
"_val_dataset_exists": true,
|
| 401 |
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 402 |
"evaluation_strategy": "steps",
|
| 403 |
+
"training_args": "Seq2SeqTrainingArguments(output_dir='/workspace/train-qwen38/models/direct-repair-sft/v0-20260823-225101', per_device_train_batch_size=1, num_train_epochs=1.0, max_steps=-1, learning_rate=0.0001, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_steps=5.0, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, weight_decay=0.01, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, optim_target_modules=None, gradient_accumulation_steps=2, average_tokens_across_devices=None, max_grad_norm=1.0, label_smoothing_factor=0.0, bf16=True, fp16=False, bf16_full_eval=False, fp16_full_eval=False, tf32=None, gradient_checkpointing=True, gradient_checkpointing_kwargs=None, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, use_liger_kernel=True, liger_kernel_config=None, use_cache=False, neftune_noise_alpha=None, torch_empty_cache_steps=None, auto_find_batch_size=False, logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_steps=5, logging_first_step=True, log_on_each_node=True, logging_nan_inf_filter=True, include_num_input_tokens_seen=None, log_level='passive', log_level_replica='warning', disable_tqdm=False, report_to=['tensorboard'], run_name='/workspace/train-qwen38/models/direct-repair-sft/v0-20260823-225101', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.STEPS: 'steps'>, eval_steps=50, eval_delay=0, per_device_eval_batch_size=1, prediction_loss_only=False, eval_on_start=False, eval_do_concat_batches=True, eval_use_gather_object=False, eval_accumulation_steps=None, include_for_metrics=[], batch_eval_metrics=False, save_only_model=False, save_strategy=<SaveStrategy.STEPS: 'steps'>, save_steps=50, save_on_each_node=False, save_total_limit=8, enable_jit_checkpoint=False, push_to_hub=False, hub_token=None, hub_private_repo=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_always_push=False, hub_revision=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, restore_callback_states_from_checkpoint=False, full_determinism=False, seed=42, data_seed=42, use_cpu=False, accelerator_config=AcceleratorConfig(split_batches=False, dispatch_batches=False, even_batches=True, use_seedable_sampler=True, non_blocking=False, gradient_accumulation_kwargs=None, use_configured_state=False), parallelism_config=None, dataloader_drop_last=False, dataloader_num_workers=4, dataloader_pin_memory=True, dataloader_persistent_workers=False, dataloader_prefetch_factor=2, remove_unused_columns=False, label_names=None, train_sampling_strategy='random', length_column_name='length', ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, ddp_static_graph=None, ddp_backend=None, ddp_timeout=18000000, fsdp=[], fsdp_config=None, deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 3, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'offload_param': {'device': 'none', 'pin_memory': True}, 'overlap_comm': False, 'contiguous_gradients': True, 'sub_group_size': 1000000000.0, 'reduce_bucket_size': 'auto', 'zero_quantized_weights': False, 'zero_quantized_gradients': False, 'stage3_prefetch_bucket_size': 'auto', 'stage3_param_persistence_threshold': 'auto', 'stage3_max_live_parameters': 1000000000.0, 'stage3_max_reuse_distance': 1000000000.0, 'stage3_gather_16bit_weights_on_model_save': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, debug=[], skip_memory_metrics=True, do_train=False, do_eval=True, do_predict=False, resume_from_checkpoint=None, warmup_ratio=None, logging_dir='/workspace/train-qwen38/models/direct-repair-sft/v0-20260823-225101/runs', local_rank=0, sortish_sampler=False, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=None, tuner_backend='peft', vit_gradient_checkpointing=False, router_aux_loss_coef=0.0, enable_dft_loss=False, enable_channel_loss=False, safe_serialization=True, max_shard_size='5GB', check_model=False, acc_strategy='token', train_dataloader_shuffle=True, group_by_length=False, max_epochs=None, aligner_lr=None, vit_lr=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type=None, mrl_dims=None, eval_metric=None, callbacks=[], early_stop_interval=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, tuner_type='lora', use_galore=False, galore_target_modules=None, galore_rank=128, galore_update_proj_gap=50, galore_scale=1.0, galore_proj_type='std', galore_optim_per_parameter=False, galore_with_embedding=False, galore_quantization=False, galore_proj_quant=False, galore_proj_bits=4, galore_proj_group_size=256, galore_cos_threshold=0.4, galore_gamma_proj=2, galore_queue_size=5, lisa_activated_layers=0, lisa_step_interval=20, use_flash_ckpt=False)"
|
| 404 |
}
|
dwm_provenance.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
| 1 |
{
|
| 2 |
"alpha": 0.1,
|
| 3 |
"audit": {
|
| 4 |
-
"component_ratio_max": 0.
|
| 5 |
-
"component_ratio_mean": 0.
|
| 6 |
-
"component_ratio_min": 0.
|
| 7 |
-
"norm_ratio_max": 1.
|
| 8 |
-
"norm_ratio_mean": 0.
|
| 9 |
-
"norm_ratio_min": 0.
|
| 10 |
-
"relative_delta_max": 0.
|
| 11 |
-
"relative_delta_mean": 0.
|
| 12 |
-
"relative_delta_min": 0.
|
| 13 |
-
"signed_retention_max": 0.
|
| 14 |
-
"signed_retention_mean": 0.
|
| 15 |
-
"signed_retention_min": 0.
|
| 16 |
},
|
| 17 |
"checkpoint_contains_recipe_metadata": false,
|
| 18 |
"direction_run_id": null,
|
| 19 |
-
"direction_sha256": "
|
| 20 |
-
"directions": "/workspace/train-qwen38/derisk/
|
| 21 |
"edited_matrices": 124,
|
| 22 |
"hidden_size": 5120,
|
| 23 |
"layers": 64,
|
| 24 |
"method": "soft directional weight modification",
|
| 25 |
"nominal_directional_retention": 0.9,
|
| 26 |
-
"output": "/workspace/train-qwen38/models/
|
| 27 |
"passes": 1,
|
| 28 |
"secondary": null,
|
| 29 |
"skip_early": 2,
|
| 30 |
-
"source": "/workspace/train-qwen38/models/
|
| 31 |
"source_index_sha256": "a600c6626eb1eb653a3f078ab3dd1c7a8fab2e71185c7ef3aa923a39aaa637be",
|
| 32 |
"source_modified": false,
|
| 33 |
"surface_counts": {
|
|
|
|
| 1 |
{
|
| 2 |
"alpha": 0.1,
|
| 3 |
"audit": {
|
| 4 |
+
"component_ratio_max": 0.9210951328277588,
|
| 5 |
+
"component_ratio_mean": 0.9151080443013099,
|
| 6 |
+
"component_ratio_min": 0.9009799957275391,
|
| 7 |
+
"norm_ratio_max": 1.0000025033950806,
|
| 8 |
+
"norm_ratio_mean": 0.9999723818994337,
|
| 9 |
+
"norm_ratio_min": 0.999819815158844,
|
| 10 |
+
"relative_delta_max": 0.0075966790318489075,
|
| 11 |
+
"relative_delta_mean": 0.0019452353552614728,
|
| 12 |
+
"relative_delta_min": 0.0013362898025661707,
|
| 13 |
+
"signed_retention_max": 0.9209601283073425,
|
| 14 |
+
"signed_retention_mean": 0.9149930731904122,
|
| 15 |
+
"signed_retention_min": 0.9009749293327332
|
| 16 |
},
|
| 17 |
"checkpoint_contains_recipe_metadata": false,
|
| 18 |
"direction_run_id": null,
|
| 19 |
+
"direction_sha256": "6e2f8a5bed1856b7ced8f47ed27647a433b30435838632a2fdea595690944e7b",
|
| 20 |
+
"directions": "/workspace/train-qwen38/derisk/bank_direct_repair_sft.pt",
|
| 21 |
"edited_matrices": 124,
|
| 22 |
"hidden_size": 5120,
|
| 23 |
"layers": 64,
|
| 24 |
"method": "soft directional weight modification",
|
| 25 |
"nominal_directional_retention": 0.9,
|
| 26 |
+
"output": "/workspace/train-qwen38/models/direct-repair-sft-derisk-a01",
|
| 27 |
"passes": 1,
|
| 28 |
"secondary": null,
|
| 29 |
"skip_early": 2,
|
| 30 |
+
"source": "/workspace/train-qwen38/models/direct-repair-sft-merged",
|
| 31 |
"source_index_sha256": "a600c6626eb1eb653a3f078ab3dd1c7a8fab2e71185c7ef3aa923a39aaa637be",
|
| 32 |
"source_modified": false,
|
| 33 |
"surface_counts": {
|
internal_direction_bank.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e2f8a5bed1856b7ced8f47ed27647a433b30435838632a2fdea595690944e7b
|
| 3 |
+
size 1313117
|
model-00002-of-00012.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4842451920
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:897975c55d40ad2bfb27555c9fb43aa59ed67ad037e7d930457e051a50f2d450
|
| 3 |
size 4842451920
|
model-00003-of-00012.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4965227944
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e1e82a608a4eb770b73b08f20a520ba7f3386353129c151ebdcc35d2a2c79f1
|
| 3 |
size 4965227944
|
model-00004-of-00012.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4912819264
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a4e031a16791b774d6026e732d934338147ec619dde1e3edd4ea591e5437405
|
| 3 |
size 4912819264
|
model-00005-of-00012.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4986198544
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:baf6bf0914f2c60c1ee8009acf3a7798aacc48c23d398907585692790da0255c
|
| 3 |
size 4986198544
|
model-00006-of-00012.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4912819320
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d344daae69c6bb5b0ce881b677d6834ed36364db0cb2c236738420dcf59b24e8
|
| 3 |
size 4912819320
|
model-00007-of-00012.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4932703272
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a227f9c5ab68adb3485f1fc7612728f9dda8a79d6acb1d17beea0689f615421
|
| 3 |
size 4932703272
|
model-00008-of-00012.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4966314576
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:674e4a309b74b3a3791ef5ed50322046931b5afcfb396cacff4d34a2de1d7729
|
| 3 |
size 4966314576
|
model-00009-of-00012.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4964162248
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33c458167ceddf0d20d23b5d5c042d20eea792f22907c78563b7580767c1e4a2
|
| 3 |
size 4964162248
|
model-00010-of-00012.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4933789824
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85a30c492afe74e0653a58b7239e76bb875ea265b40d414657002b04888c1d2e
|
| 3 |
size 4933789824
|
model-00011-of-00012.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4965228032
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c01c617a4fbbe77e92bc5ecb3524d719f1170dbd2a11c546bd7c908e6f4dd25
|
| 3 |
size 4965228032
|
model-00012-of-00012.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2789094896
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63561384127fb2566d36980dba639907b5bd8565d676a82c5b319aa97d3bb843
|
| 3 |
size 2789094896
|