Text Generation
Transformers
Safetensors
qwen3_5_moe
image-text-to-text
conversational
Eval Results
compressed-tensors
Instructions to use nex-agi/Nex-N2.5-Pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nex-agi/Nex-N2.5-Pro with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nex-agi/Nex-N2.5-Pro") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("nex-agi/Nex-N2.5-Pro") model = AutoModelForMultimodalLM.from_pretrained("nex-agi/Nex-N2.5-Pro", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use nex-agi/Nex-N2.5-Pro with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nex-agi/Nex-N2.5-Pro" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nex-agi/Nex-N2.5-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nex-agi/Nex-N2.5-Pro
- SGLang
How to use nex-agi/Nex-N2.5-Pro 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 "nex-agi/Nex-N2.5-Pro" \ --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": "nex-agi/Nex-N2.5-Pro", "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 "nex-agi/Nex-N2.5-Pro" \ --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": "nex-agi/Nex-N2.5-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use nex-agi/Nex-N2.5-Pro with Docker Model Runner:
docker model run hf.co/nex-agi/Nex-N2.5-Pro
Add community evaluation results
#3
by SaylorTwift HF Staff - opened
YAML Metadata Error:Invalid content in Eval Result file .eval_results/Nex-N2.5-Pro.yaml
Check out the documentation for more information.
Show details
Task ID "toolathlon_verified" does not match any task in dataset "hkust-nlp/Toolathlon". Available: none
.eval_results/Nex-N2.5-Pro.yaml
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: harborframework/terminal-bench-2.1
|
| 3 |
+
task_id: terminalbench_2_1
|
| 4 |
+
value: 82.7
|
| 5 |
+
date: "2026-09-11"
|
| 6 |
+
source:
|
| 7 |
+
url: https://huggingface.co/nex-agi/Nex-N2.5-Pro
|
| 8 |
+
name: "Nex-N2.5 model card"
|
| 9 |
+
notes: "NexAU harness."
|
| 10 |
+
|
| 11 |
+
- dataset:
|
| 12 |
+
id: ScaleAI/SWE-bench_Pro
|
| 13 |
+
task_id: SWE_Bench_Pro
|
| 14 |
+
value: 61.2
|
| 15 |
+
date: "2026-09-11"
|
| 16 |
+
source:
|
| 17 |
+
url: https://huggingface.co/nex-agi/Nex-N2.5-Pro
|
| 18 |
+
name: "Nex-N2.5 model card"
|
| 19 |
+
notes: "NexAU harness."
|
| 20 |
+
|
| 21 |
+
- dataset:
|
| 22 |
+
id: datacurve/deep-swe
|
| 23 |
+
task_id: deep_swe
|
| 24 |
+
value: 55.8
|
| 25 |
+
date: "2026-09-11"
|
| 26 |
+
source:
|
| 27 |
+
url: https://huggingface.co/nex-agi/Nex-N2.5-Pro
|
| 28 |
+
name: "Nex-N2.5 model card"
|
| 29 |
+
notes: "NexAU harness."
|
| 30 |
+
|
| 31 |
+
- dataset:
|
| 32 |
+
id: hkust-nlp/Toolathlon
|
| 33 |
+
task_id: toolathlon_verified
|
| 34 |
+
value: 68.5
|
| 35 |
+
date: "2026-09-11"
|
| 36 |
+
source:
|
| 37 |
+
url: https://huggingface.co/nex-agi/Nex-N2.5-Pro
|
| 38 |
+
name: "Nex-N2.5 model card"
|