Instructions to use locodoco/qwen3-14b-base-ecb-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use locodoco/qwen3-14b-base-ecb-sft with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="locodoco/qwen3-14b-base-ecb-sft") 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("locodoco/qwen3-14b-base-ecb-sft") model = AutoModelForCausalLM.from_pretrained("locodoco/qwen3-14b-base-ecb-sft", 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 locodoco/qwen3-14b-base-ecb-sft with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "locodoco/qwen3-14b-base-ecb-sft" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "locodoco/qwen3-14b-base-ecb-sft", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/locodoco/qwen3-14b-base-ecb-sft
- SGLang
How to use locodoco/qwen3-14b-base-ecb-sft 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 "locodoco/qwen3-14b-base-ecb-sft" \ --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": "locodoco/qwen3-14b-base-ecb-sft", "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 "locodoco/qwen3-14b-base-ecb-sft" \ --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": "locodoco/qwen3-14b-base-ecb-sft", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use locodoco/qwen3-14b-base-ecb-sft with Docker Model Runner:
docker model run hf.co/locodoco/qwen3-14b-base-ecb-sft
Qwen3-14B-Base ECB SFT
Qwen/Qwen3-14B-Base fine-tuned on two-role multi-turn math conversations. It is the starting point of the I-Flow RL run published as locodoco/iflow-subtb-14b-64gpu-1332645-step200.
The model plays two roles:
- Meta-think agent: starts each turn with one action tag (
<action>exploration</action>,continue,backtracking,verification,finalizeoridle) and an instruction. It does not do the detailed math. - Reasoning agent: follows the instruction and carries out that step of the derivation.
Training
- Data: 2,332 conversations, built from 816 LIMO problems. There are 1,166 meta-think-agent transcripts and 1,166 reasoning-agent transcripts. Each one has a system prompt and alternating user and assistant turns.
- Recipe: verl
fsdp_sft_trainerwith multi-turn loss, max length 5,120 tokens, batch 8, learning rate 1e-5 with no warmup, 3 epochs (873 steps), bf16, gradient checkpointing. - Hardware: 1 node x 4 NVIDIA GH200, 53 minutes.
- Loss: the last step's training loss was 0.136. The loss over the whole training file after training was 0.225. There was no held-out split.
- Chat template: plain ChatML, the template of the earlier 7B ECB model. The Qwen3 template would insert or strip
<think>blocks in multi-turn chats.eosis<|im_end|>(151645) andpadis<|endoftext|>(151643).
Files
The weights are 7 bf16 safetensors shards (29.6 GB), merged from the FSDP checkpoint with verl.model_merger.
Tokenizer and chat template are included.
Usage
The model loads with transformers as Qwen3ForCausalLM. The two system prompts and the controller that
alternates the roles are part of the I-Flow/ReMA research code and are not included.
Limitations
- No benchmark evaluation of this SFT model by itself. See the RL model's card for validation results after RL.
License
Apache-2.0, the license of Qwen3-14B-Base. The LIMO problems have their own terms.
- Downloads last month
- 29