Text Generation
Transformers
Safetensors
French
English
qwen3_5
image-text-to-text
nvfp4
fp8
modelopt
vllm
tool-calling
function-calling
agent
qwen3.8
devana
suite-366
conversational
8-bit precision
Run this model with HF Jobs
Run Devanaai/RaLLM-v2.4-NVFP4 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/Devanaai/RaLLM-v2.4-NVFP4. 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/Devanaai/RaLLM-v2.4-NVFP4 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/Devanaai/RaLLM-v2.4-NVFP4. 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 Devanaai/RaLLM-v2.4-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Devanaai/RaLLM-v2.4-NVFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Devanaai/RaLLM-v2.4-NVFP4") 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("Devanaai/RaLLM-v2.4-NVFP4") model = AutoModelForMultimodalLM.from_pretrained("Devanaai/RaLLM-v2.4-NVFP4", 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 Devanaai/RaLLM-v2.4-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Devanaai/RaLLM-v2.4-NVFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Devanaai/RaLLM-v2.4-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Devanaai/RaLLM-v2.4-NVFP4
- SGLang
How to use Devanaai/RaLLM-v2.4-NVFP4 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 "Devanaai/RaLLM-v2.4-NVFP4" \ --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": "Devanaai/RaLLM-v2.4-NVFP4", "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 "Devanaai/RaLLM-v2.4-NVFP4" \ --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": "Devanaai/RaLLM-v2.4-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Devanaai/RaLLM-v2.4-NVFP4 with Docker Model Runner:
docker model run hf.co/Devanaai/RaLLM-v2.4-NVFP4
Download eval/eval_report_base_bf16.json from Devanaai/RaLLM-v2.4-NVFP4: direct link, hf CLI and curl.
- Browser
- Download file 1.65 kB
-
https://huggingface.co/Devanaai/RaLLM-v2.4-NVFP4/resolve/main/eval/eval_report_base_bf16.json
- Command line
-
hf download hf://Devanaai/RaLLM-v2.4-NVFP4/eval/eval_report_base_bf16.json
-
curl -L -o eval_report_base_bf16.json https://huggingface.co/Devanaai/RaLLM-v2.4-NVFP4/resolve/main/eval/eval_report_base_bf16.json
1.65 kB
| { | |
| "model": "Qwen/Qwen3.8-27B", | |
| "served": "merged weights at full precision (bf16), vLLM 0.30, MTP speculative decoding (3 draft tokens)", | |
| "thinking": false, | |
| "next_step": { | |
| "n_steps": 200, | |
| "decision_ok": 0.91, | |
| "premature_stop_rate": 0.019, | |
| "over_call_rate": 0.168, | |
| "tools_exact": 0.65, | |
| "tools_overlap": 0.723, | |
| "args_valid": 0.99, | |
| "invalid_json_calls": 0, | |
| "premature_stop_by_depth": { | |
| "tour 1-2": { | |
| "n": 63, | |
| "rate": 0.016 | |
| }, | |
| "tour 3-5": { | |
| "n": 30, | |
| "rate": 0.0 | |
| }, | |
| "tour 6+": { | |
| "n": 12, | |
| "rate": 0.083 | |
| } | |
| }, | |
| "decision_ok_by_category": { | |
| "choix": { | |
| "n": 1, | |
| "rate": 1.0 | |
| }, | |
| "commercial": { | |
| "n": 1, | |
| "rate": 1.0 | |
| }, | |
| "conformite": { | |
| "n": 1, | |
| "rate": 1.0 | |
| }, | |
| "devana": { | |
| "n": 9, | |
| "rate": 1.0 | |
| }, | |
| "diwy": { | |
| "n": 2, | |
| "rate": 1.0 | |
| }, | |
| "ecosysteme": { | |
| "n": 6, | |
| "rate": 1.0 | |
| }, | |
| "general": { | |
| "n": 5, | |
| "rate": 1.0 | |
| }, | |
| "modules": { | |
| "n": 5, | |
| "rate": 1.0 | |
| }, | |
| "multi_tour": { | |
| "n": 3, | |
| "rate": 1.0 | |
| }, | |
| "suite366": { | |
| "n": 6, | |
| "rate": 1.0 | |
| }, | |
| "tools": { | |
| "n": 49, | |
| "rate": 0.837 | |
| }, | |
| "tools_long": { | |
| "n": 57, | |
| "rate": 0.982 | |
| }, | |
| "tools_proactif": { | |
| "n": 51, | |
| "rate": 0.843 | |
| }, | |
| "tools_sans_appel": { | |
| "n": 4, | |
| "rate": 0.75 | |
| } | |
| } | |
| }, | |
| "product": { | |
| "total": 15, | |
| "passed": 10, | |
| "failed": [ | |
| "brevet", | |
| "sharepoint", | |
| "prix", | |
| "devana", | |
| "editeur" | |
| ] | |
| }, | |
| "timing": { | |
| "prompt_tokens": 577793, | |
| "new_tokens": 39564, | |
| "seconds": 6665.2 | |
| }, | |
| "batch_size": 16, | |
| "batch_check": null, | |
| "max_steps": 200, | |
| "max_new_tokens": 700 | |
| } | |