Text Generation
PEFT
Safetensors
Transformers
qwen3
axolotl
lora
conversational
text-generation-inference
Run this model with HF Jobs
Run paulvision/medscript-dora-summariser on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/paulvision/medscript-dora-summariser. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/paulvision/medscript-dora-summariser on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/paulvision/medscript-dora-summariser. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/paulvision/medscript-dora-summariser. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use paulvision/medscript-dora-summariser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use paulvision/medscript-dora-summariser with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-8B") model = PeftModel.from_pretrained(base_model, "paulvision/medscript-dora-summariser") - Transformers
How to use paulvision/medscript-dora-summariser with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="paulvision/medscript-dora-summariser") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("paulvision/medscript-dora-summariser") model = AutoModelForCausalLM.from_pretrained("paulvision/medscript-dora-summariser", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use paulvision/medscript-dora-summariser with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "paulvision/medscript-dora-summariser" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "paulvision/medscript-dora-summariser", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/paulvision/medscript-dora-summariser
- SGLang
How to use paulvision/medscript-dora-summariser 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 "paulvision/medscript-dora-summariser" \ --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": "paulvision/medscript-dora-summariser", "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 "paulvision/medscript-dora-summariser" \ --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": "paulvision/medscript-dora-summariser", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use paulvision/medscript-dora-summariser with Docker Model Runner:
docker model run hf.co/paulvision/medscript-dora-summariser
Training in progress, step 10
Browse filesFiles changed (8)
- adapter_config.json+10-14
- adapter_model.safetensors+2-2
- chat_template.jinja+74-14
- config.jsonAdded+71
- debug.logAdded+681
- tokenizer.json+2-2
- tokenizer_config.json+8-217
- training_args.bin+2-2
1 unmodified line234567891056789101116121314152 unmodified lines18192025212223245 unmodified lines303132333435383640413743383940454142434449454647481 unmodified line "alora_invocation_tokens": null, "alpha_pattern": {}, "arrow_config": null, "auto_mapping": { "base_model_class": "Qwen3ForCausalLM", "parent_library": "transformers.models.qwen3.modeling_qwen3", "unsloth_fixed": true }, "base_model_name_or_path": "unsloth/Qwen3-8B", "auto_mapping": null, "base_model_name_or_path": "Qwen/Qwen3-8B", "bias": "none", "corda_config": null, "ensure_weight_tying": false, "eva_config": null, "exclude_modules": null, "fan_in_fan_out": false, "fan_in_fan_out": null, "inference_mode": true, "init_lora_weights": true, "layer_replication": null,2 unmodified lines "loftq_config": {}, "lora_alpha": 32, "lora_bias": false, "lora_dropout": 0, "lora_dropout": 0.0, "lora_ga_config": null, "megatron_config": null, "megatron_core": "megatron.core",5 unmodified lines "rank_pattern": {}, "revision": null, "target_modules": [ "q_proj", "o_proj", "k_proj", "gate_proj", "v_proj", "q_proj", "out_proj", "down_proj", "up_proj" "up_proj", "gate_proj" ], "target_parameters": null, "target_parameters": [], "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_bdlora": null, "use_dora": true, "use_dora": false, "use_qalora": false, "use_rslora": false}12323version https://git-lfs.github.com/spec/v1oid sha256:977eb313f3ba24d0a059e05009d34c71b883394d1216944ae1b359a6e90dbb62size 160814864oid sha256:df7995d2a4ea8bd6ad68b29b1642519f16d3eecc36d7d409ea71a8b35d9969d7size 1746555361234456789101112131415163 unmodified lines20212223142425262728293031323334353637383940414243442021222324254527464748495029515253545556575859326061626364656667686970717273747576777879808182838485864 unmodified lines919293449495969726 unmodified lines124125126127771281291301311321331341351361371384 unmodified lines14314414514614714889149{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0].role == 'system' %} {%- if messages[0].content is string %} {{- messages[0].content + '\n\n' }} {{- messages[0].content + '\n\n' }} {%- else %} {%- for item in messages[0].content %} {%- if 'text' in item %} {{- item['text'] }} {%- endif %} {%- endfor %} {{- '\n\n' }} {%- endif %} {%- endif %} {{- "# 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>" }} {%- for tool in tools %}3 unmodified lines {{- "\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" }}{%- else %} {%- if messages[0].role == 'system' %} {%- if messages[0].content is string %} {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} {%- else %} {{- '<|im_start|>system\n' }} {%- for item in messages[0].content %} {%- if 'text' in item %} {{- item['text'] }} {%- endif %} {%- endfor %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{#- Determine the real last index: use provided value or default to messages length - 1 #}{%- if real_last_index is defined and real_last_index is not none %} {%- set ns.real_last_index = real_last_index %}{%- else %} {%- set ns.real_last_index = messages|length - 1 %}{%- endif %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %}{%- endfor %}{%- for message in messages %} {%- if message.content is string %} {%- set content = message.content %} {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %} {%- else %} {%- set content = '' %} {%- if ns.multi_step_tool and message.role == "user" %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %} {%- endif %}{%- endfor %}{%- for message in messages %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) %} {%- if message.content is string %} {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }} {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }} {%- else %} {{- '<|im_start|>' + message.role + '\n' }} {%- for item in message.content %} {%- if 'text' in item %} {{- item['text'] }} {%- endif %} {%- endfor %} {{- '<|im_end|>' + '\n' }} {%- endif %} {%- elif message.role == "assistant" %} {%- if message.content is none %} {%- set content = '' %} {%- elif message.content is string %} {%- set content = message.content %} {%- else %} {%- set content_ns = namespace(text='') %} {%- for item in message.content %} {%- if 'text' in item %} {%- set content_ns.text = content_ns.text + item['text'] %} {%- endif %} {%- endfor %} {%- set content = content_ns.text %} {%- endif %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is string %} {%- set reasoning_content = message.reasoning_content %}4 unmodified lines {%- endif %} {%- endif %} {%- if loop.index0 > ns.last_query_index %} {%- if loop.last or (not loop.last and reasoning_content) %} {%- if loop.index0 == ns.real_last_index or (loop.index0 != ns.real_last_index and reasoning_content) %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }}26 unmodified lines {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {%- if message.content is string %} {{- content }} {{- message.content }} {%- else %} {%- for item in message.content %} {%- if 'text' in item %} {{- item['text'] }} {%- endif %} {%- endfor %} {%- endif %} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }}4 unmodified lines {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- else %} {{- '<think>\n\n' }} {%- endif %}{%- endif %}{%- endif %}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{ "architectures": [ "Qwen3ForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": null, "dtype": "bfloat16", "eos_token_id": 151645, "head_dim": 128, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 12288, "layer_types": [ "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention" ], "max_position_embeddings": 40960, "max_window_layers": 36, "model_type": "qwen3", "num_attention_heads": 32, "num_hidden_layers": 36, "num_key_value_heads": 8, "pad_token_id": null, "rms_norm_eps": 1e-06, "rope_parameters": { "rope_theta": 1000000, "rope_type": "default" }, "sliding_window": null, "tie_word_embeddings": false, "transformers_version": "5.14.1", "use_cache": false, "use_sliding_window": false, "vocab_size": 151936}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681[2026-08-19 07:30:42,745] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:4885] baseline 0.000GB ()[2026-08-19 07:30:42,746] [INFO] [axolotl.cli.config.load_cfg:336] [PID:4885] config:{ "activation_offloading": false, "adapter": "lora", "attn_decontaminates_packing": true, "attn_implementation": "flash_attention_2", "attn_needs_dtype_cast": true, "attn_supports_packing": true, "attn_uses_flash_lib": true, "axolotl_config_path": "/tmp/medscript_resolved_sft_summariser_smoke.yaml", "base_model": "Qwen/Qwen3-8B", "base_model_config": "Qwen/Qwen3-8B", "batch_size": 32, "bf16": true, "capabilities": { "bf16": true, "compute_capability": "sm_80", "fp8": false, "n_gpu": 1, "n_node": 1, "tf32": true }, "chat_template": "qwen3", "context_parallel_size": 1, "dataloader_num_workers": 1, "dataloader_pin_memory": true, "dataloader_prefetch_factor": 256, "dataset_num_proc": 128, "dataset_prepared_path": "./prepared/sft_summariser", "datasets": [ { "chat_template": "qwen3", "field_messages": "messages", "message_property_mappings": { "content": "content", "role": "role" }, "path": "paulvision/medscript-sft-summariser", "roles_to_train": [ "assistant" ], "trust_remote_code": false, "type": "chat_template" } ], "ddp": false, "device": "cuda:0", "dion_rank_fraction": 1.0, "dion_rank_multiple_of": 1, "eaft_alpha": 1.0, "eaft_k": 20, "env_capabilities": { "torch_version": "2.12.1" }, "eval_batch_size": 2, "eval_causal_lm_metrics": [ "sacrebleu", "comet", "ter", "chrf" ], "eval_max_new_tokens": 128, "eval_sample_packing": false, "eval_steps": 200, "eval_table_size": 0, "experimental_skip_move_to_device": true, "fp16": false, "generate_samples": false, "generation_do_sample": true, "generation_max_new_tokens": 50, "generation_prompt_ratio": 0.5, "generation_temperature": 0.7, "gradient_accumulation_steps": 16, "gradient_checkpointing": true, "gradient_checkpointing_kwargs": { "use_reentrant": false }, "hub_model_id": "paulvision/medscript-dora-summariser", "hub_strategy": "every_save", "include_tkps": true, "is_falcon_derived_model": false, "is_llama_derived_model": false, "is_mistral_derived_model": false, "layer_offloading": false, "learning_rate": 0.0002, "liger_fused_linear_cross_entropy": true, "liger_glu_activation": true, "liger_rms_norm": true, "liger_rope": true, "lisa_layers_attribute": "model.layers", "load_best_model_at_end": true, "load_in_4bit": false, "load_in_8bit": false, "local_rank": 0, "logging_steps": 10, "lora_alpha": 32, "lora_dropout": 0.0, "lora_embedding_kernel": true, "lora_mlp_kernel": true, "lora_o_kernel": true, "lora_qkv_kernel": true, "lora_r": 16, "lora_target_modules": [ "q_proj", "k_proj", "v_proj", "o_proj", "gate_proj", "up_proj", "down_proj" ], "loraplus_lr_embedding": 1e-06, "loraplus_lr_ratio": 16.0, "lr_scheduler": "cosine", "max_grad_norm": 1.0, "max_steps": 10, "mean_resizing_embeddings": false, "merge_method": "memory_efficient", "metric_for_best_model": "eval_loss", "micro_batch_size": 2, "model_config_type": "qwen3", "num_epochs": 1.0, "num_generation_samples": 3, "optimizer": "adamw_torch_fused", "otel_metrics_host": "localhost", "otel_metrics_port": 8000, "output_dir": "./checkpoints/sft/summariser", "pad_to_sequence_len": true, "plugins": [ "axolotl.integrations.liger.LigerPlugin" ], "pretrain_multipack_attn": true, "profiler_steps_start": 0, "qgalore_cos_threshold": 0.4, "qgalore_gamma_proj": 2, "qgalore_proj_bits": 4, "qgalore_proj_group_size": 256, "qgalore_proj_quant": true, "qgalore_proj_type": "std", "qgalore_queue_size": 5, "qgalore_rank": 256, "qgalore_scale": 0.25, "qgalore_update_proj_gap": 200, "qlora_sharded_model_loading": false, "quantize_moe_experts": false, "ray_num_workers": 1, "relora_prune_method": "magnitude", "remove_unused_columns": false, "resources_per_worker": { "GPU": 1 }, "sample_packing": true, "sample_packing_bin_size": 200, "sample_packing_group_size": 100000, "save_only_model": false, "save_safetensors": true, "save_steps": 200, "save_total_limit": 3, "seed": 42, "sequence_len": 1024, "shuffle_before_merging_datasets": false, "shuffle_merged_datasets": true, "skip_prepare_dataset": false, "streaming_multipack_buffer_size": 10000, "strict": false, "tensor_parallel_size": 1, "test_datasets": [ { "chat_template": "qwen3", "field_messages": "messages", "message_property_mappings": { "content": "content", "role": "role" }, "path": "paulvision/medscript-sft-summariser", "split": "validation", "trust_remote_code": false, "type": "chat_template" } ], "tf32": true, "tiled_mlp_use_original_mlp": true, "tokenizer_config": "Qwen/Qwen3-8B", "tokenizer_save_jinja_files": true, "tokenizer_type": "AutoTokenizer", "torch_dtype": "torch.bfloat16", "train_on_inputs": false, "trl": { "async_prefetch": false, "log_completions": false, "mask_truncated_completions": false, "ref_model_mixup_alpha": 0.9, "ref_model_sync_steps": 64, "replay_buffer_size": 0, "replay_recompute_logps": true, "reroll_max_groups": 1, "reroll_start_fraction": 1.0, "reward_num_workers": 1, "scale_rewards": true, "skip_zero_advantage_batches": true, "sync_ref_model": false, "use_data_producer": false, "use_vllm": false, "vllm_lora_sync": false, "vllm_server_host": "0.0.0.0", "vllm_server_port": 8000 }, "type_of_model": "AutoModelForCausalLM", "use_otel_metrics": false, "use_ray": false, "use_wandb": true, "val_set_size": 0.0, "vllm": { "device": "auto", "dtype": "auto", "gpu_memory_utilization": 0.9, "host": "0.0.0.0", "port": 8000 }, "wandb_name": "sft-summariser", "wandb_project": "medscript-ai", "warmup_ratio": 0.05, "weight_decay": 0.01, "world_size": 1}[2026-08-19 07:30:50,432] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:311] [PID:4885] EOS: 151645 / <|im_end|>[2026-08-19 07:30:50,432] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:312] [PID:4885] BOS: None / None[2026-08-19 07:30:50,432] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:313] [PID:4885] PAD: 151643 / <|endoftext|>[2026-08-19 07:30:50,432] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:314] [PID:4885] UNK: None / None[2026-08-19 07:30:50,433] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:543] [PID:4885] Unable to find prepared dataset in prepared/sft_summariser/604d7763237fb0e3b0c9a95a92481d42[2026-08-19 07:30:50,433] [INFO] [axolotl.utils.data.sft._load_raw_datasets:320] [PID:4885] Loading raw datasets...[2026-08-19 07:30:50,434] [WARNING] [axolotl.utils.data.sft._load_raw_datasets:322] [PID:4885] Processing datasets during training can lead to VRAM instability. Please pre-process your dataset using `axolotl preprocess path/to/config.yml`.
Fetching 0 files: 0it [00:00, ?it/s]
Fetching 0 files: 0it [00:00, ?it/s]
Generating train split: 0%| | 0/486 [00:00<?, ? examples/s]
Generating train split: 100%|██████████| 486/486 [00:00<00:00, 31512.23 examples/s]
Generating validation split: 0%| | 0/55 [00:00<?, ? examples/s]
Generating validation split: 100%|██████████| 55/55 [00:00<00:00, 21828.80 examples/s][2026-08-19 07:30:54,394] [INFO] [axolotl.utils.data.wrappers.get_dataset_wrapper:87] [PID:4885] Loading dataset: paulvision/medscript-sft-summariser with base_type: chat_template and prompt_style: None[2026-08-19 07:30:54,403] [INFO] [axolotl.prompt_strategies.chat_template.__call__:1210] [PID:4885] Using chat template:---{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0].role == 'system' %} {%- if messages[0].content is string %} {{- messages[0].content + '\n\n' }} {%- else %} {%- for item in messages[0].content %} {%- if 'text' in item %} {{- item['text'] }} {%- endif %} {%- endfor %} {{- '\n\n' }} {%- endif %} {%- endif %} {{- "# 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>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\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" }}{%- else %} {%- if messages[0].role == 'system' %} {%- if messages[0].content is string %} {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} {%- else %} {{- '<|im_start|>system\n' }} {%- for item in messages[0].content %} {%- if 'text' in item %} {{- item['text'] }} {%- endif %} {%- endfor %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{#- Determine the real last index: use provided value or default to messages length - 1 #}{%- if real_last_index is defined and real_last_index is not none %} {%- set ns.real_last_index = real_last_index %}{%- else %} {%- set ns.real_last_index = messages|length - 1 %}{%- endif %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if message.content is string %} {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %} {%- else %} {%- if ns.multi_step_tool and message.role == "user" %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %} {%- endif %}{%- endfor %}{%- for message in messages %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) %} {%- if message.content is string %} {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }} {%- else %} {{- '<|im_start|>' + message.role + '\n' }} {%- for item in message.content %} {%- if 'text' in item %} {{- item['text'] }} {%- endif %} {%- endfor %} {{- '<|im_end|>' + '\n' }} {%- endif %} {%- elif message.role == "assistant" %} {%- if message.content is none %} {%- set content = '' %} {%- elif message.content is string %} {%- set content = message.content %} {%- else %} {%- set content_ns = namespace(text='') %} {%- for item in message.content %} {%- if 'text' in item %} {%- set content_ns.text = content_ns.text + item['text'] %} {%- endif %} {%- endfor %} {%- set content = content_ns.text %} {%- endif %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is string %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in content %} {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- set content = content.split('</think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- if loop.index0 > ns.last_query_index %} {%- if loop.index0 == ns.real_last_index or (loop.index0 != ns.real_last_index and reasoning_content) %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls %} {%- for tool_call in message.tool_calls %} {%- if (loop.first and content) or (not loop.first) %} {{- '\n' }} {%- endif %} {%- if tool_call.function %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {%- if tool_call.arguments is string %} {{- tool_call.arguments }} {%- else %} {{- tool_call.arguments | tojson }} {%- endif %} {{- '}\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {%- if message.content is string %} {{- message.content }} {%- else %} {%- for item in message.content %} {%- if 'text' in item %} {{- item['text'] }} {%- endif %} {%- endfor %} {%- endif %} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- else %} {{- '<think>\n\n' }} {%- endif %}{%- endif %}
---
Tokenizing Prompts (num_proc=128): 0%| | 0/486 [00:00<?, ? examples/s]
Tokenizing Prompts (num_proc=128): 1%| | 4/486 [00:04<08:09, 1.01s/ examples]
Tokenizing Prompts (num_proc=128): 2%|▏ | 8/486 [00:05<04:56, 1.61 examples/s]
Tokenizing Prompts (num_proc=128): 2%|▏ | 12/486 [00:06<03:57, 2.00 examples/s]
Tokenizing Prompts (num_proc=128): 3%|▎ | 16/486 [00:08<03:28, 2.26 examples/s]
Tokenizing Prompts (num_proc=128): 4%|▍ | 20/486 [00:09<03:16, 2.37 examples/s]
Tokenizing Prompts (num_proc=128): 5%|▍ | 24/486 [00:11<02:59, 2.57 examples/s]
Tokenizing Prompts (num_proc=128): 6%|▌ | 28/486 [00:12<02:52, 2.65 examples/s]
Tokenizing Prompts (num_proc=128): 7%|▋ | 32/486 [00:13<02:49, 2.68 examples/s]
Tokenizing Prompts (num_proc=128): 7%|▋ | 36/486 [00:15<02:47, 2.69 examples/s]
Tokenizing Prompts (num_proc=128): 8%|▊ | 40/486 [00:16<02:44, 2.71 examples/s]
Tokenizing Prompts (num_proc=128): 9%|▉ | 44/486 [00:18<02:41, 2.74 examples/s]
Tokenizing Prompts (num_proc=128): 10%|▉ | 48/486 [00:19<02:38, 2.77 examples/s]
Tokenizing Prompts (num_proc=128): 11%|█ | 52/486 [00:21<02:36, 2.77 examples/s]
Tokenizing Prompts (num_proc=128): 12%|█▏ | 56/486 [00:22<02:34, 2.78 examples/s]
Tokenizing Prompts (num_proc=128): 12%|█▏ | 60/486 [00:24<02:32, 2.79 examples/s]
Tokenizing Prompts (num_proc=128): 13%|█▎ | 64/486 [00:25<02:30, 2.81 examples/s]
Tokenizing Prompts (num_proc=128): 14%|█▍ | 68/486 [00:26<02:28, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 15%|█▍ | 72/486 [00:28<02:26, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 16%|█▌ | 76/486 [00:29<02:25, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 16%|█▋ | 80/486 [00:31<02:24, 2.81 examples/s]
Tokenizing Prompts (num_proc=128): 17%|█▋ | 84/486 [00:32<02:22, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 18%|█▊ | 88/486 [00:33<02:21, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 19%|█▉ | 92/486 [00:35<02:19, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 20%|█▉ | 96/486 [00:36<02:18, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 21%|██ | 100/486 [00:38<02:16, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 21%|██▏ | 104/486 [00:39<02:15, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 22%|██▏ | 108/486 [00:41<02:13, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 23%|██▎ | 112/486 [00:42<02:12, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 24%|██▍ | 116/486 [00:43<02:10, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 25%|██▍ | 120/486 [00:45<02:09, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 26%|██▌ | 124/486 [00:46<02:07, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 26%|██▋ | 128/486 [00:48<02:05, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 27%|██▋ | 132/486 [00:49<02:05, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 28%|██▊ | 136/486 [00:50<02:03, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 29%|██▉ | 140/486 [00:52<02:03, 2.81 examples/s]
Tokenizing Prompts (num_proc=128): 30%|██▉ | 144/486 [00:53<02:01, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 30%|███ | 148/486 [00:55<01:59, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 31%|███▏ | 152/486 [00:56<01:57, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 32%|███▏ | 156/486 [00:57<01:56, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 33%|███▎ | 160/486 [00:59<01:54, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 34%|███▎ | 164/486 [01:00<01:53, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 35%|███▍ | 168/486 [01:02<01:52, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 35%|███▌ | 172/486 [01:03<01:50, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 36%|███▌ | 176/486 [01:05<01:49, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 37%|███▋ | 180/486 [01:06<01:48, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 38%|███▊ | 184/486 [01:07<01:46, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 39%|███▊ | 188/486 [01:09<01:45, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 40%|███▉ | 192/486 [01:10<01:44, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 40%|████ | 196/486 [01:12<01:42, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 41%|████ | 200/486 [01:13<01:40, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 42%|████▏ | 204/486 [01:14<01:39, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 43%|████▎ | 208/486 [01:16<01:38, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 44%|████▎ | 212/486 [01:17<01:36, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 44%|████▍ | 216/486 [01:19<01:35, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 45%|████▌ | 220/486 [01:20<01:33, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 46%|████▌ | 224/486 [01:21<01:32, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 47%|████�� | 228/486 [01:23<01:31, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 48%|████▊ | 232/486 [01:24<01:30, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 49%|████▊ | 236/486 [01:26<01:28, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 49%|████▉ | 240/486 [01:27<01:26, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 50%|█████ | 244/486 [01:29<01:25, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 51%|█████ | 248/486 [01:30<01:23, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 52%|█████▏ | 252/486 [01:31<01:22, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 53%|█████▎ | 256/486 [01:33<01:21, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 53%|█████▎ | 260/486 [01:34<01:19, 2.86 examples/s]
Tokenizing Prompts (num_proc=128): 54%|█████▍ | 264/486 [01:36<01:17, 2.85 examples/s]
Tokenizing Prompts (num_proc=128): 55%|█████▌ | 268/486 [01:37<01:16, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 56%|█████▌ | 272/486 [01:38<01:15, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 57%|█████▋ | 276/486 [01:40<01:13, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 58%|█████▊ | 280/486 [01:41<01:12, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 58%|█████▊ | 284/486 [01:43<01:11, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 59%|█████▉ | 288/486 [01:44<01:10, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 60%|██████ | 292/486 [01:45<01:08, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 61%|██████ | 296/486 [01:47<01:06, 2.84 examples/s]
Tokenizing Prompts (num_proc=128): 62%|██████▏ | 300/486 [01:48<01:05, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 63%|██████▎ | 304/486 [01:50<01:05, 2.78 examples/s]
Tokenizing Prompts (num_proc=128): 63%|██████▎ | 308/486 [01:51<01:03, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 64%|██████▍ | 312/486 [01:53<01:01, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 65%|██████▌ | 316/486 [01:54<01:00, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 66%|██████▌ | 320/486 [01:55<00:59, 2.81 examples/s]
Tokenizing Prompts (num_proc=128): 67%|██████▋ | 324/486 [01:57<00:57, 2.81 examples/s]
Tokenizing Prompts (num_proc=128): 67%|██████▋ | 328/486 [01:58<00:56, 2.78 examples/s]
Tokenizing Prompts (num_proc=128): 68%|██████▊ | 332/486 [02:00<00:55, 2.79 examples/s]
Tokenizing Prompts (num_proc=128): 69%|██████▉ | 336/486 [02:01<00:53, 2.81 examples/s]
Tokenizing Prompts (num_proc=128): 70%|██████▉ | 340/486 [02:03<00:52, 2.80 examples/s]
Tokenizing Prompts (num_proc=128): 71%|███████ | 344/486 [02:04<00:50, 2.81 examples/s]
Tokenizing Prompts (num_proc=128): 72%|███████▏ | 348/486 [02:05<00:48, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 72%|███████▏ | 352/486 [02:07<00:47, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 73%|███████▎ | 356/486 [02:08<00:45, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 74%|███████▍ | 360/486 [02:10<00:44, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 75%|███████▍ | 364/486 [02:11<00:43, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 76%|███████▌ | 368/486 [02:12<00:41, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 77%|███████▋ | 372/486 [02:14<00:40, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 77%|███████▋ | 376/486 [02:15<00:38, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 78%|███████▊ | 380/486 [02:17<00:37, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 79%|███████▉ | 384/486 [02:18<00:36, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 80%|███████▉ | 388/486 [02:20<00:34, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 81%|████████ | 392/486 [02:21<00:33, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 81%|████████▏ | 396/486 [02:22<00:31, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 82%|████████▏ | 400/486 [02:24<00:30, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 83%|████████▎ | 404/486 [02:25<00:29, 2.82 examples/s]
Tokenizing Prompts (num_proc=128): 84%|████████▍ | 408/486 [02:27<00:27, 2.83 examples/s]
Tokenizing Prompts (num_proc=128): 85%|████████▍ | 411/486 [02:28<00:28, 2.59 examples/s]
Tokenizing Prompts (num_proc=128): 85%|████████▌ | 414/486 [02:30<00:29, 2.45 examples/s]
Tokenizing Prompts (num_proc=128): 86%|████████▌ | 417/486 [02:31<00:29, 2.34 examples/s]
Tokenizing Prompts (num_proc=128): 86%|████████▋ | 420/486 [02:32<00:28, 2.28 examples/s]
Tokenizing Prompts (num_proc=128): 87%|████████▋ | 423/486 [02:34<00:28, 2.23 examples/s]
Tokenizing Prompts (num_proc=128): 88%|████████▊ | 426/486 [02:35<00:27, 2.20 examples/s]
Tokenizing Prompts (num_proc=128): 88%|████████▊ | 429/486 [02:37<00:26, 2.16 examples/s]
Tokenizing Prompts (num_proc=128): 89%|████████▉ | 432/486 [02:38<00:25, 2.12 examples/s]
Tokenizing Prompts (num_proc=128): 90%|████████▉ | 435/486 [02:39<00:23, 2.14 examples/s]
Tokenizing Prompts (num_proc=128): 90%|█████████ | 438/486 [02:41<00:22, 2.14 examples/s]
Tokenizing Prompts (num_proc=128): 91%|█████████ | 441/486 [02:42<00:21, 2.13 examples/s]
Tokenizing Prompts (num_proc=128): 91%|█████████▏| 444/486 [02:44<00:19, 2.13 examples/s]
Tokenizing Prompts (num_proc=128): 92%|█████████▏| 447/486 [02:45<00:18, 2.12 examples/s]
Tokenizing Prompts (num_proc=128): 93%|█████████▎| 450/486 [02:47<00:17, 2.11 examples/s]
Tokenizing Prompts (num_proc=128): 93%|█████████▎| 453/486 [02:48<00:15, 2.09 examples/s]
Tokenizing Prompts (num_proc=128): 94%|█████████▍| 456/486 [02:49<00:14, 2.09 examples/s]
Tokenizing Prompts (num_proc=128): 94%|█████████▍| 459/486 [02:51<00:12, 2.11 examples/s]
Tokenizing Prompts (num_proc=128): 95%|█████████▌| 462/486 [02:52<00:11, 2.11 examples/s]
Tokenizing Prompts (num_proc=128): 96%|█████████▌| 465/486 [02:54<00:09, 2.11 examples/s]
Tokenizing Prompts (num_proc=128): 96%|█████████▋| 468/486 [02:55<00:08, 2.12 examples/s]
Tokenizing Prompts (num_proc=128): 97%|█████████▋| 471/486 [02:57<00:07, 2.12 examples/s]
Tokenizing Prompts (num_proc=128): 98%|█████████▊| 474/486 [02:58<00:05, 2.09 examples/s]
Tokenizing Prompts (num_proc=128): 98%|█████████▊| 477/486 [02:59<00:04, 2.12 examples/s]
Tokenizing Prompts (num_proc=128): 99%|█████████▉| 480/486 [03:01<00:02, 2.07 examples/s]
Tokenizing Prompts (num_proc=128): 99%|█████████▉| 483/486 [03:02<00:01, 2.10 examples/s]
Tokenizing Prompts (num_proc=128): 100%|██████████| 486/486 [03:04<00:00, 2.11 examples/s]
Tokenizing Prompts (num_proc=128): 100%|██████████| 486/486 [03:05<00:00, 2.63 examples/s][2026-08-19 07:34:09,103] [INFO] [axolotl.utils.data.utils._log_dataset_stats:212] [PID:4885] min_input_len: 86[2026-08-19 07:34:09,103] [INFO] [axolotl.utils.data.utils._log_dataset_stats:213] [PID:4885] max_input_len: 688
Dropping Invalid Sequences (<None or >1024) (num_proc=128): 0%| | 0/486 [00:00<?, ? examples/s]
Dropping Invalid Sequences (<None or >1024) (num_proc=128): 1%| | 4/486 [00:03<06:33, 1.22 examples/s]
Dropping Invalid Sequences (<None or >1024) (num_proc=128): 7%|▋ | 32/486 [00:03<00:35, 12.87 examples/s]
Dropping Invalid Sequences (<None or >1024) (num_proc=128): 12%|█▏ | 60/486 [00:03<00:15, 27.80 examples/s]
Dropping Invalid Sequences (<None or >1024) (num_proc=128): 19%|█▉ | 92/486 [00:03<00:08, 48.42 examples/s]
Dropping Invalid Sequences (<None or >1024) (num_proc=128): 25%|██▍ | 120/486 [00:03<00:05, 69.90 examples/s]
Dropping Invalid Sequences (<None or >1024) (num_proc=128): 31%|███▏ | 152/486 [00:03<00:03, 98.32 examples/s]
Dropping Invalid Sequences (<None or >1024) (num_proc=128): 38%|███▊ | 184/486 [00:03<00:02, 129.95 examples/s]
Dropping Invalid Sequences (<None or >1024) (num_proc=128): 44%|████▎ | 212/486 [00:04<00:01, 150.15 examples/s]
Dropping Invalid Sequences (<None or >1024) (num_proc=128): 100%|██████████| 486/486 [00:04<00:00, 102.55 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 0%| | 0/486 [00:00<?, ? examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 1%| | 4/486 [00:03<06:55, 1.16 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 4%|▍ | 20/486 [00:03<01:02, 7.46 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 7%|▋ | 32/486 [00:03<00:33, 13.39 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 12%|█▏ | 56/486 [00:03<00:14, 29.32 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 16%|█▌ | 76/486 [00:03<00:09, 43.96 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 19%|█▉ | 92/486 [00:04<00:07, 55.99 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 23%|██▎ | 112/486 [00:04<00:05, 74.39 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 28%|██▊ | 136/486 [00:04<00:03, 97.54 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 32%|███▏ | 156/486 [00:04<00:02, 110.83 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 36%|███▌ | 176/486 [00:04<00:02, 118.66 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 40%|███▉ | 192/486 [00:04<00:04, 72.63 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 44%|████▎ | 212/486 [00:05<00:03, 86.77 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 48%|████▊ | 232/486 [00:05<00:02, 103.12 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 53%|█████▎ | 256/486 [00:05<00:01, 126.36 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 88%|████████▊ | 429/486 [00:05<00:00, 459.41 examples/s]
Drop Samples with Zero Trainable Tokens (num_proc=128): 100%|██████████| 486/486 [00:06<00:00, 80.25 examples/s]
Add position_id column (Sample Packing) (num_proc=128): 0%| | 0/486 [00:00<?, ? examples/s]
Add position_id column (Sample Packing) (num_proc=128): 1%| | 4/486 [00:03<07:07, 1.13 examples/s]
Add position_id column (Sample Packing) (num_proc=128): 6%|▌ | 28/486 [00:03<00:44, 10.30 examples/s]
Add position_id column (Sample Packing) (num_proc=128): 11%|█ | 52/486 [00:03<00:19, 22.13 examples/s]
Add position_id column (Sample Packing) (num_proc=128): 16%|█▌ | 76/486 [00:03<00:11, 37.02 examples/s]
Add position_id column (Sample Packing) (num_proc=128): 21%|██▏ | 104/486 [00:03<00:06, 57.97 examples/s]
Add position_id column (Sample Packing) (num_proc=128): 29%|██▉ | 140/486 [00:04<00:03, 90.09 examples/s]
Add position_id column (Sample Packing) (num_proc=128): 35%|███▌ | 172/486 [00:04<00:02, 119.25 examples/s]
Add position_id column (Sample Packing) (num_proc=128): 41%|████ | 200/486 [00:04<00:01, 144.25 examples/s]
Add position_id column (Sample Packing) (num_proc=128): 91%|█████████▏| 444/486 [00:04<00:00, 567.89 examples/s]
Add position_id column (Sample Packing) (num_proc=128): 100%|██████████| 486/486 [00:04<00:00, 98.72 examples/s]
Saving the dataset (0/1 shards): 0%| | 0/486 [00:00<?, ? examples/s]
Saving the dataset (0/1 shards): 100%|██████████| 486/486 [00:01<00:00, 484.27 examples/s]
Saving the dataset (1/1 shards): 100%|██████████| 486/486 [00:01<00:00, 484.27 examples/s]
Saving the dataset (1/1 shards): 100%|██████████| 486/486 [00:01<00:00, 450.71 examples/s][2026-08-19 07:34:27,617] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:543] [PID:4885] Unable to find prepared dataset in prepared/sft_summariser/21f2399f33dd2e5ac4bc167af5791775[2026-08-19 07:34:27,617] [INFO] [axolotl.utils.data.sft._load_raw_datasets:320] [PID:4885] Loading raw datasets...[2026-08-19 07:34:27,617] [WARNING] [axolotl.utils.data.sft._load_raw_datasets:322] [PID:4885] Processing datasets during training can lead to VRAM instability. Please pre-process your dataset using `axolotl preprocess path/to/config.yml`.
Fetching 0 files: 0it [00:00, ?it/s]
Fetching 0 files: 0it [00:00, ?it/s][2026-08-19 07:34:28,913] [INFO] [axolotl.utils.data.wrappers.get_dataset_wrapper:87] [PID:4885] Loading dataset: paulvision/medscript-sft-summariser with base_type: chat_template and prompt_style: None[2026-08-19 07:34:28,914] [INFO] [axolotl.prompt_strategies.chat_template.__call__:1210] [PID:4885] Using chat template:---{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0].role == 'system' %} {%- if messages[0].content is string %} {{- messages[0].content + '\n\n' }} {%- else %} {%- for item in messages[0].content %} {%- if 'text' in item %} {{- item['text'] }} {%- endif %} {%- endfor %} {{- '\n\n' }} {%- endif %} {%- endif %} {{- "# 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>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\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" }}{%- else %} {%- if messages[0].role == 'system' %} {%- if messages[0].content is string %} {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} {%- else %} {{- '<|im_start|>system\n' }} {%- for item in messages[0].content %} {%- if 'text' in item %} {{- item['text'] }} {%- endif %} {%- endfor %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{#- Determine the real last index: use provided value or default to messages length - 1 #}{%- if real_last_index is defined and real_last_index is not none %} {%- set ns.real_last_index = real_last_index %}{%- else %} {%- set ns.real_last_index = messages|length - 1 %}{%- endif %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if message.content is string %} {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %} {%- else %} {%- if ns.multi_step_tool and message.role == "user" %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %} {%- endif %}{%- endfor %}{%- for message in messages %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) %} {%- if message.content is string %} {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }} {%- else %} {{- '<|im_start|>' + message.role + '\n' }} {%- for item in message.content %} {%- if 'text' in item %} {{- item['text'] }} {%- endif %} {%- endfor %} {{- '<|im_end|>' + '\n' }} {%- endif %} {%- elif message.role == "assistant" %} {%- if message.content is none %} {%- set content = '' %} {%- elif message.content is string %} {%- set content = message.content %} {%- else %} {%- set content_ns = namespace(text='') %} {%- for item in message.content %} {%- if 'text' in item %} {%- set content_ns.text = content_ns.text + item['text'] %} {%- endif %} {%- endfor %} {%- set content = content_ns.text %} {%- endif %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is string %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in content %} {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- set content = content.split('</think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- if loop.index0 > ns.last_query_index %} {%- if loop.index0 == ns.real_last_index or (loop.index0 != ns.real_last_index and reasoning_content) %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls %} {%- for tool_call in message.tool_calls %} {%- if (loop.first and content) or (not loop.first) %} {{- '\n' }} {%- endif %} {%- if tool_call.function %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {%- if tool_call.arguments is string %} {{- tool_call.arguments }} {%- else %} {{- tool_call.arguments | tojson }} {%- endif %} {{- '}\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {%- if message.content is string %} {{- message.content }} {%- else %} {%- for item in message.content %} {%- if 'text' in item %} {{- item['text'] }} {%- endif %} {%- endfor %} {%- endif %} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- else %} {{- '<think>\n\n' }} {%- endif %}{%- endif %}
---[2026-08-19 07:34:28,983] [WARNING] [datasets.arrow_dataset.map:3413] [PID:4885] num_proc must be <= 55. Reducing num_proc to 55 for dataset of size 55.
Tokenizing Prompts (num_proc=55): 0%| | 0/55 [00:00<?, ? examples/s]
Tokenizing Prompts (num_proc=55): 2%|▏ | 1/55 [00:02<02:41, 3.00s/ examples]
Tokenizing Prompts (num_proc=55): 4%|▎ | 2/55 [00:04<01:47, 2.04s/ examples]
Tokenizing Prompts (num_proc=55): 5%|▌ | 3/55 [00:05<01:30, 1.75s/ examples]
Tokenizing Prompts (num_proc=55): 7%|▋ | 4/55 [00:07<01:22, 1.62s/ examples]
Tokenizing Prompts (num_proc=55): 9%|▉ | 5/55 [00:08<01:16, 1.53s/ examples]
Tokenizing Prompts (num_proc=55): 11%|█ | 6/55 [00:09<01:13, 1.50s/ examples]
Tokenizing Prompts (num_proc=55): 13%|█▎ | 7/55 [00:11<01:10, 1.46s/ examples]
Tokenizing Prompts (num_proc=55): 15%|█▍ | 8/55 [00:12<01:07, 1.44s/ examples]
Tokenizing Prompts (num_proc=55): 16%|█▋ | 9/55 [00:14<01:05, 1.43s/ examples]
Tokenizing Prompts (num_proc=55): 18%|█▊ | 10/55 [00:15<01:03, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 20%|██ | 11/55 [00:16<01:01, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 22%|██▏ | 12/55 [00:18<01:00, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 24%|██▎ | 13/55 [00:19<00:58, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 25%|██▌ | 14/55 [00:21<00:57, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 27%|██▋ | 15/55 [00:22<00:56, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 29%|██▉ | 16/55 [00:23<00:55, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 31%|███ | 17/55 [00:25<00:52, 1.39s/ examples]
Tokenizing Prompts (num_proc=55): 33%|███▎ | 18/55 [00:26<00:51, 1.39s/ examples]
Tokenizing Prompts (num_proc=55): 35%|███▍ | 19/55 [00:28<00:50, 1.39s/ examples]
Tokenizing Prompts (num_proc=55): 36%|███▋ | 20/55 [00:29<00:48, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 38%|███▊ | 21/55 [00:30<00:47, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 40%|████ | 22/55 [00:32<00:46, 1.42s/ examples]
Tokenizing Prompts (num_proc=55): 42%|████▏ | 23/55 [00:33<00:45, 1.42s/ examples]
Tokenizing Prompts (num_proc=55): 44%|████▎ | 24/55 [00:35<00:43, 1.42s/ examples]
Tokenizing Prompts (num_proc=55): 45%|████▌ | 25/55 [00:36<00:42, 1.42s/ examples]
Tokenizing Prompts (num_proc=55): 47%|████▋ | 26/55 [00:38<00:40, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 49%|████▉ | 27/55 [00:39<00:39, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 51%|█████ | 28/55 [00:40<00:37, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 53%|█████▎ | 29/55 [00:42<00:36, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 55%|█████▍ | 30/55 [00:43<00:35, 1.43s/ examples]
Tokenizing Prompts (num_proc=55): 56%|█████▋ | 31/55 [00:45<00:33, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 58%|█████▊ | 32/55 [00:46<00:32, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 60%|██████ | 33/55 [00:47<00:30, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 62%|██████▏ | 34/55 [00:49<00:29, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 64%|██████▎ | 35/55 [00:50<00:27, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 65%|██████▌ | 36/55 [00:52<00:26, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 67%|██████▋ | 37/55 [00:53<00:25, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 69%|██████▉ | 38/55 [00:54<00:23, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 71%|███████ | 39/55 [00:56<00:22, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 73%|███████▎ | 40/55 [00:57<00:20, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 75%|███████▍ | 41/55 [00:59<00:19, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 76%|███████▋ | 42/55 [01:00<00:18, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 78%|███████▊ | 43/55 [01:01<00:16, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 80%|████████ | 44/55 [01:03<00:15, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 82%|████████▏ | 45/55 [01:04<00:14, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 84%|████████▎ | 46/55 [01:06<00:12, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 85%|████████▌ | 47/55 [01:07<00:11, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 87%|████████▋ | 48/55 [01:08<00:09, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 89%|████████▉ | 49/55 [01:10<00:08, 1.41s/ examples]
Tokenizing Prompts (num_proc=55): 91%|█████████ | 50/55 [01:11<00:07, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 93%|█████████▎| 51/55 [01:13<00:05, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 95%|█████████▍| 52/55 [01:14<00:04, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 96%|█████████▋| 53/55 [01:15<00:02, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 98%|█████████▊| 54/55 [01:17<00:01, 1.40s/ examples]
Tokenizing Prompts (num_proc=55): 100%|██████████| 55/55 [01:18<00:00, 1.39s/ examples]
Tokenizing Prompts (num_proc=55): 100%|██████████| 55/55 [01:19<00:00, 1.44s/ examples][2026-08-19 07:35:57,539] [INFO] [axolotl.utils.data.utils._log_dataset_stats:212] [PID:4885] min_input_len: 89[2026-08-19 07:35:57,539] [INFO] [axolotl.utils.data.utils._log_dataset_stats:213] [PID:4885] max_input_len: 431[2026-08-19 07:35:57,539] [WARNING] [datasets.arrow_dataset.map:3413] [PID:4885] num_proc must be <= 55. Reducing num_proc to 55 for dataset of size 55.
Dropping Invalid Sequences (<None or >1024) (num_proc=55): 0%| | 0/55 [00:00<?, ? examples/s]
Dropping Invalid Sequences (<None or >1024) (num_proc=55): 2%|▏ | 1/55 [00:01<01:26, 1.60s/ examples]
Dropping Invalid Sequences (<None or >1024) (num_proc=55): 9%|▉ | 5/55 [00:01<00:13, 3.70 examples/s]
Dropping Invalid Sequences (<None or >1024) (num_proc=55): 100%|██████████| 55/55 [00:01<00:00, 27.78 examples/s]
Saving the dataset (0/1 shards): 0%| | 0/55 [00:00<?, ? examples/s]
Saving the dataset (0/1 shards): 100%|██████████| 55/55 [00:00<00:00, 55.98 examples/s]
Saving the dataset (1/1 shards): 100%|██████████| 55/55 [00:00<00:00, 55.98 examples/s]
Saving the dataset (1/1 shards): 100%|██████████| 55/55 [00:01<00:00, 52.22 examples/s][2026-08-19 07:36:00,753] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:418] [PID:4885] total_num_tokens: 101_239[2026-08-19 07:36:00,758] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:440] [PID:4885] total_supervised_tokens: 47_035[2026-08-19 07:36:02,786] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:4885] generate_batches time: 0.7816371917724609[2026-08-19 07:36:03,559] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:4885] generate_batches time: 0.772632360458374[2026-08-19 07:36:04,327] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:4885] generate_batches time: 0.7682921886444092[2026-08-19 07:36:05,065] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:4885] generate_batches time: 0.737464427947998[2026-08-19 07:36:05,088] [INFO] [axolotl.utils.samplers.multipack.calc_min_len:438] [PID:4885] gather_len_batches: [51][2026-08-19 07:36:05,088] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:497] [PID:4885] data_loader_len: 3[2026-08-19 07:36:05,088] [INFO] [axolotl.utils.trainer.calc_sample_packing_eff_est:506] [PID:4885] sample_packing_eff_est across ranks: [0.9692765778186274][2026-08-19 07:36:05,088] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:518] [PID:4885] sample_packing_eff_est: 0.97[2026-08-19 07:36:05,088] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:523] [PID:4885] total_num_steps: 3[2026-08-19 07:36:05,090] [INFO] [axolotl.utils.data.sft._prepare_standard_dataset:121] [PID:4885] Maximum number of steps set at 3[2026-08-19 07:36:05,142] [DEBUG] [axolotl.train.setup_model_and_tokenizer:70] [PID:4885] loading tokenizer... Qwen/Qwen3-8B[2026-08-19 07:36:06,399] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:311] [PID:4885] EOS: 151645 / <|im_end|>[2026-08-19 07:36:06,399] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:312] [PID:4885] BOS: None / None[2026-08-19 07:36:06,399] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:313] [PID:4885] PAD: 151643 / <|endoftext|>[2026-08-19 07:36:06,399] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:314] [PID:4885] UNK: None / None[2026-08-19 07:36:06,399] [DEBUG] [axolotl.train.setup_model_and_tokenizer:81] [PID:4885] Loading model[2026-08-19 07:36:06,552] [DEBUG] [axolotl.monkeypatch.torchao_optim.patch_torchao_optim_state_8bit:75] [PID:4885] Patched OptimState8bit for torch.compile compatibility[2026-08-19 07:36:06,552] [DEBUG] [axolotl.monkeypatch.torchao_optim.patch_torchao_optim_state_8bit:122] [PID:4885] Patched OptimState4bit for torch.compile compatibility[2026-08-19 07:36:06,552] [DEBUG] [axolotl.monkeypatch.torchao_optim.patch_torchao_optim_state_8bit:154] [PID:4885] Patched OptimStateFp8 for torch.compile compatibility[2026-08-19 07:36:06,558] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_evaluation_loop:94] [PID:4885] Patched Trainer.evaluation_loop with nanmean loss calculation[2026-08-19 07:36:06,559] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_maybe_log_save_evaluate:148] [PID:4885] Patched Trainer._maybe_log_save_evaluate with nanmean loss calculation[2026-08-19 07:36:08,501] [INFO] [axolotl.monkeypatch.lora_kernels.patch_self_attn_lora:339] [PID:4885] Patched attention class with LoRA optims: Qwen3Attention[2026-08-19 07:36:08,502] [INFO] [axolotl.loaders.patch_manager._apply_multipack_patches:812] [PID:4885] Applying multipack dataloader patch for sample packing...[2026-08-19 07:36:09,948] [INFO] [axolotl.integrations.liger.plugin.pre_model_load:145] [PID:4885] Applying LIGER to qwen3 with kwargs: {'rope': True, 'cross_entropy': None, 'fused_linear_cross_entropy': True, 'rms_norm': True, 'swiglu': True}
Fetching 5 files: 0%| | 0/5 [00:00<?, ?it/s]
Fetching 5 files: 20%|██ | 1/5 [00:14<00:59, 14.95s/it]
Fetching 5 files: 60%|██████ | 3/5 [00:15<00:10, 5.13s/it]
Fetching 5 files: 100%|██████████| 5/5 [00:16<00:00, 3.28s/it]
Fetching 5 files: 100%|██████████| 5/5 [00:16<00:00, 3.28s/it]
Loading weights: 0%| | 0/399 [00:00<?, ?it/s]
Loading weights: 100%|██████████| 399/399 [00:00<00:00, 9298.51it/s][2026-08-19 07:36:30,405] [INFO] [axolotl.loaders.model._configure_embedding_dtypes:472] [PID:4885] Converting modules to torch.bfloat16[2026-08-19 07:36:32,090] [DEBUG] [axolotl.loaders.model.log_gpu_memory_usage:127] [PID:4885] Memory usage after model load 0.000GB ()trainable params: 43,646,976 || all params: 8,234,382,336 || trainable%: 0.5301[2026-08-19 07:36:32,553] [DEBUG] [axolotl.loaders.model.log_gpu_memory_usage:127] [PID:4885] after adapters 0.000GB ()[2026-08-19 07:36:36,231] [INFO] [axolotl.train.save_initial_configs:474] [PID:4885] Pre-saving adapter config to ./checkpoints/sft/summariser...[2026-08-19 07:36:36,231] [INFO] [axolotl.train.save_initial_configs:478] [PID:4885] Pre-saving tokenizer to ./checkpoints/sft/summariser...[2026-08-19 07:36:36,301] [INFO] [axolotl.train.save_initial_configs:483] [PID:4885] Pre-saving model config to ./checkpoints/sft/summariser...[2026-08-19 07:36:36,304] [INFO] [axolotl.train.execute_training:226] [PID:4885] Starting trainer...[2026-08-19 07:36:38,569] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:4885] generate_batches time: 1.049872636795044[2026-08-19 07:36:39,602] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:4885] generate_batches time: 1.0332005023956299[2026-08-19 07:36:40,629] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:4885] generate_batches time: 1.0268054008483887[2026-08-19 07:36:41,639] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:4885] generate_batches time: 1.009711742401123[2026-08-19 07:36:41,639] [INFO] [axolotl.utils.samplers.multipack.calc_min_len:438] [PID:4885] gather_len_batches: [51]wandb: [wandb.login()] Loaded credentials for https://api.wandb.ai from WANDB_API_KEY.wandb: Currently logged in as: sourangshuai (sourangshuai-university-of-san-diego) to https://api.wandb.ai. Use `wandb login --relogin` to force reloginwandb: setting up run vkpd95ldwandb: Tracking run with wandb version 0.28.2wandb: Run data is saved locally in /root/medscript-ai/wandb/run-20260819_073642-vkpd95ldwandb: Run `wandb offline` to turn off syncing.wandb: Syncing run sft-summariserwandb: ⭐️ View project at https://wandb.ai/sourangshuai-university-of-san-diego/medscript-aiwandb: 🚀 View run at https://wandb.ai/sourangshuai-university-of-san-diego/medscript-ai/runs/vkpd95ldwandb: WARNING Saving files without folders. If you want to preserve subdirectories pass base_path to wandb.save, i.e. wandb.save("/mnt/folder/file.h5", base_path="/mnt")wandb: WARNING Symlinked 1 file into the W&B run directory; call wandb.save again to sync new files.[2026-08-19 07:36:44,915] [INFO] [axolotl.utils.callbacks.on_train_begin:807] [PID:4885] The Axolotl config has been saved to the WandB run under files.
0%| | 0/10 [00:00<?, ?it/s][2026-08-19 07:36:44,919] [INFO] [axolotl.core.trainers.base.evaluate:464] [PID:4885] Running evaluation step...
0%| | 0/27 [00:00<?, ?it/s][A
7%|▋ | 2/27 [00:00<00:02, 11.61it/s][A
15%|█▍ | 4/27 [00:00<00:03, 6.90it/s][A
19%|█▊ | 5/27 [00:00<00:03, 6.36it/s][A
22%|██▏ | 6/27 [00:00<00:03, 6.00it/s][A
26%|██▌ | 7/27 [00:01<00:03, 5.74it/s][A
30%|██▉ | 8/27 [00:01<00:03, 5.59it/s][A
33%|███▎ | 9/27 [00:01<00:03, 5.52it/s][A
37%|███▋ | 10/27 [00:01<00:03, 5.46it/s][A
41%|████ | 11/27 [00:01<00:02, 5.44it/s][A
44%|████▍ | 12/27 [00:02<00:02, 5.42it/s][A
48%|████▊ | 13/27 [00:02<00:02, 5.40it/s][A
52%|█████▏ | 14/27 [00:02<00:02, 5.39it/s][A
56%|█████▌ | 15/27 [00:02<00:02, 5.39it/s][A
59%|█████▉ | 16/27 [00:02<00:02, 5.38it/s][A
63%|██████▎ | 17/27 [00:03<00:01, 5.08it/s][A
67%|██████▋ | 18/27 [00:03<00:01, 5.23it/s][A
70%|███████ | 19/27 [00:03<00:01, 5.27it/s][A
74%|███████▍ | 20/27 [00:03<00:01, 5.30it/s][A
78%|███████▊ | 21/27 [00:03<00:01, 5.32it/s][A
81%|████████▏ | 22/27 [00:03<00:00, 5.33it/s][A
85%|████████▌ | 23/27 [00:04<00:00, 5.34it/s][A
89%|████████▉ | 24/27 [00:04<00:00, 5.35it/s][A
93%|█████████▎| 25/27 [00:04<00:00, 5.36it/s][A
96%|█████████▋| 26/27 [00:04<00:00, 5.36it/s][A
100%|██████████| 27/27 [00:04<00:00, 4.80it/s][A
[A{'eval_loss': '3.364', 'eval_runtime': '6.766', 'eval_samples_per_second': '8.129', 'eval_steps_per_second': '4.138', 'eval_ppl': '28.91', 'memory/max_active (GiB)': '18.34', 'memory/max_allocated (GiB)': '18.34', 'memory/device_reserved (GiB)': '18.37', 'epoch': 0}
0%| | 0/10 [00:06<?, ?it/s]
100%|██████████| 27/27 [00:04<00:00, 4.80it/s][A
[A
10%|█ | 1/10 [00:18<02:50, 18.98s/it]
20%|██ | 2/10 [00:28<01:47, 13.48s/it]
30%|███ | 3/10 [00:38<01:23, 11.91s/it]
40%|████ | 4/10 [00:40<00:47, 7.93s/it]
50%|█████ | 5/10 [00:51<00:45, 9.11s/it]
60%|██████ | 6/10 [01:01<00:37, 9.29s/it]
70%|███████ | 7/10 [01:11<00:28, 9.54s/it]
80%|████████ | 8/10 [01:13<00:14, 7.06s/it]
90%|█████████ | 9/10 [01:24<00:08, 8.28s/it]
100%|██████████| 10/10 [01:33<00:00, 8.70s/it]
{'loss': '2.415', 'grad_norm': '0.3792', 'learning_rate': '4.894e-06', 'ppl': '11.19', 'memory/max_active (GiB)': '16.77', 'memory/max_allocated (GiB)': '16.77', 'memory/device_reserved (GiB)': '18.86', 'tokens/trainable': 124036, 'tokens/total': 272384, 'epoch': '2.627'}
100%|██████████| 10/10 [01:33<00:00, 8.70s/it][2026-08-19 07:38:18,662] [INFO] [axolotl.core.trainers.base.evaluate:464] [PID:4885] Running evaluation step...
0%| | 0/27 [00:00<?, ?it/s][A
7%|▋ | 2/27 [00:00<00:02, 11.14it/s][A
15%|█▍ | 4/27 [00:00<00:03, 6.83it/s][A
19%|█▊ | 5/27 [00:00<00:03, 6.32it/s][A
22%|██▏ | 6/27 [00:00<00:03, 6.00it/s][A
26%|██▌ | 7/27 [00:01<00:03, 5.80it/s][A
30%|██▉ | 8/27 [00:01<00:03, 5.67it/s][A
33%|███▎ | 9/27 [00:01<00:03, 5.58it/s][A
37%|███▋ | 10/27 [00:01<00:03, 5.51it/s][A
41%|████ | 11/27 [00:01<00:02, 5.47it/s][A
44%|████▍ | 12/27 [00:02<00:02, 5.44it/s][A
48%|████▊ | 13/27 [00:02<00:02, 5.42it/s][A
52%|█████▏ | 14/27 [00:02<00:02, 5.41it/s][A
56%|█████▌ | 15/27 [00:02<00:02, 5.40it/s][A
59%|█████▉ | 16/27 [00:02<00:02, 5.39it/s][A
63%|██████▎ | 17/27 [00:03<00:02, 4.94it/s][A
67%|██████▋ | 18/27 [00:03<00:01, 5.16it/s][A
70%|███████ | 19/27 [00:03<00:01, 5.22it/s][A
74%|███████▍ | 20/27 [00:03<00:01, 5.27it/s][A
78%|███████▊ | 21/27 [00:03<00:01, 5.30it/s][A
81%|████████▏ | 22/27 [00:03<00:00, 5.32it/s][A
85%|████████▌ | 23/27 [00:04<00:00, 5.34it/s][A
89%|████████▉ | 24/27 [00:04<00:00, 5.35it/s][A
93%|█████████▎| 25/27 [00:04<00:00, 5.36it/s][A
96%|█████████▋| 26/27 [00:04<00:00, 5.36it/s][A
100%|██████████| 27/27 [00:04<00:00, 4.79it/s][A
[A{'eval_loss': '2.221', 'eval_runtime': '5.294', 'eval_samples_per_second': '10.39', 'eval_steps_per_second': '5.289', 'eval_ppl': '9.218', 'memory/max_active (GiB)': '18.67', 'memory/max_allocated (GiB)': '18.67', 'memory/device_reserved (GiB)': '19.45', 'epoch': '2.627'}
100%|██████████| 10/10 [01:39<00:00, 8.70s/it]
100%|██████████| 27/27 [00:04<00:00, 4.79it/s][A
[A[2026-08-19 07:38:23,961] [INFO] [axolotl.core.trainers.base._save:928] [PID:4885] Saving model checkpoint to ./checkpoints/sft/summariser/checkpoint-10
{'train_runtime': '103.9', 'train_samples_per_second': '3.081', 'train_steps_per_second': '0.096', 'train_loss': '2.415', 'memory/max_active (GiB)': '15.76', 'memory/max_allocated (GiB)': '15.76', 'memory/device_reserved (GiB)': '18.9', 'epoch': '2.627'}
100%|██████████| 10/10 [01:40<00:00, 8.70s/it]
100%|██████████| 10/10 [01:40<00:00, 10.09s/it]12323version https://git-lfs.github.com/spec/v1oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4size 11422654oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506size 11422650122456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214345678910118 unmodified lines2021222292302312322332324252627{ "add_bos_token": false, "add_prefix_space": false, "added_tokens_decoder": { "151643": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151644": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151645": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151646": { "content": "<|object_ref_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151647": { "content": "<|object_ref_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151648": { "content": "<|box_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151649": { "content": "<|box_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151650": { "content": "<|quad_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151651": { "content": "<|quad_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151652": { "content": "<|vision_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151653": { "content": "<|vision_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151654": { "content": "<|vision_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151655": { "content": "<|image_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151656": { "content": "<|video_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151657": { "content": "<tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151658": { "content": "</tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151659": { "content": "<|fim_prefix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151660": { "content": "<|fim_middle|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151661": { "content": "<|fim_suffix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151662": { "content": "<|fim_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151663": { "content": "<|repo_name|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151664": { "content": "<|file_sep|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151665": { "content": "<tool_response>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151666": { "content": "</tool_response>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151667": { "content": "<think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151668": { "content": "</think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false } }, "additional_special_tokens": [ "backend": "tokenizers", "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "extra_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>",8 unmodified lines "<|image_pad|>", "<|video_pad|>" ], "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "extra_special_tokens": {}, "is_local": false, "local_files_only": false, "model_max_length": 131072, "pad_token": "<|endoftext|>", "split_special_tokens": false,12323version https://git-lfs.github.com/spec/v1oid sha256:d0d32a45fd585e31235b24a37424872c01b2a2c0daa96f2b6a0750626ec867c1size 6481oid sha256:0e2766ab260d2c584352521ea8777eb7310a149e6806ae34e27014dae2b3b537size 13265adapter_config.json+10-14
adapter_model.safetensors+2-2
chat_template.jinja+74-14
config.jsonAdded+71
debug.logAdded+681
tokenizer.json+2-2
tokenizer_config.json+8-217
training_args.bin+2-2