Run this model with HF Jobs
Run jackhan-amd/Raon-1-mini-preview-MXFP4 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/jackhan-amd/Raon-1-mini-preview-MXFP4. 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/jackhan-amd/Raon-1-mini-preview-MXFP4 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/jackhan-amd/Raon-1-mini-preview-MXFP4. 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 jackhan-amd/Raon-1-mini-preview-MXFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jackhan-amd/Raon-1-mini-preview-MXFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jackhan-amd/Raon-1-mini-preview-MXFP4", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("jackhan-amd/Raon-1-mini-preview-MXFP4", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jackhan-amd/Raon-1-mini-preview-MXFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jackhan-amd/Raon-1-mini-preview-MXFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jackhan-amd/Raon-1-mini-preview-MXFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jackhan-amd/Raon-1-mini-preview-MXFP4
- SGLang
How to use jackhan-amd/Raon-1-mini-preview-MXFP4 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 "jackhan-amd/Raon-1-mini-preview-MXFP4" \ --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": "jackhan-amd/Raon-1-mini-preview-MXFP4", "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 "jackhan-amd/Raon-1-mini-preview-MXFP4" \ --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": "jackhan-amd/Raon-1-mini-preview-MXFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use jackhan-amd/Raon-1-mini-preview-MXFP4 with Docker Model Runner:
docker model run hf.co/jackhan-amd/Raon-1-mini-preview-MXFP4
Raon-1-mini-preview MXFP4
This repository contains an experimental AMD Quark MXFP4 checkpoint derived from
KRAFTON/Raon-1-mini-preview,
revision 1b4f494d71dff50318288309f64c72aa8c11340e.
The original model's LICENSE is preserved in this repository and applies to its use.
Quantization
The routed MoE weights and corresponding dynamic input activations use MXFP4
(W4A4), with group size 32 and E8M0 scales. The checkpoint uses the Quark
quantization format (quant_method: quark). Attention, shared-expert, embedding,
normalization, and other excluded modules retain their configured higher
precision. This is a mixed-precision checkpoint; attention is not claimed to be
entirely 4-bit. See config.json for the authoritative quantization settings and
exclusion list.
Conversion used AMD Quark and the supporting
quanto workflow.
The checkpoint contains seven safetensors shards and the original model's
configuration, tokenizer, chat template, and custom modeling code.
Review the custom code before enabling trust_remote_code.
Runtime status
The development runtime is
vllm-rocm-raon, branch rocm-raon,
with loader work at commit 4a874884ab2355775658e4f70cd2ddf5538bc4e0.
Checkpoint loading has been exercised in that development environment.
End-to-end quality, MMLU accuracy, and performance gains have not been established.
This repository makes no benchmark-pass or speedup claim.
The unmodified original model's documentation should be consulted for intended use, limitations, tokenizer behavior, and licensing requirements.
- Downloads last month
- 48
Model tree for jackhan-amd/Raon-1-mini-preview-MXFP4
Base model
KRAFTON/Raon-1-mini-preview