Text Generation
Transformers
Safetensors
qwen2
Generated from Trainer
open-r1
dapo
trl
conversational
text-generation-inference
Instructions to use kangdawei/DAPO-No-DS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kangdawei/DAPO-No-DS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="kangdawei/DAPO-No-DS") 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("kangdawei/DAPO-No-DS") model = AutoModelForCausalLM.from_pretrained("kangdawei/DAPO-No-DS", 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 kangdawei/DAPO-No-DS with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kangdawei/DAPO-No-DS" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kangdawei/DAPO-No-DS", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kangdawei/DAPO-No-DS
- SGLang
How to use kangdawei/DAPO-No-DS 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 "kangdawei/DAPO-No-DS" \ --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": "kangdawei/DAPO-No-DS", "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 "kangdawei/DAPO-No-DS" \ --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": "kangdawei/DAPO-No-DS", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use kangdawei/DAPO-No-DS with Docker Model Runner:
docker model run hf.co/kangdawei/DAPO-No-DS
Commit History
-
End of training
Verified signature6fe69c8 -
Model save
Verified signature952d7dd -
Training in progress, step 200
Verified signaturef6b3874 -
Training in progress, step 190
Verified signature0d966db -
Training in progress, step 180
Verified signature3ee8058 -
Training in progress, step 170
Verified signature89a8a3a -
Training in progress, step 160
Verified signature78bcabb -
Training in progress, step 150
Verified signature57c0335 -
Training in progress, step 140
Verified signature3287290
-
Training in progress, step 130
Verified signature1b5d5bf -
Training in progress, step 120
Verified signatured089787 -
Training in progress, step 110
Verified signatureffafedb -
Training in progress, step 100
Verified signaturec857597 -
Training in progress, step 90
Verified signatureaff3e5a -
Training in progress, step 80
Verified signature2fbabd3 -
Training in progress, step 70
Verified signaturec8fd105 -
Training in progress, step 60
Verified signature3d14248 -
Training in progress, step 50
Verified signatureddc818a -
Training in progress, step 40
Verified signature20ce589 -
Training in progress, step 30
Verified signature97ed7ba -
Training in progress, step 20
Verified signaturec5cda0d -
Training in progress, step 10
Verified signature602a1eb
-
End of training
Verified signature34124f7 -
Model save
Verified signaturecae0265 -
Training in progress, step 100
Verified signaturea2ca460 -
Training in progress, step 90
Verified signature451a0b0 -
Training in progress, step 80
Verified signaturee80e8e3 -
Training in progress, step 70
Verified signatureb676b44 -
Training in progress, step 60
Verified signature374f099 -
Training in progress, step 40
Verified signature33b7951 -
Training in progress, step 30
Verified signaturef1ef5a8 -
Training in progress, step 20
Verified signature2ff40f9 -
Training in progress, step 10
Verified signature411a957
-
End of training
Verified signature36efde9 -
Model save
Verified signature26de4c2 -
Training in progress, step 500
Verified signature20cf9d0 -
Training in progress, step 450
Verified signaturef732fb2 -
Training in progress, step 400
Verified signature5068c5a -
Training in progress, step 350
Verified signatured0fa5c1 -
Training in progress, step 300
Verified signature810c174 -
Training in progress, step 250
Verified signatureaa42b15 -
Training in progress, step 200
Verified signatureb70550c -
Training in progress, step 150
Verified signatureddf9b1a -
Training in progress, step 100
Verified signatureb8fd21b -
Training in progress, step 50
Verified signaturee18afb2
-
initial commit
Verified signature43819ab