Text Generation
Transformers
Safetensors
qwen3
gazal-r1
grpo
conversational
medical
clinical
healthcare
reasoning
text-generation-inference
Instructions to use TachyHealth/Gazal-R1-32B-GRPO-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TachyHealth/Gazal-R1-32B-GRPO-preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TachyHealth/Gazal-R1-32B-GRPO-preview") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("TachyHealth/Gazal-R1-32B-GRPO-preview") model = AutoModelForCausalLM.from_pretrained("TachyHealth/Gazal-R1-32B-GRPO-preview", 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TachyHealth/Gazal-R1-32B-GRPO-preview with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TachyHealth/Gazal-R1-32B-GRPO-preview" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TachyHealth/Gazal-R1-32B-GRPO-preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/TachyHealth/Gazal-R1-32B-GRPO-preview
- SGLang
How to use TachyHealth/Gazal-R1-32B-GRPO-preview 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 "TachyHealth/Gazal-R1-32B-GRPO-preview" \ --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": "TachyHealth/Gazal-R1-32B-GRPO-preview", "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 "TachyHealth/Gazal-R1-32B-GRPO-preview" \ --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": "TachyHealth/Gazal-R1-32B-GRPO-preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use TachyHealth/Gazal-R1-32B-GRPO-preview with Docker Model Runner:
docker model run hf.co/TachyHealth/Gazal-R1-32B-GRPO-preview
Commit History
-
Add Hugging Face paper link for improved discoverability (#1)
Verified signature- Add Hugging Face paper link for improved discoverability (625f272dc4462b321188ca7d446fd12015dcb330) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>4d550d7
-
Update README.md
Verified signaturead5778a
-
Update README.md
Verified signatured36939d -
Add logo
Verified signature1e5e41b -
Update README.md
Verified signature76ba9ea -
Update README.md
Verified signature7f6e762 -
Create README.md
Verified signature2ad4762
-
Training in progress, step 469
Verified signaturef386c1a
-
Training in progress, step 1175
Verified signature83aa408
-
Training in progress, step 940
Verified signaturebcc7dee -
Training in progress, step 705
Verified signature74df4b3 -
Training in progress, step 470
Verified signature4d3a0bb
-
Training in progress, step 235
Verified signature058288b
-
Training in progress, step 470
Verified signature86032f9
-
Training in progress, step 441
Verified signature6fefa4d -
Training in progress, step 294
Verified signature8472b46 -
Training in progress, step 147
Verified signaturef9053a2
-
Training in progress, step 587
Verified signature1334922
-
Training in progress, step 120
Verified signaturebcea138 -
Training in progress, step 90
Verified signatured5b5ddd -
Training in progress, step 60
Verified signature3743884 -
Training in progress, step 30
Verified signaturedb705f8 -
Training in progress, step 30
Verified signature2c87f97
-
Training in progress, step 18
Verified signature178c2cc -
Training in progress, step 72
Verified signatured632f21 -
Training in progress, step 36
Verified signature0dd563a
-
initial commit
Verified signature9678914