Instructions to use varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoProcessor, AutoModelForCausalLM processor = AutoProcessor.from_pretrained("varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm") model = AutoModelForCausalLM.from_pretrained("varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm
- SGLang
How to use varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm 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 "varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm" \ --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": "varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm", "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 "varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm" \ --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": "varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm with Docker Model Runner:
docker model run hf.co/varadsrivastava/lm-playschool-qwen3.5-2b-sft-dpo-vllm
R2 (config variant for vLLM)
Part of a five-regime developmental sweep of post-training methods for dialogue-game competence (LM Playschool Challenge 2026, team DAIR).
Not a separate model. These are the same merged weights as
lm-playschool-qwen3.5-2b-sft-dpo
(R2), republished with a composite (vision-language) config.json so that
vLLM will load them. At the time of our experiments, vLLM's Qwen3.5
integration expected the composite config while transformers writes a
text-only one; neither could read the other's schema. Use this repo only if
you need vLLM; use the R2 repo for transformers. Scores are those of R2.
All numbers are clemscore / statscore on the playpen validation split,
measured in a single frozen environment (Python 3.11, clemcore pinned via
playpen, clembench pinned requirements) with two upstream fixes applied:
a division-by-zero guard in the privateshared Game Master and the
punkt_tab NLTK resource for the IFEval scorer. Earlier revisions of this
card reported numbers from an unpinned environment; see the paper for the
environment-sensitivity analysis.
Checkpoint family (LM Playschool challenge, team DAIR)
| Regime | Repo | clem | stat |
|---|---|---|---|
| R1 imitation (SFT) | lm-playschool-qwen3.5-2b-sft |
55.61 | 43.87 |
| R2 outcome contrast (DPO) | lm-playschool-qwen3.5-2b-sft-dpo |
67.39 | 44.72 |
| R3 self-imitation (SFT) | lm-playschool-qwen3.5-2b-iter3 |
61.06 | 44.01 |
| R4 corrective feedback (DPO) | lm-playschool-qwen3.5-2b-iter4 |
67.64 | 44.31 |
| R5 GRPO (control) | lm-playschool-qwen3.5-2b-grpo-base-s42 |
62.43 | 44.19 |
| R5 GRPO + RND | lm-playschool-qwen3.5-2b-grpo-rnd-s42 |
67.44 | 43.53 |
Base model: Qwen3.5-2B (13.63 / 44.22 in the same environment). Paper: Raising a Small Language Model: From Imitation to Curiosity in Dialogue Games (LM Playschool Challenge 2026).
- Downloads last month
- 377