Text Generation
Transformers
Safetensors
Korean
qwen3
rlvr
reasoning
countdown
conversational
text-generation-inference
Instructions to use NotoriousH2/Qwen3-4B-Countdown-RLVR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NotoriousH2/Qwen3-4B-Countdown-RLVR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NotoriousH2/Qwen3-4B-Countdown-RLVR") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("NotoriousH2/Qwen3-4B-Countdown-RLVR") model = AutoModelForCausalLM.from_pretrained("NotoriousH2/Qwen3-4B-Countdown-RLVR", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use NotoriousH2/Qwen3-4B-Countdown-RLVR with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NotoriousH2/Qwen3-4B-Countdown-RLVR" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NotoriousH2/Qwen3-4B-Countdown-RLVR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NotoriousH2/Qwen3-4B-Countdown-RLVR
- SGLang
How to use NotoriousH2/Qwen3-4B-Countdown-RLVR 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 "NotoriousH2/Qwen3-4B-Countdown-RLVR" \ --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": "NotoriousH2/Qwen3-4B-Countdown-RLVR", "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 "NotoriousH2/Qwen3-4B-Countdown-RLVR" \ --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": "NotoriousH2/Qwen3-4B-Countdown-RLVR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use NotoriousH2/Qwen3-4B-Countdown-RLVR with Docker Model Runner:
docker model run hf.co/NotoriousH2/Qwen3-4B-Countdown-RLVR
| { | |
| "format_version": 2, | |
| "adapter": { | |
| "sha256": "26ca25a2e43806bf1e4f766993d5bb1b811e7e136d317846953f1bc93b6937c6", | |
| "files": [ | |
| { | |
| "path": "adapter_config.json", | |
| "bytes": 1146, | |
| "sha256": "40e247aa0283b9c87d0012a5879e2ab124547c7189c2f4b041c81d37aa390a35" | |
| }, | |
| { | |
| "path": "adapter_model.safetensors", | |
| "bytes": 132187888, | |
| "sha256": "09d8fdd69ae8cf5831192caf9c0101052d9f4d28314f90ef7a9d5e0c3dd2735a" | |
| } | |
| ] | |
| }, | |
| "base_model": { | |
| "model_id": "Qwen/Qwen3-4B", | |
| "format_version": 1, | |
| "sha256": "4021473f68a8794c8bba380119edf57d342c42c09d1ccd463b90ae8f31df6609", | |
| "files": [ | |
| { | |
| "path": "config.json", | |
| "bytes": 726, | |
| "sha256": "8ba006f74fecfaaeb392872a60f4a480e7ec9860153d2e1b769ec81f9a147f8a" | |
| }, | |
| { | |
| "path": "generation_config.json", | |
| "bytes": 239, | |
| "sha256": "2325da0f15bb848e018c5ae071b7943332e9f871d6b60e2ed22ca97d4cb993d2" | |
| }, | |
| { | |
| "path": "merges.txt", | |
| "bytes": 1671853, | |
| "sha256": "8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5" | |
| }, | |
| { | |
| "path": "model-00001-of-00003.safetensors", | |
| "bytes": 3957900840, | |
| "sha256": "328a91d3122359d5547f9d79521205bc0a46e1f79a792dfe650e99fc2d651223" | |
| }, | |
| { | |
| "path": "model-00002-of-00003.safetensors", | |
| "bytes": 3987450520, | |
| "sha256": "6cd087b316306a68c562436b5492edbcf6e16c6dba3a1308279caa5a58e21ca5" | |
| }, | |
| { | |
| "path": "model-00003-of-00003.safetensors", | |
| "bytes": 99630640, | |
| "sha256": "e4bf436957184f4eeb86a80e9db394503f1f56446b2e6b7edeac5b81470f4ca1" | |
| }, | |
| { | |
| "path": "model.safetensors.index.json", | |
| "bytes": 32819, | |
| "sha256": "6dc0981b8829fead746441f68f38f24c5ca4a3a66351f652c26c6df0efc43ab2" | |
| }, | |
| { | |
| "path": "tokenizer.json", | |
| "bytes": 11422654, | |
| "sha256": "aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4" | |
| }, | |
| { | |
| "path": "tokenizer_config.json", | |
| "bytes": 9732, | |
| "sha256": "d5d09f07b48c3086c508b30d1c9114bd1189145b74e982a265350c923acd8101" | |
| }, | |
| { | |
| "path": "vocab.json", | |
| "bytes": 2776833, | |
| "sha256": "ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910" | |
| } | |
| ] | |
| }, | |
| "merge": { | |
| "dtype": "bfloat16", | |
| "safe_merge": true, | |
| "safe_serialization": true | |
| } | |
| } | |