Text Generation
Transformers
Safetensors
English
qwen3
text-generation-inference
unsloth
conversational
Instructions to use koutch/qwenb_2.json_train_grpo_v1_train_code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use koutch/qwenb_2.json_train_grpo_v1_train_code with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="koutch/qwenb_2.json_train_grpo_v1_train_code") 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("koutch/qwenb_2.json_train_grpo_v1_train_code") model = AutoModelForCausalLM.from_pretrained("koutch/qwenb_2.json_train_grpo_v1_train_code", 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 koutch/qwenb_2.json_train_grpo_v1_train_code with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "koutch/qwenb_2.json_train_grpo_v1_train_code" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "koutch/qwenb_2.json_train_grpo_v1_train_code", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/koutch/qwenb_2.json_train_grpo_v1_train_code
- SGLang
How to use koutch/qwenb_2.json_train_grpo_v1_train_code 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 "koutch/qwenb_2.json_train_grpo_v1_train_code" \ --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": "koutch/qwenb_2.json_train_grpo_v1_train_code", "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 "koutch/qwenb_2.json_train_grpo_v1_train_code" \ --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": "koutch/qwenb_2.json_train_grpo_v1_train_code", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use koutch/qwenb_2.json_train_grpo_v1_train_code with Docker Model Runner:
docker model run hf.co/koutch/qwenb_2.json_train_grpo_v1_train_code
Commit History
-
(Trained with Unsloth)
Verified signatureebd0eae -
(Trained with Unsloth)
Verified signatureff0fcf3 -
(Trained with Unsloth)
Verified signaturef017750 -
(Trained with Unsloth)
Verified signaturede5bf8f
-
(Trained with Unsloth)
Verified signaturea6f6f4b -
(Trained with Unsloth)
Verified signature5e3ea09 -
(Trained with Unsloth)
Verified signature8952a4e -
(Trained with Unsloth)
Verified signature47efecb -
(Trained with Unsloth)
Verified signature3d349a4 -
(Trained with Unsloth)
Verified signature3141b5c -
(Trained with Unsloth)
Verified signature4a0bd4f -
(Trained with Unsloth)
Verified signaturedf7b7cb
-
(Trained with Unsloth)
Verified signature371a178 -
(Trained with Unsloth)
Verified signature1fe57b0 -
(Trained with Unsloth)
Verified signature3906f71 -
(Trained with Unsloth)
Verified signaturec39c728 -
(Trained with Unsloth)
Verified signature7ee7c56 -
(Trained with Unsloth)
Verified signaturec6b79ec -
(Trained with Unsloth)
Verified signature6cb15d9 -
(Trained with Unsloth)
Verified signature5433f67
-
(Trained with Unsloth)
Verified signature9530292 -
(Trained with Unsloth)
Verified signatureeeb637d -
(Trained with Unsloth)
Verified signaturef16c5c4 -
(Trained with Unsloth)
Verified signature523a09f -
(Trained with Unsloth)
Verified signature598b57d -
(Trained with Unsloth)
Verified signaturefc7cf01 -
Unsloth Model Card
Verified signaturec9902e9 -
initial commit
Verified signatureed3a27e