qwen3-14b-math

58
14.0B
license:apache-2.0
by
winglian
Language Model
OTHER
14B params
New
58 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
32GB+ RAM
Mobile
Laptop
Server
Quick Summary

AI model with specialized capabilities.

Device Compatibility

Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
14GB+ RAM

Code Examples

torch_compile: trueyaml
base_model: Qwen/Qwen3-14B-Base

plugins:
  - axolotl.integrations.liger.LigerPlugin
  - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin

liger_rms_norm: true
liger_glu_activation: true

# torch_compile: true

dataloader_prefetch_factor: 4
dataloader_num_workers: 2
dataloader_pin_memory: true


chat_template: qwen3
datasets:
  - path: winglian/OpenThoughts-114k-math-correct
    type: chat_template
    split: train
    split_thinking: true
    eot_tokens:
      - "<|im_end|>"

dataset_prepared_path: last_run_prepared
val_set_size: 0.01
output_dir: ./outputs/model-out-math-14b

sequence_len: 8192
sample_packing: true
pad_to_sequence_len: true

wandb_project: kd-14b-tests
wandb_entity: axolotl-ai
wandb_name: sft-14b

gradient_accumulation_steps: 1
micro_batch_size: 4
num_epochs: 2
optimizer: adamw_torch_fused
adam_beta2: 0.99
lr_scheduler: rex
learning_rate: 1e-5
max_grad_norm: 0.1
save_safetensors: true

bf16: true
tf32: true

gradient_checkpointing: true
gradient_checkpointing_kwargs:
  use_reentrant: false
logging_steps: 1
flash_attention: true

warmup_steps: 100
evals_per_epoch: 4
saves_per_epoch: 1
weight_decay: 0.1
special_tokens:
  eos_token: <|im_end|>
deepspeed: deepspeed_configs/zero2_torch_compile.json
torch_compile: trueyaml
base_model: Qwen/Qwen3-14B-Base

plugins:
  - axolotl.integrations.liger.LigerPlugin
  - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin

liger_rms_norm: true
liger_glu_activation: true

# torch_compile: true

dataloader_prefetch_factor: 4
dataloader_num_workers: 2
dataloader_pin_memory: true


chat_template: qwen3
datasets:
  - path: winglian/OpenThoughts-114k-math-correct
    type: chat_template
    split: train
    split_thinking: true
    eot_tokens:
      - "<|im_end|>"

dataset_prepared_path: last_run_prepared
val_set_size: 0.01
output_dir: ./outputs/model-out-math-14b

sequence_len: 8192
sample_packing: true
pad_to_sequence_len: true

wandb_project: kd-14b-tests
wandb_entity: axolotl-ai
wandb_name: sft-14b

gradient_accumulation_steps: 1
micro_batch_size: 4
num_epochs: 2
optimizer: adamw_torch_fused
adam_beta2: 0.99
lr_scheduler: rex
learning_rate: 1e-5
max_grad_norm: 0.1
save_safetensors: true

bf16: true
tf32: true

gradient_checkpointing: true
gradient_checkpointing_kwargs:
  use_reentrant: false
logging_steps: 1
flash_attention: true

warmup_steps: 100
evals_per_epoch: 4
saves_per_epoch: 1
weight_decay: 0.1
special_tokens:
  eos_token: <|im_end|>
deepspeed: deepspeed_configs/zero2_torch_compile.json
torch_compile: trueyaml
base_model: Qwen/Qwen3-14B-Base

plugins:
  - axolotl.integrations.liger.LigerPlugin
  - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin

liger_rms_norm: true
liger_glu_activation: true

# torch_compile: true

dataloader_prefetch_factor: 4
dataloader_num_workers: 2
dataloader_pin_memory: true


chat_template: qwen3
datasets:
  - path: winglian/OpenThoughts-114k-math-correct
    type: chat_template
    split: train
    split_thinking: true
    eot_tokens:
      - "<|im_end|>"

dataset_prepared_path: last_run_prepared
val_set_size: 0.01
output_dir: ./outputs/model-out-math-14b

sequence_len: 8192
sample_packing: true
pad_to_sequence_len: true

wandb_project: kd-14b-tests
wandb_entity: axolotl-ai
wandb_name: sft-14b

gradient_accumulation_steps: 1
micro_batch_size: 4
num_epochs: 2
optimizer: adamw_torch_fused
adam_beta2: 0.99
lr_scheduler: rex
learning_rate: 1e-5
max_grad_norm: 0.1
save_safetensors: true

bf16: true
tf32: true

gradient_checkpointing: true
gradient_checkpointing_kwargs:
  use_reentrant: false
logging_steps: 1
flash_attention: true

warmup_steps: 100
evals_per_epoch: 4
saves_per_epoch: 1
weight_decay: 0.1
special_tokens:
  eos_token: <|im_end|>
deepspeed: deepspeed_configs/zero2_torch_compile.json

Deploy This Model

Production-ready deployment in minutes

Together.ai

Instant API access to this model

Fastest API

Production-ready inference API. Start free, scale to millions.

Try Free API

Replicate

One-click model deployment

Easiest Setup

Run models in the cloud with simple API. No DevOps required.

Deploy Now

Disclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.