Instructions to use tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70") model = AutoModelForCausalLM.from_pretrained("tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70
- SGLang
How to use tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70 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 "tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70" \ --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": "tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70", "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 "tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70" \ --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": "tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70 with Docker Model Runner:
docker model run hf.co/tomhu/Qwen3-Coder-Next-SWE-Prune-REAP-70
Add files using upload-large-folder tool
Browse files
model-00011-of-00040.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a84bbb13af1a8cb9929c37d627e36bef0098d39926da0dfeb0d839ad1334e157
|
| 3 |
+
size 1289663752
|
model-00013-of-00040.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96e3de0656e27f89cce70d54cb1f83ff4bee0eafc1ae0f6d941b237e70ea4e18
|
| 3 |
+
size 1265298800
|
model-00020-of-00040.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38934199047bd7ef01280d441c2cea09359cc2de904efba07fb58932c8b81824
|
| 3 |
+
size 1276753656
|
model-00032-of-00040.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:424b2359e627b2ef7d16ebfd1b6d3426ffc521d2facd41da6b5d3cd5b1f12b0a
|
| 3 |
+
size 1265625304
|
model-00038-of-00040.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5a73fd6726d9f8f2465648e3124abb155385759ea6b023890c1432d65d064f4
|
| 3 |
+
size 1259333504
|