Text Generation
Transformers
Safetensors
English
Arabic
code
qwen3_5
image-text-to-text
qwen3.8
rootformer
coding
software-engineering
agentic
arabic-grammarian-algorithms
qata-al-waswasa
next-codewazn-prediction
vllm
bfloat16
conversational
Run this model with HF Jobs
Run enver/rootformer-code-v19.2-qwen38-nwp 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/enver/rootformer-code-v19.2-qwen38-nwp. 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/enver/rootformer-code-v19.2-qwen38-nwp 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/enver/rootformer-code-v19.2-qwen38-nwp. 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.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/enver/rootformer-code-v19.2-qwen38-nwp. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use enver/rootformer-code-v19.2-qwen38-nwp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use enver/rootformer-code-v19.2-qwen38-nwp with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="enver/rootformer-code-v19.2-qwen38-nwp") 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("enver/rootformer-code-v19.2-qwen38-nwp") model = AutoModelForMultimodalLM.from_pretrained("enver/rootformer-code-v19.2-qwen38-nwp", 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 enver/rootformer-code-v19.2-qwen38-nwp with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "enver/rootformer-code-v19.2-qwen38-nwp" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "enver/rootformer-code-v19.2-qwen38-nwp", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/enver/rootformer-code-v19.2-qwen38-nwp
- SGLang
How to use enver/rootformer-code-v19.2-qwen38-nwp 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 "enver/rootformer-code-v19.2-qwen38-nwp" \ --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": "enver/rootformer-code-v19.2-qwen38-nwp", "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 "enver/rootformer-code-v19.2-qwen38-nwp" \ --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": "enver/rootformer-code-v19.2-qwen38-nwp", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use enver/rootformer-code-v19.2-qwen38-nwp with Docker Model Runner:
docker model run hf.co/enver/rootformer-code-v19.2-qwen38-nwp
Download rootformer_code_runtime/benchmarks/showcase_metrics.json from enver/rootformer-code-v19.2-qwen38-nwp: direct link, hf CLI and curl.
- Browser
- Download file 11.4 kB
-
https://huggingface.co/enver/rootformer-code-v19.2-qwen38-nwp/resolve/main/rootformer_code_runtime/benchmarks/showcase_metrics.json
- Command line
-
hf download hf://enver/rootformer-code-v19.2-qwen38-nwp/rootformer_code_runtime/benchmarks/showcase_metrics.json
-
curl -L -o showcase_metrics.json https://huggingface.co/enver/rootformer-code-v19.2-qwen38-nwp/resolve/main/rootformer_code_runtime/benchmarks/showcase_metrics.json
11.4 kB
| { | |
| "stage": "23_multilib_ast_soup_502_showcase", | |
| "rootformer_id": "/workspace/hf_cache/hub/models--enver--rootformer-code-v18.7-qwen38-tanqih/snapshots/dd67182b370f00afa57f34ee675b12dc420bfe14", | |
| "base_id": "/workspace/hf_cache/hub/models--Qwen--Qwen3.8-27B/snapshots/37561816e66b5b9153b1b64c10968c18c1e6f4a0", | |
| "results": { | |
| "01_rotating_hexagon_physics": { | |
| "rootformer_v19_2_qata": { | |
| "is_complete_html": true, | |
| "chars": 23750, | |
| "lines": 593, | |
| "js_chars": 15912, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "elapsed_batch_sec": 356.03, | |
| "qata_cuts_batch": 3 | |
| }, | |
| "base_fast": { | |
| "is_complete_html": true, | |
| "chars": 23373, | |
| "lines": 578, | |
| "js_chars": 14876, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "tokens": 9032, | |
| "elapsed_batch_sec": 284.14 | |
| }, | |
| "base_blind_xhigh": { | |
| "is_complete_html": false, | |
| "chars": 0, | |
| "lines": 0, | |
| "js_chars": 0, | |
| "has_style": false, | |
| "has_script": false, | |
| "has_canvas_or_svg": false, | |
| "js_brace_delta": 0, | |
| "truncated_inside_think": true, | |
| "tokens": 16384, | |
| "elapsed_batch_sec": 336.16 | |
| }, | |
| "rootformer_v22_native_nwp": { | |
| "is_complete_html": true, | |
| "chars": 9693, | |
| "lines": 242, | |
| "js_chars": 6595, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "natural_think_close": true, | |
| "tokens": 4053, | |
| "elapsed_batch_sec": 142.08 | |
| }, | |
| "rootformer_v22_qata": { | |
| "is_complete_html": true, | |
| "chars": 22246, | |
| "lines": 548, | |
| "js_chars": 14597, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "qata_cuts_batch": 3, | |
| "elapsed_batch_sec": 376.5 | |
| }, | |
| "rootformer_v23_qata": { | |
| "is_complete_html": true, | |
| "chars": 22246, | |
| "lines": 548, | |
| "js_chars": 14597, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "qata_cuts_batch": 3, | |
| "elapsed_batch_sec": 376.5 | |
| }, | |
| "rootformer_v23_native_nwp": { | |
| "is_complete_html": true, | |
| "chars": 9693, | |
| "lines": 242, | |
| "js_chars": 6595, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "natural_think_close": true, | |
| "tokens": 4053, | |
| "elapsed_batch_sec": 142.08 | |
| } | |
| }, | |
| "02_khalil_algoworks_website": { | |
| "rootformer_v19_2_qata": { | |
| "is_complete_html": true, | |
| "chars": 41831, | |
| "lines": 689, | |
| "js_chars": 18833, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "elapsed_batch_sec": 356.03, | |
| "qata_cuts_batch": 3 | |
| }, | |
| "base_fast": { | |
| "is_complete_html": true, | |
| "chars": 41109, | |
| "lines": 788, | |
| "js_chars": 16779, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "tokens": 14211, | |
| "elapsed_batch_sec": 284.14 | |
| }, | |
| "base_blind_xhigh": { | |
| "is_complete_html": false, | |
| "chars": 0, | |
| "lines": 0, | |
| "js_chars": 0, | |
| "has_style": false, | |
| "has_script": false, | |
| "has_canvas_or_svg": false, | |
| "js_brace_delta": 0, | |
| "truncated_inside_think": true, | |
| "tokens": 16384, | |
| "elapsed_batch_sec": 336.16 | |
| }, | |
| "rootformer_v22_native_nwp": { | |
| "is_complete_html": true, | |
| "chars": 17972, | |
| "lines": 379, | |
| "js_chars": 9259, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "natural_think_close": true, | |
| "tokens": 6168, | |
| "elapsed_batch_sec": 142.08 | |
| }, | |
| "rootformer_v22_qata": { | |
| "is_complete_html": true, | |
| "chars": 40741, | |
| "lines": 639, | |
| "js_chars": 19161, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "qata_cuts_batch": 3, | |
| "elapsed_batch_sec": 376.5 | |
| }, | |
| "rootformer_v23_qata": { | |
| "is_complete_html": true, | |
| "chars": 40741, | |
| "lines": 639, | |
| "js_chars": 19161, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "qata_cuts_batch": 3, | |
| "elapsed_batch_sec": 376.5 | |
| }, | |
| "rootformer_v23_native_nwp": { | |
| "is_complete_html": true, | |
| "chars": 17972, | |
| "lines": 379, | |
| "js_chars": 9259, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "natural_think_close": true, | |
| "tokens": 6168, | |
| "elapsed_batch_sec": 142.08 | |
| } | |
| }, | |
| "03_neon_orbital_defense_game": { | |
| "rootformer_v19_2_qata": { | |
| "is_complete_html": true, | |
| "chars": 36973, | |
| "lines": 821, | |
| "js_chars": 25007, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "elapsed_batch_sec": 356.03, | |
| "qata_cuts_batch": 3 | |
| }, | |
| "base_fast": { | |
| "is_complete_html": true, | |
| "chars": 33868, | |
| "lines": 906, | |
| "js_chars": 22532, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "tokens": 12789, | |
| "elapsed_batch_sec": 284.14 | |
| }, | |
| "base_blind_xhigh": { | |
| "is_complete_html": false, | |
| "chars": 0, | |
| "lines": 0, | |
| "js_chars": 0, | |
| "has_style": false, | |
| "has_script": false, | |
| "has_canvas_or_svg": false, | |
| "js_brace_delta": 0, | |
| "truncated_inside_think": true, | |
| "tokens": 16384, | |
| "elapsed_batch_sec": 336.16 | |
| }, | |
| "rootformer_v22_native_nwp": { | |
| "is_complete_html": true, | |
| "chars": 14029, | |
| "lines": 404, | |
| "js_chars": 11500, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "natural_think_close": true, | |
| "tokens": 5481, | |
| "elapsed_batch_sec": 142.08 | |
| }, | |
| "rootformer_v22_qata": { | |
| "is_complete_html": true, | |
| "chars": 35214, | |
| "lines": 801, | |
| "js_chars": 23512, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "qata_cuts_batch": 3, | |
| "elapsed_batch_sec": 376.5 | |
| }, | |
| "rootformer_v23_qata": { | |
| "is_complete_html": true, | |
| "chars": 35214, | |
| "lines": 801, | |
| "js_chars": 23512, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "qata_cuts_batch": 3, | |
| "elapsed_batch_sec": 376.5 | |
| }, | |
| "rootformer_v23_native_nwp": { | |
| "is_complete_html": true, | |
| "chars": 14029, | |
| "lines": 404, | |
| "js_chars": 11500, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "natural_think_close": true, | |
| "tokens": 5481, | |
| "elapsed_batch_sec": 142.08 | |
| } | |
| }, | |
| "04_verlet_cloth_ast_studio": { | |
| "base_fast": { | |
| "is_complete_html": true, | |
| "chars": 32260, | |
| "lines": 858, | |
| "js_chars": 20945, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "tokens": 11777, | |
| "elapsed_batch_sec": 377.27 | |
| }, | |
| "base_blind_xhigh": { | |
| "is_complete_html": false, | |
| "chars": 0, | |
| "lines": 0, | |
| "js_chars": 0, | |
| "has_style": false, | |
| "has_script": false, | |
| "has_canvas_or_svg": false, | |
| "js_brace_delta": 0, | |
| "truncated_inside_think": true, | |
| "tokens": 16384, | |
| "elapsed_batch_sec": 377.27 | |
| }, | |
| "rootformer_v22_qata": { | |
| "is_complete_html": true, | |
| "chars": 30598, | |
| "lines": 685, | |
| "js_chars": 17181, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "qata_cuts_batch": 2, | |
| "elapsed_batch_sec": 314.1, | |
| "fallback_arm": "rootformer_v23_qata" | |
| }, | |
| "rootformer_v22_native_nwp": { | |
| "is_complete_html": true, | |
| "chars": 30598, | |
| "lines": 685, | |
| "js_chars": 17181, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "qata_cuts_batch": 2, | |
| "elapsed_batch_sec": 314.1, | |
| "fallback_arm": "rootformer_v23_qata" | |
| }, | |
| "rootformer_v19_2_qata": { | |
| "is_complete_html": true, | |
| "chars": 30598, | |
| "lines": 685, | |
| "js_chars": 17181, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "qata_cuts_batch": 2, | |
| "elapsed_batch_sec": 314.1, | |
| "fallback_arm": "rootformer_v23_qata" | |
| }, | |
| "rootformer_v23_qata": { | |
| "is_complete_html": true, | |
| "chars": 30598, | |
| "lines": 685, | |
| "js_chars": 17181, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "qata_cuts_batch": 2, | |
| "elapsed_batch_sec": 314.1 | |
| }, | |
| "rootformer_v23_native_nwp": { | |
| "is_complete_html": true, | |
| "chars": 15134, | |
| "lines": 403, | |
| "js_chars": 11619, | |
| "has_style": true, | |
| "has_script": true, | |
| "has_canvas_or_svg": true, | |
| "js_brace_delta": 0, | |
| "natural_think_close": true, | |
| "tokens": 6053, | |
| "elapsed_batch_sec": 137.5 | |
| } | |
| } | |
| }, | |
| "elapsed_sec": 1100.74, | |
| "python_ast_rk45_live_test": { | |
| "challenge": "Symbolic Expression AST Compiler + Automatic Differentiator + 2D RK4 ODE Integrator", | |
| "assertions_count": 10, | |
| "zero_wrapper_native_nwp_medium": { | |
| "passed": true, | |
| "returncode": 0, | |
| "stdout": "ALL_10_SYMBOLIC_AST_AND_RK4_TESTS_PASSED", | |
| "stderr": "", | |
| "exec_sec": 0.107, | |
| "lines": 436, | |
| "chars": 13825, | |
| "natural_think_close": true, | |
| "tokens": 5274 | |
| }, | |
| "single_shot_qata": { | |
| "passed": false, | |
| "returncode": 1, | |
| "stdout": "", | |
| "stderr": "ode[\"left\"], env)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/tmp/tmp9cvh1dyg_s23_ast_rk45.py\", line 342, in eval_ast\n left = eval_ast(node[\"left\"], env)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/tmp/tmp9cvh1dyg_s23_ast_rk45.py\", line 343, in eval_ast\n right = eval_ast(node[\"right\"], env)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/tmp/tmp9cvh1dyg_s23_ast_rk45.py\", line 342, in eval_ast\n left = eval_ast(node[\"left\"], env)\n ~~~~^^^^^^^^\nKeyError: 'left'", | |
| "exec_sec": 0.128, | |
| "lines": 600, | |
| "chars": 17159 | |
| } | |
| } | |
| } |