Text Generation
Transformers
Safetensors
qwen2
Generated from Trainer
open-r1
dapo
trl
conversational
text-generation-inference
Instructions to use kangdawei/MMR-Sigmoid-DAPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kangdawei/MMR-Sigmoid-DAPO with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="kangdawei/MMR-Sigmoid-DAPO") 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/MMR-Sigmoid-DAPO") model = AutoModelForCausalLM.from_pretrained("kangdawei/MMR-Sigmoid-DAPO", 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/MMR-Sigmoid-DAPO with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kangdawei/MMR-Sigmoid-DAPO" # 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/MMR-Sigmoid-DAPO", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kangdawei/MMR-Sigmoid-DAPO
- SGLang
How to use kangdawei/MMR-Sigmoid-DAPO 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/MMR-Sigmoid-DAPO" \ --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/MMR-Sigmoid-DAPO", "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/MMR-Sigmoid-DAPO" \ --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/MMR-Sigmoid-DAPO", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use kangdawei/MMR-Sigmoid-DAPO with Docker Model Runner:
docker model run hf.co/kangdawei/MMR-Sigmoid-DAPO
Commit History
-
End of training
Verified signature5da64fd -
Model save
Verified signature6e75472 -
Training in progress, step 500
Verified signature189e51a -
Training in progress, step 450
Verified signature7b26c1c -
Training in progress, step 400
Verified signature89c1543 -
Training in progress, step 350
Verified signature0632597 -
Training in progress, step 300
Verified signaturef19cf0f -
Training in progress, step 250
Verified signature3425b52 -
Training in progress, step 200
Verified signature98fdfc9 -
Training in progress, step 150
Verified signatured4aabaf -
Training in progress, step 100
Verified signature8f11be7
-
Training in progress, step 50
Verified signatureb7b4a12
-
Training in progress, step 320
Verified signatured70b628 -
Training in progress, step 310
Verified signature5d9e514 -
Training in progress, step 300
Verified signature4c74482 -
Training in progress, step 290
Verified signatured1067cc -
Training in progress, step 280
Verified signature05b6106 -
Training in progress, step 270
Verified signature3dd9983 -
Training in progress, step 260
Verified signature71c82f3 -
Training in progress, step 250
Verified signature3cd00b8 -
Training in progress, step 240
Verified signaturea02dfcd -
Training in progress, step 230
Verified signature2b56d3a -
Training in progress, step 220
Verified signaturee722d87 -
Training in progress, step 210
Verified signaturedeac8b3
-
End of training
Verified signature17b72b2 -
Model save
Verified signature465842c -
Training in progress, step 200
Verified signature12275e8
-
Training in progress, step 190
Verified signaturef83d0f1 -
Training in progress, step 180
Verified signatureceef96c -
Training in progress, step 170
Verified signature110fed2 -
Training in progress, step 160
Verified signature3125505 -
Training in progress, step 150
Verified signature39f7256 -
Training in progress, step 140
Verified signature25e5e52 -
Training in progress, step 130
Verified signature32cb0cc -
Training in progress, step 120
Verified signature8fcfb20 -
Training in progress, step 110
Verified signature66c90a6 -
Training in progress, step 100
Verified signature430e006 -
Training in progress, step 90
Verified signatured5fa436 -
Training in progress, step 80
Verified signature3424513 -
Training in progress, step 70
Verified signature0ae19af -
Training in progress, step 60
Verified signature2f4bb35 -
Training in progress, step 50
Verified signature105e4cb -
Training in progress, step 40
Verified signaturef3ad7fd -
Training in progress, step 30
Verified signaturef4dee71 -
Training in progress, step 20
Verified signature6311804 -
Training in progress, step 10
Verified signatured8927fc -
initial commit
Verified signature0b422a3