Run this model with HF Jobs
Run QuantTrio/Qwen3-Coder-Next-E400 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 and TRL to fine-tune https://huggingface.co/QuantTrio/Qwen3-Coder-Next-E400. 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/QuantTrio/Qwen3-Coder-Next-E400 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/QuantTrio/Qwen3-Coder-Next-E400. 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.
Instructions to use QuantTrio/Qwen3-Coder-Next-E400 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantTrio/Qwen3-Coder-Next-E400 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="QuantTrio/Qwen3-Coder-Next-E400") 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("QuantTrio/Qwen3-Coder-Next-E400") model = AutoModelForCausalLM.from_pretrained("QuantTrio/Qwen3-Coder-Next-E400", 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 QuantTrio/Qwen3-Coder-Next-E400 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QuantTrio/Qwen3-Coder-Next-E400" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuantTrio/Qwen3-Coder-Next-E400", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/QuantTrio/Qwen3-Coder-Next-E400
- SGLang
How to use QuantTrio/Qwen3-Coder-Next-E400 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 "QuantTrio/Qwen3-Coder-Next-E400" \ --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": "QuantTrio/Qwen3-Coder-Next-E400", "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 "QuantTrio/Qwen3-Coder-Next-E400" \ --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": "QuantTrio/Qwen3-Coder-Next-E400", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use QuantTrio/Qwen3-Coder-Next-E400 with Docker Model Runner:
docker model run hf.co/QuantTrio/Qwen3-Coder-Next-E400
Add files using upload-large-folder tool
Browse filesFiles changed (20)
- model-00002-of-00042.safetensorsAdded+3
- model-00003-of-00042.safetensorsAdded+3
- model-00004-of-00042.safetensorsAdded+3
- model-00005-of-00042.safetensorsAdded+3
- model-00006-of-00042.safetensorsAdded+3
- model-00007-of-00042.safetensorsAdded+3
- model-00008-of-00042.safetensorsAdded+3
- model-00009-of-00042.safetensorsAdded+3
- model-00010-of-00042.safetensorsAdded+3
- model-00011-of-00042.safetensorsAdded+3
- model-00012-of-00042.safetensorsAdded+3
- model-00013-of-00042.safetensorsAdded+3
- model-00014-of-00042.safetensorsAdded+3
- model-00015-of-00042.safetensorsAdded+3
- model-00016-of-00042.safetensorsAdded+3
- model-00017-of-00042.safetensorsAdded+3
- model-00018-of-00042.safetensorsAdded+3
- model-00039-of-00042.safetensorsAdded+3
- model-00040-of-00042.safetensorsAdded+3
- model-00041-of-00042.safetensorsAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:06ba1405e4072cd6c6a6241a36f7681e64571726538d64ae9966409667c8e5f7size 2998523672123version https://git-lfs.github.com/spec/v1oid sha256:4e1d9e80f0f66a8377b908f75c74a86fa2bdfaf60e13c7e3c9c42add8550767bsize 2998198784123version https://git-lfs.github.com/spec/v1oid sha256:48cbc7e498c177af2f7cfde07edd468c65bdc66cd8fd30d0226dea2a7cae45c4size 2998522160123version https://git-lfs.github.com/spec/v1oid sha256:cbc9b9db3831debc16f5281dbff42faf5727c363a9fb68dbbfc3262c0aa4adbasize 2998523704123version https://git-lfs.github.com/spec/v1oid sha256:bf348597ed35c06ad702c3ef3f555c56ffc0690c1c81d0ea7d718c02661ad0c2size 2998523600123version https://git-lfs.github.com/spec/v1oid sha256:a95ee075601eac4d43544855421465f065c1c645d2cb467a51cffc606efb23b9size 2999714360123version https://git-lfs.github.com/spec/v1oid sha256:fddd9e066f9e314071e4ad8177f9f4f389c1a693fad0b5d4ff5886cdc06245bdsize 2998523680123version https://git-lfs.github.com/spec/v1oid sha256:86f0b9996a9f39d99681695f6416e3f998fe9a1dea1e3814411fb57e67b4c9c0size 2998524256123version https://git-lfs.github.com/spec/v1oid sha256:a8080a225672618a5f845eff7434fd276cc4bc1cf9c25fce0f729402e4f39165size 2998200216123version https://git-lfs.github.com/spec/v1oid sha256:17faceb5ea80df404719d1ded91418b9993e048ac9f6a132efe6efccdce3019fsize 2998523544123version https://git-lfs.github.com/spec/v1oid sha256:bcbb6edf3169a0ad1102a16813d543d3e76a8ef447356832f84a8664c064998csize 2998525072123version https://git-lfs.github.com/spec/v1oid sha256:eb733f5dcde1607bee054c7e9def2b11072bd9c8ee28779c0b20cc6bd9af0571size 2999717272123version https://git-lfs.github.com/spec/v1oid sha256:75fc720a5f92d83429068125e70ac158442db2235998c81a11c516b5366ee71fsize 2998523552123version https://git-lfs.github.com/spec/v1oid sha256:948a9dee90a3a5dcb6500407f2dd7988984af7a8c0d9bab61822d6ad3f91c4cesize 2998525080123version https://git-lfs.github.com/spec/v1oid sha256:774c9f799daa76d16badd71e0917a2c47fd47dee2ff19531161a44a77e5a50d3size 2998525088123version https://git-lfs.github.com/spec/v1oid sha256:b5c50f19481862e5b986ffffc490483b44000119f070a512797742dede41e065size 2998200216123version https://git-lfs.github.com/spec/v1oid sha256:88fc065721dcd5432b02888982ffae6bff43f6acbe1a674358235bbced44d7ecsize 2998523632123version https://git-lfs.github.com/spec/v1oid sha256:90c27db5069b5678e729b6ae1fce4b6de1710624b129e197da3457d532933283size 2998852416123version https://git-lfs.github.com/spec/v1oid sha256:631267268811b6499b52da8970d8df5903e7680bb54e0636d8310928abccf8fbsize 2998525088123version https://git-lfs.github.com/spec/v1oid sha256:6204789302998adf62113950578c23a1dd3f555d75c4dd3fa774862ea29dcdfasize 2998200216model-00002-of-00042.safetensorsAdded+3
model-00003-of-00042.safetensorsAdded+3
model-00004-of-00042.safetensorsAdded+3
model-00005-of-00042.safetensorsAdded+3
model-00006-of-00042.safetensorsAdded+3
model-00007-of-00042.safetensorsAdded+3
model-00008-of-00042.safetensorsAdded+3
model-00009-of-00042.safetensorsAdded+3
model-00010-of-00042.safetensorsAdded+3
model-00011-of-00042.safetensorsAdded+3
model-00012-of-00042.safetensorsAdded+3
model-00013-of-00042.safetensorsAdded+3
model-00014-of-00042.safetensorsAdded+3
model-00015-of-00042.safetensorsAdded+3
model-00016-of-00042.safetensorsAdded+3
model-00017-of-00042.safetensorsAdded+3
model-00018-of-00042.safetensorsAdded+3
model-00039-of-00042.safetensorsAdded+3
model-00040-of-00042.safetensorsAdded+3
model-00041-of-00042.safetensorsAdded+3