Instructions to use finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-Coder-30B-A3B-Instruct") model = PeftModel.from_pretrained(base_model, "finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct") - Transformers
How to use finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct
- SGLang
How to use finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct 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 "finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct" \ --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": "finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct", "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 "finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct" \ --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": "finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct with Docker Model Runner:
docker model run hf.co/finalform/decompose_subtasks_Qwen3-Coder-30B-A3B-Instruct
File size: 1,519 Bytes
34152df | 1 2 3 4 5 6 7 8 9 10 | {"current_steps": 2, "total_steps": 15, "loss": 0.1392, "lr": 0.0004, "epoch": 0.4, "percentage": 13.33, "elapsed_time": "0:02:40", "remaining_time": "0:17:22"}
{"current_steps": 4, "total_steps": 15, "loss": 0.0764, "lr": 0.00036923076923076927, "epoch": 0.8, "percentage": 26.67, "elapsed_time": "0:04:14", "remaining_time": "0:11:39"}
{"current_steps": 6, "total_steps": 15, "loss": 0.0168, "lr": 0.0003076923076923077, "epoch": 1.2, "percentage": 40.0, "elapsed_time": "0:05:48", "remaining_time": "0:08:43"}
{"current_steps": 8, "total_steps": 15, "loss": 0.0125, "lr": 0.0002461538461538462, "epoch": 1.6, "percentage": 53.33, "elapsed_time": "0:07:15", "remaining_time": "0:06:20"}
{"current_steps": 10, "total_steps": 15, "loss": 0.0151, "lr": 0.00018461538461538463, "epoch": 2.0, "percentage": 66.67, "elapsed_time": "0:08:27", "remaining_time": "0:04:13"}
{"current_steps": 10, "total_steps": 15, "eval_loss": 0.011018680408596992, "epoch": 2.0, "percentage": 66.67, "elapsed_time": "0:09:36", "remaining_time": "0:04:48"}
{"current_steps": 12, "total_steps": 15, "loss": 0.0075, "lr": 0.0001230769230769231, "epoch": 2.4, "percentage": 80.0, "elapsed_time": "0:12:40", "remaining_time": "0:03:10"}
{"current_steps": 14, "total_steps": 15, "loss": 0.0061, "lr": 6.153846153846155e-05, "epoch": 2.8, "percentage": 93.33, "elapsed_time": "0:14:13", "remaining_time": "0:01:00"}
{"current_steps": 15, "total_steps": 15, "epoch": 3.0, "percentage": 100.0, "elapsed_time": "0:16:29", "remaining_time": "0:00:00"}
|